Date: Mon, 19 Jul 2010 18:20:52 +0400 From: Anonymous <swell.k@gmail.com> To: Jim <stapleton.41@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: sockets stuck in use Message-ID: <86r5izft8b.fsf@gmail.com> In-Reply-To: <AANLkTinsL3oGBdO7dqv0Iwamlpp89lzwUcJFgspPLhFq@mail.gmail.com> (Jim's message of "Mon, 19 Jul 2010 04:12:02 -0400") References: <AANLkTinsL3oGBdO7dqv0Iwamlpp89lzwUcJFgspPLhFq@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jim <stapleton.41@gmail.com> writes: > I was working on an application I've been developing, and I closed the > last instance a bit over 12 hours ago, but some of the sockets are > still stuck in use: > [sjss@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612 > tcp4 0 0 192.168.1.80.42464 192.168.1.2.9612 SYN_SENT > tcp4 0 0 192.168.1.80.35742 192.168.1.2.9612 CLOSED > tcp4 0 0 192.168.1.80.46116 192.168.1.2.9612 CLOSED > tcp4 0 0 192.168.1.80.36792 192.168.1.2.9612 CLOSED > > > Is there any way to get rid of them without restarting the machine? I > was playing with sockopt SO_KEEPALIVE and SO_LINGER when I caused this > issue.. Does tcpdrop(8) help?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r5izft8b.fsf>