我得到我的网站间歇性的问题。 页面经常以巨大的加载时间挂起,有时无法加载。
httpd错误日志包含以下内容:
[Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5871 for worker proxy:reverse [Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 5871 for (*) [Wed Feb 23 06:54:24 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5872 for worker proxy:reverse [Wed Feb 23 06:54:24 2011] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized [Wed Feb 23 06:54:24 2011] [debug] proxy_util.c(1967): proxy: initialized single connection worker 0 in child 5872 for (*) [Wed Feb 23 06:59:15 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5954 for worker proxy:reverse [Wed Feb 23 06:59:15 2011] [debug] proxy_util.c(1873): proxy: worker proxy:reverse already initialized
服务器目前运行800MB空闲内存,所以不是由于内存不足造成的。 目前httpd procceses的数量是11.这个确实增加了,因为错误依然存在,并且可能上升到25+。 另外,我正在运行Apache / 2.2.3(CentOS)。
任何build议将不胜感激。
非常感谢,
克里斯。
编辑
访问日志: http : //pastebin.com/vRSwdhuP
httpd.conf: http : //pastebin.com/effKp0ih
另请注意,只有刷新页面时才会出现此错误。
没有足够的信息来给出任何明智的猜测,但这里有几件事你可以看看或尝试:
ab -kc 10 -t 30 http://yourserver.com/somepage.php如果服务器上的网页加载速度很快,那么问题是networking相关的。 [error]标题string。 您还可以检查其他错误/系统日志中的相关消息(例如/ var / log / messages)。 不太清楚导致错误的原因。 最后,我不得不完全重新configuration我的服务器。 点头好!
无论如何,谢谢你的回应。
克里斯。