Date: Wed, 25 Jun 2003 13:56:30 +0400 (MSD) From: Varshavchick Alexander <alex@metrocom.ru> To: Terry Lambert <tlambert2@mindspring.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to delete unix socket entries Message-ID: <Pine.GSO.4.33.0306251351400.27984-100000@apache.metrocom.ru> In-Reply-To: <3EF96FFF.84BF6C1C@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Jun 2003, Terry Lambert wrote: > Sockets have to be explicitly closed. They are generally > closed automatically by exit(), which will close all the fd's > a process has open. > > I agree with the previous poster, that it looks like a bug you > will need to fix or workaround. > > It looks like what's happened is that you have a deadly embrace > deadlock, where you've sent data both ways and then exited. > One thing to try might be to either turn off keepalive via > sysctl, or explicitly disable keepalive on the sockets, first > thing after opening them. > > -- Terry > Terry, you're right that all this happened because of the server application core dumped while in the process of sending/receiving data, and that application is fixed so there are no new zombi sockets, but what can I do now with the ones which already exist? How can I delete them now? ---- Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.33.0306251351400.27984-100000>