I'm running apache /2.2.3 (centos) on a pretty busy for a forum (vbulletin) and it seems to get hung up once in a while. I'm have extended status on so I can take a look at the server status and today I found once it was hung up: 3 requests currently being processed and 13 idle workers when I looked at the status listing I found about 300 of these: www.mysite.com OPTIONS * HTTP/1.0 but no ip address just ::1 on the line any ideas as to what's going on? thanks in advance. here are some basics: ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 600 KeepAlive On MaxKeepAliveRequests 50 KeepAliveTimeout 2 ProxyRequests Off StartServers 200 MinSpareServers 10 ServerLimit 1000 MaxClients 300 MaxRequestsPerChild 500 <IfModule prefork.c> #StartServers 8 StartServers 200 MinSpareServers 10 ServerLimit 1000 MaxClients 300 MaxRequestsPerChild 500 </IfModule> <IfModule worker.c> StartServers 200 MaxClients 1000 MinSpareServers 10 MinSpareThreads 10 MaxSpareThreads 200 ThreadsPerChild 100 MaxRequestsPerChild 0 </IfModule>
Hello there, You are going to have to look at the logs to find out what is causing the issue. It may be MySQL and not the web server itself. Regards, Chris
In my opinion, the prefork setting are incorrect. The configuration should be the following: StartServers 5 <IfModule prefork.c> MinSpareServers 5 MaxSpareServers 10 </IfModule> ServerLimit 256 MaxClients 256 MaxRequestsPerChild 10000 KeepAlive Off KeepAliveTimeout 5 MaxKeepAliveRequests 100
yes the prefork settings are way overkill And you need to drop the worker config. you need to use one or the other