From nobody@FreeBSD.org  Mon Mar 23 20:42:12 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 04CE81065670
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Mar 2009 20:42:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E55838FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Mar 2009 20:42:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NKgBZs071329
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 23 Mar 2009 20:42:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2NKgBAt071328;
	Mon, 23 Mar 2009 20:42:11 GMT
	(envelope-from nobody)
Message-Id: <200903232042.n2NKgBAt071328@www.freebsd.org>
Date: Mon, 23 Mar 2009 20:42:11 GMT
From: Vladimir Kobal <vlad@prokk.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [netgraph] swi1: net 100% cpu usage
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132984
>Category:       kern
>Synopsis:       [netgraph] swi1: net 100% cpu usage
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 23 20:50:03 UTC 2009
>Closed-Date:    Tue Jul 14 07:25:18 UTC 2009
>Last-Modified:  Tue Jul 14 07:25:18 UTC 2009
>Originator:     Vladimir Kobal
>Release:        7.1-STABLE
>Organization:
ProKK SE
>Environment:
FreeBSD test.prokk.net 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Feb 28 13:19:11 EET 2009     root@test.prokk.net:/usr/src/sys/amd64/compile/TEST  amd64
>Description:
The system is a NAS: mpd 5.2 (PPTP), SMP, em (pci-e) interfaces. Dummynet, divert and pf are disabled in the kernel. NAT and shaping aren't used.

Periodically (from 2 minutes up to 2 weeks) the system hangs with swi1: net 100% cpu usage.

While swi1: net (netgraph) is using 100% of CPU time m_tag_locate() and ng_iface_output() are constantly called from the infinite loop according to the hwpmc stats.

The problem's appearance rate doesn't depend on cpu/users/traffic load.

Related to http://lists.freebsd.org/pipermail/freebsd-net/2009-February/021120.html
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Mar 24 01:16:17 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132984 

From: Sergey Pronin <sepron@gmail.com>
To: bug-followup@FreeBSD.org, vlad@prokk.net
Cc:  
Subject: Re: kern/132984: [netgraph] swi1: net 100% cpu usage
Date: Tue, 31 Mar 2009 15:01:39 +0300

 --001636c5a72e353f32046668f6ec
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 This bug is also related to:
 http://lists.freebsd.org/pipermail/freebsd-net/2009-March/021345.html
 http://lists.freebsd.org/pipermail/freebsd-net/2009-March/021518.html
 
 I've experienced the same problem with:
 FreeBSD 7.1-RELEASE-p1 and p2
 FreeBSD 7.0-RELEASE-p9 and p10
 FreeBSD 6.4-RELEASE-p3
 
 --001636c5a72e353f32046668f6ec
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 This bug is also related to:<br><a href=3D"http://lists.freebsd.org/piperma=
 il/freebsd-net/2009-March/021345.html">http://lists.freebsd.org/pipermail/f=
 reebsd-net/2009-March/021345.html</a><br><a href=3D"http://lists.freebsd.or=
 g/pipermail/freebsd-net/2009-March/021518.html">http://lists.freebsd.org/pi=
 permail/freebsd-net/2009-March/021518.html</a><br>
 <br><pre style=3D"font-family: courier new,monospace;">I&#39;ve experienced=
  the same problem with:<br>FreeBSD 7.1-RELEASE-p1 and p2<br>FreeBSD 7.0-REL=
 EASE-p9 and p10<br>FreeBSD 6.4-RELEASE-p3<br></pre><br>
 
 --001636c5a72e353f32046668f6ec--

From: Sergey Pronin <sepron@gmail.com>
To: bug-followup@FreeBSD.org, vlad@prokk.net
Cc:  
Subject: Re: kern/132984: [netgraph] swi1: net 100% cpu usage
Date: Thu, 14 May 2009 18:39:35 +0400

 --000e0cd311a2045e870469e04ca6
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 This bug is still urgent for me. Was it solved?
 
 --000e0cd311a2045e870469e04ca6
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 This bug is still urgent for me. Was it solved?<br>
 
 --000e0cd311a2045e870469e04ca6--
State-Changed-From-To: open->closed 
State-Changed-By: mav 
State-Changed-When: Tue Jul 14 07:23:12 UTC 2009 
State-Changed-Why:  
This is probably duplicate of solved kern/134557. Fix committed 
to 8-CURRENT and merged to 7-STABLE on 2009-07-04. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132984 
>Unformatted:
