From owner-freebsd-net@FreeBSD.ORG Thu May 24 21:05:59 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 89D1E16A469; Thu, 24 May 2007 21:05:59 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE4513C457; Thu, 24 May 2007 21:05:59 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l4OKqXE9055127; Thu, 24 May 2007 13:52:33 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l4OKqX1Q055126; Thu, 24 May 2007 13:52:33 -0700 (PDT) (envelope-from rizzo) Date: Thu, 24 May 2007 13:52:33 -0700 From: Luigi Rizzo To: Andre Oppermann Message-ID: <20070524135233.D54579@xorpc.icir.org> References: <20070524182545.GF89017@FreeBSD.org> <4655EEAD.2060307@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4655EEAD.2060307@freebsd.org>; from andre@freebsd.org on Thu, May 24, 2007 at 09:59:41PM +0200 Cc: 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: Thu, 24 May 2007 21:05:59 -0000 On Thu, May 24, 2007 at 09:59:41PM +0200, Andre Oppermann wrote: > Gleb Smirnoff wrote: > > Yesterday two of our web servers running 6.2-PRERELEASE experienced > > problems with accepting TCP connections. A small percentage of SYN > > packets was ignored. The packets were seen in tcpdump output, but not > > processed by TCP stack. No accept queue overflows occured, according > > to 'netstat -sp tcp'. > > > > Failing to find any clue I have rebooted one of them, and after > > reboot is started to work flawlessly. Reboot also helped the second > > one. Both servers were booted at the same time - 124 days ago. > > > > Any ideas, any similar reports? > > ticks is a 32 bit signed integer and TCP isn't really aware of it > going negative and rolling over. This is something I'm working on > fixing in -current. Haven't analyzed all potential cases there yet. by chance, is your 'hz' set to 200 ? this might explay something, because 2^31/(86400*200) = 124.275 cheers luigi