From owner-freebsd-net@freebsd.org Wed Jul 5 19:09:04 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65D3FD8D98A for ; Wed, 5 Jul 2017 19:09:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5381067E18 for ; Wed, 5 Jul 2017 19:09:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v65J91Fi013891 for ; Wed, 5 Jul 2017 19:09:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 186114] net/mpd5 hangs after a certain number of users connect Date: Wed, 05 Jul 2017 19:09:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: peixoto.cassiano@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: eugen@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 05 Jul 2017 19:09:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114 --- Comment #104 from Cassiano Peixoto --- Hi, It wasn't zombie, it looks like zombie because the kind of behavior. See process top output below: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COM= MAND 1295 root 30 73 0 327M 147M CPU3 3 627:10 101.55% m= pd5 Pay attention to WCPU, it's too high. I never ran mpd5 in detached mode, but if you need it, i can. Regarding logs, there is nothing relevant in mpd5 logs, but in kernel logs i have: Jul 5 11:59:59 B-ras kernel: Accessing freed hook: name l4658, 0 refs, Last touched: Jul 5 11:59:59 B-ras kernel: Last active @ /usr/src/sys/netgraph/ng_base.c, line 1196 Jul 5 11:59:59 B-ras kernel: problem discovered at file /usr/src/sys/netgraph/ng_base.c, line 1131 Jul 5 11:59:59 B-ras kernel: KDB: stack backtrace: Jul 5 11:59:59 B-ras kernel: #0 0xffffffff80aa4ad7 at kdb_backtrace+0x67 Jul 5 11:59:59 B-ras kernel: #1 0xffffffff80bb2acc at ng_findhook+0xac Jul 5 11:59:59 B-ras kernel: #2 0xffffffff80bb96bc at ng_con_nodes+0x2c Jul 5 11:59:59 B-ras kernel: #3 0xffffffff80bb4e70 at ng_apply_item+0xa90 Jul 5 11:59:59 B-ras kernel: #4 0xffffffff80bb413b at ng_snd_item+0x1db Jul 5 11:59:59 B-ras kernel: #5 0xffffffff82451469 at ngc_send+0x209 Jul 5 11:59:59 B-ras kernel: #6 0xffffffff80aea8ec at sosend_generic+0x4ec Jul 5 11:59:59 B-ras kernel: #7 0xffffffff80af11c1 at kern_sendit+0x291 Jul 5 11:59:59 B-ras kernel: #8 0xffffffff80af1523 at sendit+0x1a3 Jul 5 11:59:59 B-ras kernel: #9 0xffffffff80af136d at sys_sendto+0x4d Jul 5 11:59:59 B-ras kernel: #10 0xffffffff80e36394 at amd64_syscall+0x6c4 Jul 5 12:00:00 B-ras kernel: #11 0xffffffff80e194eb at Xfast_syscall+0xfb Remember, i was using web status to collect info, i'll disable it, maybe it could be the problem, don't you think? --=20 You are receiving this mail because: You are on the CC list for the bug.=