--- On Wed, 9/3/08, Arnab Ganguly <[EMAIL PROTECTED]> wrote:
> From: Arnab Ganguly <[EMAIL PROTECTED]>
> Subject: Apache and CLOSE_WAIT state
> To: [email protected]
> Date: Wednesday, September 3, 2008, 12:44 AM
> Hi All,
> My Apache module hangs when I do a lsof -i:listening port
> output gives lots
> of CLOSE_WAIT.
> Initially the state comes out as ESTABLISHED but as the
> CLOSE_WAIT grows my
> server hangs.
> What would be procedure in order to prevent this.
> Apache Webserver version is 2.2.8 with MPM=worker and
> OS=Red-Hat Release 3.0
> Any help would be very much appreciated.
> Thanks and regards
> Arnab
There does seem to be close_wait issues. I've recently done
export CFLAGS=-DNO_LINGCLOSE before building so httpd won't use lingering_close.
There's also bug 36636 that may or may not be relevant to the issue.