Lighttpd

From Alessandro's Wiki
Revision as of 18:58, 28 July 2011 by Porcelinux (talk | contribs)


core

Keep-Alive

Disabling keep-alive might help your server if you suffer from a large number of open file descriptors.

  • defaults:
server.max-keep-alive-requests = 128
server.max-keep-alive-idle = 30
server.max-read-idle = 60
server.max-write-idle = 360
  • less...
server.max-keep-alive-requests = 8
server.max-keep-alive-idle = 8
  • Disabling keep-alive
server.max-keep-alive-requests = 0


modules

x264-streaming

aio-sendfile

./configure --with-openssl --with-linux-aio
  • in lighttpd.conf
server.network-backend = "linux-aio-sendfile"