max-worker 我一般設置為與處理器數目相同。
max-fds 最大連接數
server.max-worker = 24 server.max-fds = 4096
通過cronolog切割日誌
#### accesslog module #accesslog.filename = "/www/logs/lighttpd.access.log" accesslog.filename = "| /usr/local/sbin/cronolog /www/logs/%Y/%m/%d/access.log"
disable etags
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) static-file.etags = "disable"