[Bug 216905] proces hung in STOP, CPU 100% system, thread in PCPU_GET(cpuid)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 8 08:13:04 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216905

            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 at FreeBSD.org
          Reporter: erohin.konstantin.88 at yandex.ru
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Created attachment 179745
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179745&action=edit
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 COMMAND
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=etc/transport.cfg --subcfg=etc/transport --daemonize
--pid-file=/usr/local/ksn/var/ksn.udpd.pid --trace-file=log/udpd_trace.txt
--trace-level=500
25041 -     -         1  -  TJ        1:36.89 bin/udpd
--config=etc/transport.cfg --subcfg=etc/transport --daemonize
--pid-file=/usr/local/ksn/var/ksn.udpd.pid --trace-file=log/udpd_trace.txt
--trace-level=500

Collected some info about threand and proc via kgdb.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list