kern/71226: processes list is broken
gvs at rinet.ru
Wed Sep 1 08:06:07 PDT 2004
Sergey Akifyev wrote:
> BTW, killing init would be helpful. If processes will not die this way,
> you will see error message on console during shutdown.
I LOVE this messages "some process couldn't die, ps axl advised" just
before reboot, ahem... when the box hangs somewhere in disk operations
and only Ctrl-Alt-Del helps (with some delays).
> But, I think you understand my initial question: I suspected bad-coded
> parent process. Now I see this is ps or kernel failing.
ps just reports what kernel presents. Top displays them, too:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
25220 gvs 76 19 23020K 7500K RUN 0:00 0.00% 0.00%
25193 gvs 76 19 23020K 7500K RUN 0:00 0.00% 0.00%
>ps jax | grep kblan
USER PID PPID PGID SID JOBC STAT TT TIME COMMAND
gvs 25193 1 590 590 0 RN ?? 0:00,10
gvs 25220 1 590 590 0 RN ?? 0:00,11
gvs 28996 1 590 590 0 RN ?? 0:00,01
> So, a couple of diagnostic tests:
> 1) check if zombie-structures was allocated in kernel
> # vmstat -m|fgrep zombie
zombie 0 0K 1K 36254 128
> 2) what is your threading library in /etc/libmap.conf ? Whatewer it is,
> try to change it and look what happens. (I suspect KSE-related problems)
AFAIR, UPDATING recommended exactly this way. Is it obsoleted?
> 3) what does sockstat think about theese processes?
Nothing. Just nothing. They're absent.
More information about the freebsd-bugs