apache and CLOSE_WAIT connections
I Googled for like 2 days without any results.If you can, please help.
I'm using Centos 6.3 64bit running Apache 2.2.15
Apache works fine, but it stops responding after a few minutes.
The cause for this is that the connections never close.
The connections will stay in a CLOSE_WAIT state.As soon as i restart apache it works again
until the MaxClients are reached and then it stops responding again.
netstat -plant |grep CLOSE_WAIT:
tcp 1 0 ::ffff:10.0.0.47:80 ::ffff:10.0.0.50:54140 CLOSE_WAIT 3498/httpd (Have like 600 of this)
Any idea what might cause this?
That's odd ... when I googled apache "close_wait" (notice the quotes), I encountered several very detailed postings, about various and distinctly-different possibilities, which for obvious reasons I won't repeat here. Which ones did you find so-far, and what was your conclusion so-far with each of them? Maybe what you're dealing with is somehow something different. Tell us also about whatever software besides Apache (if any) is serving these pages.
|All times are GMT -5. The time now is 10:35 PM.|