Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* socket still listening after process crashes
@ 1996-06-25  4:00 ccrlphr
  1996-06-27  4:00 ` Steffen Ullrich
  0 siblings, 1 reply; 2+ messages in thread
From: ccrlphr @ 1996-06-25  4:00 UTC (permalink / 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/



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-06-27  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-25  4:00 socket still listening after process crashes ccrlphr
1996-06-27  4:00 ` Steffen Ullrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox