blog posts

lighttpd出现500错误请关闭xcache,关闭fastCGI

虽然kloxo默认没有开启xcache,不过有时候不小心点上了,就不知不觉的开启了xcache。如果开启了xcache,lighttpd出现500错误请关闭xcache试一试。

如果还不行,再关闭fastcgi试一试。

还不行,也可以尝试多增加几个lighttpd进程方法:在LIGHTTPD.CONF里面添加:

server.max-worker = 6

# max-connections == max-fds/2 (maybe /3)
server.max-connections = 1024
server.max-fds = 2048

#Maximum number of seconds until an idling keep-alive connection is dropped.
server.max-keep-alive-idle = 5
server.max-keep-alive-requests = 1000

Leave a Reply