Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 16:07:46 +0200
From:      Nikolay Denev <ndenev@gmail.com>
To:        grarpamp <grarpamp@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Stuck in FIN_WAIT_2
Message-ID:  <0F2031C9-3A37-4994-BBE7-869D9F975170@gmail.com>
In-Reply-To: <CAD2Ti2_=xHgSMrS0GT5_FBi2au75wxSRBe%2B22%2Buzh-6CB0-O8Q@mail.gmail.com>
References:  <CAD2Ti2_=xHgSMrS0GT5_FBi2au75wxSRBe%2B22%2Buzh-6CB0-O8Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 15, 2012, at 12:57 PM, grarpamp wrote:

> Hi. I've got 900-1000 connections stuck in FIN_WAIT_2.
> The processes behind them on both sides have long
> since exited. Anything I can do to clear them out
> short of reboot? The box is 4.11, so no tcpdrop to try.
> I suspect this may be starting to limit mbuf clusters.
> Not sure. The box is idle. If in this state the kernel sends
> packets, would ipfw reset rule clear it? No big deal.
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


Hi,

I'm not sure if 4.11 has the following sysctls, but you can try them if =
they exist :

net.inet.tcp.finwait2_timeout <-- lower this
net.inet.tcp.fast_finwait2_recycle <-- set this to 1

Regards,
Nikolay=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0F2031C9-3A37-4994-BBE7-869D9F975170>