From owner-freebsd-net@FreeBSD.ORG Wed May 26 23:33:59 2010 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 0853D1065670 for ; Wed, 26 May 2010 23:33:59 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D4B88FC13 for ; Wed, 26 May 2010 23:33:58 +0000 (UTC) Received: by wwe15 with SMTP id 15so1379759wwe.13 for ; Wed, 26 May 2010 16:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=kF00L0ohIhFTFTJ+FtuBAjGROssBWMGLC7lG3VksHPE=; b=VlBatkFDwZyK2LJT6cx7FRzWBkyNq4MtfecIxxJXviqlYLMUsv0KJ/hCrjku9N9Lkf KzCJ1vra/QhRnZi5V6D8RAAZCO7AhrD82tGBR3DO4gLYYOaR6lSU8WeVR+f6Ygf6qbkm 9KDmnAGTqAomb7cAJRSwoTdWaGJGAxsnNs1aw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Mr4Zmevfmtqs+So/on3pgPPIZY/cuN53SfstZLL+8pN/vksbURLudcSSR+Vp5i2Dym 5e9aHifjDPNBqX52i0LooUAwGbXt7F6P/alSoJZ/xShuhHGuqmZ3FFi+AUEzCabTQs0U 4AAEO4X+gN/JUVcJctDKl0dZ0HQ2dAcmWQ8QM= MIME-Version: 1.0 Received: by 10.227.127.129 with SMTP id g1mr578416wbs.180.1274914958259; Wed, 26 May 2010 16:02:38 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.227.142.67 with HTTP; Wed, 26 May 2010 16:02:38 -0700 (PDT) In-Reply-To: References: <201005232206.o4NM6gor016873@freefall.freebsd.org> Date: Thu, 27 May 2010 01:02:38 +0200 X-Google-Sender-Auth: oVRVeUCDE2D-rMSJEd_BaomwyKA Message-ID: From: "K. Macy" To: Brandon Gooch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Kurt Jaeger , Kip Macy Subject: Re: kern/146792: [flowtable] flowcleaner 100% cpu's core load 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: Wed, 26 May 2010 23:33:59 -0000 This has since been fixed. However, with 8.0 the simplest fix is to turn flowtable off. sysctl net.inet.flowtable.enable=3D0 -Kip On Mon, May 24, 2010 at 4:54 AM, Brandon Gooch wrote: > On Sun, May 23, 2010 at 5:06 PM, Kurt Jaeger wrote: >> The following reply was made to PR kern/146792; it has been noted by GNA= TS. >> >> From: Kurt Jaeger >> To: bug-followup@FreeBSD.org, niko@gtelecom.ru >> Cc: >> Subject: Re: kern/146792: [flowtable] flowcleaner 100% cpu's core load >> Date: Sun, 23 May 2010 16:19:25 +0200 >> >> =A0Hi! >> >> =A0I observe a similar behaviour on a 8.0-RELEASE-p2 i386 GENERIC >> =A0kernel. >> >> =A0System receives 2 BGP4 fullfeeds (approx. 310K routes each). >> >> =A0The system is still running, a few processes are unkillable or >> =A0die only after a long amount (1-2h) of time. >> >> =A0Here's the list of unkillable processes: >> >> =A080871 =A0?? =A0R =A0 =A0 =A00:00.00 /bin/sh /etc/periodic/daily/470.s= tatus-named >> =A076499 =A0?? =A0Rs =A0 =A0 0:00.01 sshd: [accepted] (sshd) >> =A076922 =A0?? =A0Rs =A0 =A0 0:00.01 sshd: [accepted] (sshd) >> >> =A0flowcleaner looks pretty busy (for an uptime of approx. 40h): >> >> =A0 =A022 =A0?? =A0RL =A0 1209:50.98 [flowcleaner] >> >> =A04:17PM =A0up 1 day, 22:22, 2 users, load averages: 7.20, 6.53, 5.81 >> >> =A0quagga is running on the system, bgpd mgmt cli is no longer reachable= : >> >> =A0# telnet 0 2605 >> =A0Trying 0.0.0.0... >> =A0Connected to 0. >> =A0Escape character is '^]'. >> >> =A0^] >> =A0telnet> close >> =A0Connection closed. >> =A0# >> >> =A0What can I do to help to debug this ? >> =A0No console access available right now, but can probably made availabl= e. >> >> =A0This is a production host, but not yet super-critical, so... > > I know absolutely nothing about quagga, and very, very little about > the flowcleaner process (or flowtable, no man page), but I DO KNOW > that Kip Macy suggested disabling: > > options FLOWTABLE > > from the kernel config of the machine experiencing the issue. This was > back in December 2009, so I'm not sure about a resolution to the > actual problem (or if it is just inherent in the design of the per-cpu > routing cache). > > Perhaps Kip may have more insight? > > -Brandon > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >