Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 2004 19:06:14 +0400
From:      Seva Gluschenko <gvs@rinet.ru>
To:        Sergey Akifyev <asa@gascom.ru>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/71226: processes list is broken
Message-ID:  <4135E566.40902@rinet.ru>
In-Reply-To: <1094029290.774.745.camel@asa.gascom.net.ru>
References:  <200409010830.i818UXJC017144@freefall.freebsd.org> <1094029290.774.745.camel@asa.gascom.net.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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% 
kblankscrn.kss
25193 gvs       76   19 23020K  7500K RUN      0:00  0.00%  0.00% 
kblankscrn.kss

 >ps jax | grep kblan
USER    PID  PPID  PGID   SID JOBC STAT  TT       TIME COMMAND
gvs   25193     1   590   590    0 RN    ??    0:00,10 
/usr/local/bin/kblankscrn.kss -root
gvs   25220     1   590   590    0 RN    ??    0:00,11 
/usr/local/bin/kblankscrn.kss -root
gvs   28996     1   590   590    0 RN    ??    0:00,01 
/usr/local/bin/kblankscrn.kss -root

> 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)

libc_r.so.5             libpthread.so.1
libc_r.so               libpthread.so

AFAIR, UPDATING recommended exactly this way. Is it obsoleted?

> 3) what does sockstat think about theese processes?

Nothing. Just nothing. They're absent.

-gvs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4135E566.40902>