From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 23 20:50:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE25710656CE for ; Mon, 23 Mar 2009 20:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B0B058FC23 for ; Mon, 23 Mar 2009 20:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NKo3Lh004096 for ; Mon, 23 Mar 2009 20:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2NKo33w004095; Mon, 23 Mar 2009 20:50:03 GMT (envelope-from gnats) Resent-Date: Mon, 23 Mar 2009 20:50:03 GMT Resent-Message-Id: <200903232050.n2NKo33w004095@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vladimir Kobal Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04CE81065670 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/132984: [netgraph] swi1: net 100% cpu usage X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 20:50:04 -0000 >Number: 132984 >Category: kern >Synopsis: [netgraph] swi1: net 100% cpu usage >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 23 20:50:03 UTC 2009 >Closed-Date: >Last-Modified: >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: >Unformatted: