From: ccrlphr@xensei.com
Subject: socket still listening after process crashes
Date: 1996/06/25 [thread overview]
Message-ID: <4qpeul$pn3@xensei3.xensei.com> (raw)
we realized the following weird behavior on DEC UNIX 3.2C:
1. an application creates a socket, binds it and put it into LISTEN mode.
2. the application accepts various connection
3. the application crashes (for instance using kill -BUS ..). after the
application dumped the core:
- netstat shows the socket still in LISTEN mode
- a connect request on this socket from a new client gets
accepted by the system
The sockets gets only deleted after ALL clients closed the connection.
This need to be done by hand because the clients do not realize that
the connection closed (if the system does not realize this you cannot
expect it from the clients).
I don't think that this is the way it should work, so my questions:
- is there a patch available and/or is this problem solved in DEC UNIX 4.0?
- is there a workaround? (SO_REUSEADDR does not help, SO_KEEPALIVE
checks only every 2..3 hours which is not fast enough)
--
Steffen Ullrich * ccrlphr@xensei.com * http://www.xensei.com/users/ccrlphr/
next reply other threads:[~1996-06-25 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-25 4:00 ccrlphr [this message]
1996-06-27 4:00 ` socket still listening after process crashes Steffen Ullrich
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox