From owner-freebsd-stable@freebsd.org Thu Dec 3 15:24:32 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CD81A4009E for ; Thu, 3 Dec 2015 15:24:32 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D029F11D9 for ; Thu, 3 Dec 2015 15:24:31 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a4Vk6-000N9l-Oz for freebsd-stable@FreeBSD.org; Thu, 03 Dec 2015 18:24:22 +0300 Date: Thu, 3 Dec 2015 18:24:22 +0300 From: Slawa Olhovchenkov To: freebsd-stable@FreeBSD.org Subject: TCP regression between 288167 and 291456 Message-ID: <20151203152422.GB70867@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 15:24:32 -0000 After upgrading STABLE to r291456 I am see bunch of sockets in TIME_WAIT state. In normal situation I am expect about 30k-50k such sockets. Now I am see all of net.inet.tcp.maxtcptw (440k currently). Setting net.inet.tcp.msl to low value don't reduce this sockets. I am see socket in TIME_WAIT state during 30 minutes. Perhapsh in this state socket may be for ever