From owner-freebsd-net@FreeBSD.ORG Mon Aug 20 16:43:26 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8671B16A417 for ; Mon, 20 Aug 2007 16:43:26 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.231]) by mx1.freebsd.org (Postfix) with ESMTP id 4294913C45D for ; Mon, 20 Aug 2007 16:43:26 +0000 (UTC) (envelope-from sullrich@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so425371nzf for ; Mon, 20 Aug 2007 09:43:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hGLCs28shajFQ9CJOJ/tX3NWKoY85Mn0wk8wXxs+YMvBaDeqjdaY16MdmO/Gr2HF+2Q767bl0WtV3MZKubRROMc6ile9ASiL/oeXu79FUAVRHZrWKQYUcHEH3obPSCy71xa5wZmVBoH3z3KqgVVD+dsS0oIFSuoVKFwfUMaMeYA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kOuyqUxyRdwJVadQ1EaX7RjLu0d+21KThji97GZxRslPXcvkcfJ2LmaXQlrzEgKryBTLCE7qSrcI5DfMyOQn7m8b9HUFPuj9uiwMXN61M/LLooSo8HoSI4mD7gJKYZI1sRy66BgucvThFVI4wlqNCvos87pPlCbwF9LK2scG/Xc= Received: by 10.114.131.9 with SMTP id e9mr168708wad.1187628205067; Mon, 20 Aug 2007 09:43:25 -0700 (PDT) Received: by 10.114.76.7 with HTTP; Mon, 20 Aug 2007 09:43:25 -0700 (PDT) Message-ID: Date: Mon, 20 Aug 2007 12:43:25 -0400 From: "Scott Ullrich" To: "VANHULLEBUS Yvan" In-Reply-To: <20070820082728.GA28863@zen.inc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070818102803.GA1319@jayce.zen.inc> <20070820082728.GA28863@zen.inc> Cc: freebsd-net@freebsd.org Subject: Re: Racoon(ipsec-tools) enters sbwait state or 100% CPU utilization quite often on RELENG_1_2 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: Mon, 20 Aug 2007 16:43:26 -0000 On 8/20/07, VANHULLEBUS Yvan wrote: > I tracked down the problem a few years ago, on FreeBSD 4.11, with > KAME's IPSec stack. > > But the problem was not really in the stack itself, but rather in > socket processing (in other words: not in netkey/*, but in > kern/uipc_socket2.c). > > And as both IPSec stacks shares some PFKey constraints (for example > one message per entry when dumping SADB / SPD), I guess the same > problem existed in FAST_IPSEC. > > But when I had some time a few months ago to start filling a PR for > the problem, I had a look at FreeBSD6 source code, and I noticed that > sbspace macro (which was a quite important part of the problem) has > changed, and I didn't have the required setup to do the test again, so > I just can't be really sure the problem still exists... > > But the reported problem really has similar symptoms..... Thank you Yvan and George! The PR has been filed and the ID# is kern/115651 I have added some interesting notes that seem to affect NetBSD as well. We will be happy to work with anyone to get this solved and access to the machine in question is available if need be. Scott