我的网站时不时会出现大约 500 个内部服务器错误,因此我查看了错误日志。
我正在使用安装了 Kloxo (lxadmin) 的 lighttpd。我已启用 xcache。
2011-04-14 04:57:05: (mod_cgi.c.588) cgi died, pid: 14160
2011-04-14 04:57:12: (mod_cgi.c.588) cgi died, pid: 15363
2011-04-14 04:57:19: (mod_cgi.c.588) cgi died, pid: 15492
2011-04-14 04:57:19: (mod_cgi.c.1287) cleaning up CGI: process died with signal 11
2011-04-14 04:57:28: (mod_cgi.c.588) cgi died, pid: 15846
2011-04-14 04:57:28: (mod_cgi.c.588) cgi died, pid: 15845
2011-04-14 04:57:28: (mod_cgi.c.588) cgi died, pid: 15849
2011-04-14 04:57:32: (mod_cgi.c.588) cgi died, pid: 15914
2011-04-14 04:58:07: (mod_cgi.c.588) cgi died, pid: 17758
2011-04-14 04:58:25: (mod_cgi.c.1287) cleaning up CGI: process died with signal 11
2011-04-14 04:59:57: (mod_cgi.c.588) cgi died, pid: 20103
2011-04-14 05:00:05: (mod_cgi.c.588) cgi died, pid: 20363
我的错误日志里全是这样的。有什么线索可以说明发生了什么吗?
答案1
从该日志得出的唯一可能结论是 CGI 正在死机。而且死机原因相当严重(信号 11 = 分段错误)。您应该查看 CGI 日志,看看能否进行调试并找出导致其死机如此严重的原因。