httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Re: [users@httpd] Help on Apache pause
Date Tue, 16 Sep 2008 14:28:36 GMT
On Tue, Sep 16, 2008 at 10:14 AM, Arnab Ganguly <> 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

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message