From owner-freebsd-amd64@freebsd.org Wed Feb 8 08:13:04 2017 Return-Path: Delivered-To: freebsd-amd64@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 A8106CD5DE4 for ; Wed, 8 Feb 2017 08:13: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 77DCD11A5 for ; Wed, 8 Feb 2017 08:13: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 v188D4ut042436 for ; Wed, 8 Feb 2017 08:13:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 216905] proces hung in STOP, CPU 100% system, thread in PCPU_GET(cpuid) Date: Wed, 08 Feb 2017 08:13:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: erohin.konstantin.88@yandex.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: 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-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 08:13:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216905 Bug ID: 216905 Summary: proces hung in STOP, CPU 100% system, thread in PCPU_GET(cpuid) Product: Base System Version: 10.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: erohin.konstantin.88@yandex.ru CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 179745 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179745&action= =3Dedit kgdb inspect proc, threads 10.3-RELEASE-p7, our jailed process named `udpd` hangs in STOP state. According to top it uses 100% CPU: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMA= ND 25041 10001 2 20 0 30061M 21536M STOP 26 2783.5 100.00% udpd CPU id 26 is 100% system time. gdb/lldb/truss cant attach to process. Process has two threads^ ps HO wchan,nwchan,ppid -p 25041 PID WCHAN NWCHAN PPID TT STAT TIME COMMAND 25041 - - 1 - RJ 165992:29.29 bin/udpd --config=3Detc/transport.cfg --subcfg=3Detc/transport --daemonize --pid-file=3D/usr/local/ksn/var/ksn.udpd.pid --trace-file=3Dlog/udpd_trace.= txt --trace-level=3D500 25041 - - 1 - TJ 1:36.89 bin/udpd --config=3Detc/transport.cfg --subcfg=3Detc/transport --daemonize --pid-file=3D/usr/local/ksn/var/ksn.udpd.pid --trace-file=3Dlog/udpd_trace.= txt --trace-level=3D500 Collected some info about threand and proc via kgdb. --=20 You are receiving this mail because: You are on the CC list for the bug.=