UNIX domain socket hanging around when not closed

From: Jan Hudec (bulb@ucw.cz)
Date: Wed Aug 07 2002 - 10:32:51 EST


I have a (possibly stupid) question. Is it OK, that dentries created by
binding unix-domain sockets remain in filesystem?

What I do is create a unix socket in /tmp and wait for clients to
connect in. The program removes the socket dentry when it shuts down,
but it sometimes crashes and the socket remains there.

Is there some reason the socket should remain unless explicitely

                                                 Jan 'Bulb' Hudec <bulb@ucw.cz>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:36 EST