Lighttpd by default can be slower than TUX. Why?
Because TUX runs inside Linux kernel and has the highest possible priority, while lighttpd is just ordinary userspace process. Solution? Make lighttpd not so nice:
nice -20 /opt/lighttpd/sbin/lighttpd ...
Lighttpd’s Adaptive Spawning users will immediately notice a problem: all processes spawned by lighttpd will also run with the highest priority. That’s not good, since any PHP or other FastCGI process will be able to slow down lighttpd. Solution is quite simple: to restore back niceness level before launching a child process. This can be achieved by lighttpd nice patch.
Any other ideas how this could be done?