tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to identify specific wait-state for a "DE" process?



On Tue, 5 Jan 2016, Stephan wrote:

# crash
Crash version 7.99.25, image version 7.99.25.
Output from a running system is unreliable.
crash> trace/t 0t455
trace: pid 455 lid 1 at 0xfffffe8002ff0ce0
sleepq_block() at sleepq_block+0xa2
cv_wait() at cv_wait+0x116
fd_close() at fd_close+0x39a
fd_free() at fd_free+0x178
exit1() at exit1+0x10a
sys_exit() at sys_exit+0x3a
syscall() at syscall+0x9c
--- syscall (number 1) ---

So I guess I need to figure out which/what condvar it is waiting on...


Can´t you see that in top or "ps -l" (wchan)?

No.  ps only shows

ps axlww
UID PID PPID  CPU PRI NI   VSZ  RSS WCHAN   STAT TTY      TIME COMMAND
<snip>
  0 455  436    0   0  0     0    0 -       DE   tty00 0:00.00 (FM)
<snip>


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index