OpenVZ Forum


Home » Mailing lists » Users » apache2 stall in CLOSE_WAIT state
Re: apache2 stall in CLOSE_WAIT state [message #31339 is a reply to message #31296] Wed, 25 June 2008 09:34 Go to previous message
Yoann Moulin is currently offline  Yoann Moulin
Messages: 16
Registered: December 2007
Junior Member
Hi,

>> 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

thanks

Regards,

Yoann Moulin
 
Read Message
Read Message
Read Message
Previous Topic: Gentoo baselayout2 doesn't start inside container
Next Topic: Debian / Ubuntu add_ip.sh scripts give problems
Goto Forum:
  


Current Time: Wed Jun 25 13:52:37 GMT 2025

Total time taken to generate the page: 0.04097 seconds