CLOSE_WAIT not closing in Bind 9.2.0

D.M. hmprimerib at hotmail.com
Wed Jan 23 16:11:36 UTC 2002


> Solaris (at least solaris 7) will sometimes leave a socket in
> "CLOSE_WAIT" even after the socket is closed (and the program has
> terminated).  This times out after a little while --maybe around 4-5
> minutes.  When I have seen this, there is always some unsent data in
> the Send-Q.

We're running Solaris 8.  My experience shows nothing in the Send-Q:

   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q 
State
-------------------- -------------------- ----- ------ ----- ------
-------
192.168.10.2.domain  192.168.10.2.44440   32768      0 32768      0
CLOSE_WAIT
192.168.10.2.domain  192.168.10.2.44469   32768      0 32768      0
CLOSE_WAIT

Strangely, I can duplicate (create more of) the CLOSE_WAITs by
telnet-ing to our DNS servers VIP on port 53 and then '^]' escaping
out of it and close.  I do this and on the 9th time you'll be unable
to connect on 53 as the CLOSE_WAIT's make named unresponsive.

# Daryl


More information about the bind-users mailing list