Archive for November, 2011

re:publica 12 Widget

November 29th, 2011

Das re:publica-Widget, das ich für die re:publica XI erstellt habe, gibt es jetzt auch in einer Vari­ante für die kom­mende re:publica.

Die Datei gibt es hier zum her­un­ter­la­den: republica12-widget

Instal­la­tion:

  1. Datei her­un­ter­la­den und entpacken
  2. Das Ver­zeich­nis republica-widget in Dei­nen /wp-content/plugins-Order hoch­la­den
  3. Das Plu­gin in Word­Press aktivieren
  4. in der Widget-Übersicht das re:publica Wid­get in den pas­sen­den Side­bar zie­hen und das Ban­ner aus­wäh­len, das Du auf Dei­nem Blog zei­gen möchtest
  5. Fer­tig!

Also dann: Wir sehen uns in Berlin!

Installing apache, fastcgi & php-fpm on dragonflybsd

November 18th, 2011

We’re cur­rently in the pro­cess of tran­si­tio­ning our web ser­vers from NetBSD to Dra­gon­flyBSD; along with that, we’re also swit­ching our PHP plat­form to php-fpm. There are a few les­sons we lear­ned in the process.

First: At least on Dra­gon­flyBSD 2.10, apache2 does not at all per­form well as apache-mpm-worker. Swit­ching to apache-mpm-prefork chan­ged our CPU load from 98% of apa­che to about 3 – 5% of apache.

Also, php-fpm was deli­ve­r­ing too high a rate of 500 errors; this was not accep­ta­ble to our cust­o­mers. Inves­ti­ga­ti­ons into that lead me to the blog arti­cle at http://​alexca​bal​.com/​i​n​s​t​a​l​l​i​n​g​-​a​p​a​c​h​e​-​m​o​d​_​f​a​s​t​c​g​i​-​p​h​p​-​f​p​m​-​o​n​-​u​b​u​n​t​u​-​s​e​r​v​e​r​-​m​a​v​e​r​i​c​k​/​#​c​o​m​m​e​nts, which then sent me link-chasing to – ulti­mately – http://​arti​cle​.gmane​.org/​g​m​a​n​e​.​c​o​m​p​.​w​e​b​.​f​a​s​t​c​g​i​.​d​e​v​e​l​/​2​514. This means we now have a set of local patches to our pkgsrc tree that incor­po­rate the patch from this pos­ting. At first sight, this seems to have impro­ved the situation.