Build notes and Tuning tips for Solaris
lighttpd seems to be increasingly popular, so much so that netcraft has started tracking it's use on production websites. I've spent some time building, tuning and running simple performance stress tests on lighttpd 1.4.15 on Solaris and thought I'd share what I learnt.
My build of lighttpd uses the openldap library from Cool Stack. I also built and installed pcre-7.1 in /opt/coolstack using the following script :
CFLAGS="-fast -xipo -xtarget=generic"
./configure --prefix=$INSTALLDIR CFLAGS="$CFLAGS"