From owner-freebsd-net@FreeBSD.ORG Fri May 25 07:40:46 2007 Return-Path: X-Original-To: net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83A9C16A400; Fri, 25 May 2007 07:40:46 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.130]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD0013C448; Fri, 25 May 2007 07:40:45 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.1/8.14.1) with ESMTP id l4P7eiSN049727; Fri, 25 May 2007 11:40:44 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.1/8.14.1/Submit) id l4P7ehe3049726; Fri, 25 May 2007 11:40:43 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 25 May 2007 11:40:43 +0400 From: Gleb Smirnoff To: Luigi Rizzo Message-ID: <20070525074043.GH89017@glebius.int.ru> References: <20070524182545.GF89017@FreeBSD.org> <4655EEAD.2060307@freebsd.org> <20070524135233.D54579@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20070524135233.D54579@xorpc.icir.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Andre Oppermann , net@FreeBSD.org Subject: Re: TCP problems after 124 days of uptime? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 07:40:46 -0000 On Thu, May 24, 2007 at 01:52:33PM -0700, Luigi Rizzo wrote: L> On Thu, May 24, 2007 at 09:59:41PM +0200, Andre Oppermann wrote: L> > Gleb Smirnoff wrote: L> > > Yesterday two of our web servers running 6.2-PRERELEASE experienced L> > > problems with accepting TCP connections. A small percentage of SYN L> > > packets was ignored. The packets were seen in tcpdump output, but not L> > > processed by TCP stack. No accept queue overflows occured, according L> > > to 'netstat -sp tcp'. L> > > L> > > Failing to find any clue I have rebooted one of them, and after L> > > reboot is started to work flawlessly. Reboot also helped the second L> > > one. Both servers were booted at the same time - 124 days ago. L> > > L> > > Any ideas, any similar reports? L> > L> > ticks is a 32 bit signed integer and TCP isn't really aware of it L> > going negative and rolling over. This is something I'm working on L> > fixing in -current. Haven't analyzed all potential cases there yet. L> L> by chance, is your 'hz' set to 200 ? L> this might explay something, because 2^31/(86400*200) = 124.275 Nope. hz is default - 1000. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE