I have website with 250000 Unique visitor per day with 2000 active online user and site are on dedicated server. everything is fine but right now i noticed there are sudden CPU usage increase By httpd [i seen using TOP -c] and after few minutes load come to down. so i want to know how can i fix this issue. My regular load is 0.50 and when sudden load come its 2.5 OR 3.5 OR more.
Server : Apache 2.2.22
Timeout 30 StartServers 12 MinSpareServers 12 MaxSpareServers 16 ServerLimit 1024 MaxClients 1024 MaxRequestsPerChild 20000 KeepAlive Off KeepAliveTimeout 5 MaxKeepAliveRequests 50
SERVER CPU: Intel Xeon E3-1265L [8 Threads]
My website on WordPress and using customized theme.
So please let me know how can i resolve this issue.
I just check there are lots of TIME_WAIT connections.
I'm using the following command to check netstat -tan |grep :80|grep TIME_WAIT |wc -l
Result = 4551
Is this normal?