UNIX domain socket hanging around when not closed

Jan Hudec (bulb@ucw.cz)
Wed, 7 Aug 2002 17:32:51 +0200


Hello,

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
removed?

-------------------------------------------------------------------------------
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/