Matrix
Everything that Has a Beginning Has an End
Browse: Home / 2010 / 3月 / lighttpd的优化

lighttpd的优化

By matrix on 2010/03/03

xrspook是个好筒子,这两天一直忙着优化blog。俺也跟着瞎忙一下吧。
以下内容参考官方优化参考

1.打开compress和expire模块

server.modules = (
...
"mod_compress",
"mod_expire",
...
)

2.优化参数

server.event-handler = "linux-sysepoll"
server.stat-cache-engine = "simple"
server.network-backend = "linux-sendfile"
server.max-keep-alive-requests = 4
server.max-keep-alive-idle=4
server.tag="Apache 2.4"
server.max-fds=2048

【完】

Posted in Linux | Tagged lighttpd, Linux

« Previous Next »

Copyright © 2023 Matrix.

Powered by WordPress and Hybrid.