[Users] apache2 stall in CLOSE_WAIT state

Yoann Moulin ymo at adviseo.fr
Wed Jun 25 05:34:11 EDT 2008


>> I have a VE in production for a couple of months. HN and VE are running
>> Ubuntu Dapper 6.06.2 LTS
>>> vz01:~$ uname -a
>>> Linux vz01 2.6.18-028stab053 #1 SMP Tue May 27 15:40:07 CEST 2008 x86_64
>>> GNU/Linux vz01:~$ vzctl --version
>>> vzctl version 3.0.22
>> This VE is only used for http(s) services. Everything have worked well
>> until this week end where we got apache process stalled on CLOSE_WAIT
>> state and no more process are available to deliver pages
>> We get this in logs :
>>> server reached MaxClients setting, consider raising the MaxClients
>>> setting
> Any suspicious messages in dmesg? Please show output of the commands (in 
> apache's CT):
>   cat /proc/net/netstat
>   cat /proc/user_beancounters
>   netstat --tcp -nop

I have restarted the server as a VE, but I'm not able to reproduce that 
issue... if it occures again, I will get those informations

>> If I set MaxClients to a higher value, that is just delaying the moment
>> where apache fall in a stalled state.
> Maybe these articles can help you:
> http://www.usenet-forums.com/linux-web-servers/5368-need-help-server-reached-maxclients-setting.html
> https://issues.apache.org/bugzilla/show_bug.cgi?id=41252



Yoann Moulin

More information about the Users mailing list