Re: Help on Apache pause

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 16, 2008 at 10:14 AM, Arnab Ganguly <aganguly01@xxxxxxxxx> wrote:
> Hi All,
> Is there anyway to check Apache closing the sockets properly?
> I am getting lots of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a
> netstat -a, and result it is Apache pauses.It waits for sometime and again
> it comeback for processing.I did tried changing some of the TCP stack param
> tcp_keepalive_intvl,tcp_keepalive_probes
> ,net.ipv4.tcp_max_syn_backlog,net.ipv4.tcp_synack_retries,
> net.ipv4.tcp_fin_timeout but still the problem is reproducible.This happens
> under heavy load only.
> Any help would be very much appreciated.
> Thanks

CLOSE_WAIT means Apache doesn't know the client closed the connection
because it hasn't tried to read from it again.  You need to figure out
what your server is doing when it doesn't notice this, by looking at
backtraces of the running threads.  They're likely stuck in some kind
of handler.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux