From owner-freebsd-net@FreeBSD.ORG Tue Feb 17 09:47:07 2009 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 8584F106568A for ; Tue, 17 Feb 2009 09:47:07 +0000 (UTC) (envelope-from vlad@prokk.net) Received: from smtp.prokk.net (smtp.prokk.net [195.16.77.5]) by mx1.freebsd.org (Postfix) with ESMTP id F34D78FC1A for ; Tue, 17 Feb 2009 09:47:06 +0000 (UTC) (envelope-from vlad@prokk.net) Received: from base (base.prokk.net [195.16.77.7]) by smtp.prokk.net (8.13.8/8.13.8) with ESMTP id n1H9I4D3070713; Tue, 17 Feb 2009 11:18:09 +0200 (EET) (envelope-from vlad@prokk.net) From: "Vladimir V. Kobal" To: References: In-Reply-To: Date: Tue, 17 Feb 2009 11:18:05 +0200 Organization: ProKK SE Message-ID: <000f01c990e0$a70c1230$f5243690$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcmNSOlqHRWIb0pWQWCvAs1QN5sbUQDk4KCA Content-Language: uk X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.prokk.net [195.16.77.5]); Tue, 17 Feb 2009 11:18:09 +0200 (EET) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on smtp.prokk.net X-Virus-Status: Clean Cc: 'Sergey Pronin' Subject: RE: Synopsis: process swi1:net gives 100% CPU usage. 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: Tue, 17 Feb 2009 09:47:07 -0000 I have the same problem with netgraph on 7.1-RELEASE, mpd 5.2, AMD Phenom. Dummynet, divert and pf are disabled in the kernel. While swi1:net (aka netgraph) is using 100% of CPU time m_tag_locate() and ng_iface_output() are constantly called from the infinite loop. Sergey, could you provide the content of mpd.conf and the output of "ngctl types". -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] On Behalf Of Sergey Pronin Sent: Thursday, February 12, 2009 9:07 PM To: freebsd-net@freebsd.org Subject: Synopsis: process swi1:net gives 100% CPU usage. Synopsis: process swi1:net gives 100% CPU usage. Not depending on the conditions (no heavy load, not a lot of traffic passing through, not a lot of ng nodes) server stops to work properly. 1) swi1:net gives me 100% CPU usage. 2) server is not responding to icmp echo requests 3) ssh of course not working 4) mpd has an "ngsock" state at the top 5) tasq of the em0 card using 0% of the cpu. 6) rebooting the server helps.