Date: Fri, 4 May 2007 16:37:11 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: "Marc G. Fournier" <scrappy@freebsd.org> Cc: freebsd-stable@freebsd.org, Robert Watson <rwatson@freebsd.org> Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) Available"? Message-ID: <Pine.BSF.3.96.1070504162903.16876C-100000@gaia.nimnet.asn.au> In-Reply-To: <D2A2BB0F2857DF90BFC07305@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 May 2007, Marc G. Fournier wrote: > Robert had mentioned in one of his emails about a "Sockets can also exist > without any referencing process (if the application closes, but there is still > data draining on an open socket)." [..] > Again, if I'm reading / understanding things right, without the 'referencing > process', it won't show up in sockstat -u, which is why my netstat -nA numbers > keep growing, but sockstat -u numbers don't ... which also means that there is > no way to figure out what process / program is leaving 'dangling sockets'? :( Marc, I don't know if it may provide any more clues in this instance, but lsof -U also shows unix domain sockets with pid, command and fd. Cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1070504162903.16876C-100000>