Forum Moderators: phranque

Message Too Old, No Replies

close wait status

         

dec31

12:57 pm on Aug 28, 2012 (gmt 0)

10+ Year Member



Hi, I need your help on the following. The apache web server from time to time don't work. Service status is running but the site is inaccessible. In such a case I used netstat tools I always found some close_wait connections. I deleted httpd process that was close_wait status and the service work again.
Details:
Server version: Apache/2.2.4 (Win32)
Server built: Jan 9 2007 23:17:20
Server's Module Magic Number: 20051115:4
Server loaded: APR 1.2.8, APR-Util 1.2.8
Compiled using: APR 1.2.8, APR-Util 1.2.8
Architecture: 32-bit
Server MPM: WinNT

Timeout 90
KeepAlive Off
MaxKeepAliveRequests 1000
KeepAliveTimeout 2

Your advice is greatly appreciated, Thanks!
Sylvester

phranque

10:57 am on Sep 3, 2012 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, dec31!

usually the close_wait problem is caused by a programming error where one side of the TCP/IP connection doesn't issue the close() to complete the release of the socket.
i would try monitoring the increase of connnections displaying that status over time and see if that gives you any clues about the nature of the problem.