Date: Fri, 2 Oct 2009 19:38:24 +0400 From: Igor Sysoev <is@rambler-co.ru> To: freebsd-net@freebsd.org Subject: Re: stuck TIME_WAIT sockets Message-ID: <20091002153824.GD89571@rambler-co.ru> In-Reply-To: <20091002130646.GC89571@rambler-co.ru> References: <20091002130646.GC89571@rambler-co.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 02, 2009 at 05:06:46PM +0400, Igor Sysoev wrote: > The TIME_WAIT sockets suddenly started to grow on a host running > FreeBSD 7.2-STABLE, date=2009.09.06.23.59.59 > Usually there are 3,000-5,000 TIME_WAIT sockets on the host. > However, today they stared to grow, have reached 110,000 sockets in hour > and still remain on this level. > net.inet.tcp.msl is 30000. > The host uptime is 24 days, 21:53. > > I have saved a coredump and may try to help to debug the issue. There are also 10 stuck LAST_ACK sockets. "swi4: clock sio" is usually idle, however, if I run netstat -an | grep TIME_WAIT | wc -l then swi4 gets some CPU: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 1 171 ki31 0K 16K CPU1 1 112.0H 98.29% idle: cpu1 12 root 1 171 ki31 0K 16K RUN 0 116.8H 94.78% idle: cpu0 14 root 1 -32 - 0K 16K WAIT 0 13:11 1.66% swi4: clock 26 root 1 -68 - 0K 16K WAIT 0 334:11 0.00% irq19: bge0 -- Igor Sysoev http://sysoev.ru/en/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091002153824.GD89571>