View Single Post
Old 06-19-2009, 09:07 AM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
500 httpd (Apache) processes but only 161 connections in netstat?

Like the title says... I have ServerLimit set to 500 and I just noticed that my server has 500 httpd processes running... but netstat only shows 161 ACTUAL established connections.

Since it's hit the configure limit Apache will not accept any new connections, which basically kills off my sites.

Has anyone ever seen this happen before? I don't think it's a runaway script (scripts getting stuck in a loop then eventually being killed off by PHP) because the processes are not consuming a large amount of CPU... they're pretty much all at 0.00%

Everything else looks normal... 1500MB+ free RAM, 0.2% swap used. Nothing reported in the Apache or OS error logs.

Very weird.

Apache 2.2.11, php 5.2.9

Thanks for any hints/tips
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote