Two processes with PID == 0
Dorin H
bj93542 at yahoo.com
Fri Nov 14 23:53:16 PST 2003
FWIW: I don't know exactly why/what is happening, but
I've seen it once. In my case, the process (script
foo.log && make install clean && exit) failed abruptly
and the process entry was not correctly cleared. You
see that your second process with pid 0 (xbattbar) is
a zombie (Z), swapped out (W). I was unable to unlog
also from the terminal due to that ( I was remotely
SSH connected). I brutly closed the SSH window and
upon relogin, the entry dissapeared.
I run "-current" from 10/29 and SCHED_4BSD.
/Dorin
--- Munehiro Matsuda <haro at h4.dion.ne.jp> wrote:
> Hi all,
>
> I have wierd problem with -current from Fri Nov 14
> 19:58:02 JST and
> with SCHED_4BSD scheduler.
>
> There are two processes that have the same PID as
> 0!!
> Here's snippest from 'ps axl' output:
>
> UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT
> TT TIME COMMAND
> 0 0 0 0 -16 0 0 4 sched DLs
> ?? 0:00.35 (swapper)
> 123 0 560 0 -84 0 0 0 - ZW
> v0 0:00.00 (xbattbar)
> 0 560 554 17 98 0 5128 3292 select I
> v0 0:00.56 xterm -C -sb
>
> The xbattbar process was started with the following
> ~/.xinitrc script
> that I use to star X Window.
>
>
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
> if [ -f /usr/X11R6/bin/xbattbar ]; then
> nice -20 xbattbar -t 1 -p 20 top &
> fi
>
> if [ -f /usr/X11R6/bin/unclutter ]; then
> unclutter -jitter 5 &
> fi
>
> twm &
> # xclock -geometry 80x80+0-0 &
> xclock -d -geometry 160x18+900+1 -padding 3 -bg
> maroon -fg gray85 -update 3 &
> kterm -sb -rw -km euc -geometry 80x24+3+25 -sl 1000
> &
> kterm -sb -rw -km euc -geometry 80x24+3+392 -sl 1000
> &
> sleep 1
> exec xterm -C -sb -rw -geometry 80x49+0+1 -name
> login -iconic \#+0+1
>
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
>
> Anybody have any idea what has happend?
>
> Thanks,
> Haro
>
=------------------------------------------------------------------------------
> _ _ Munehiro (haro) Matsuda
> -|- /_\ |_|_| Internet Solution Dept., Kubota
> Graphics Technologies Inc.
> /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo
> 160-0022, Japan
> Tel: +81-3-3225-0767 Fax:
> +81-3-3225-0740
> Email: haro at kgt.co.jp
> _______________________________________________
> freebsd-current at freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
"freebsd-current-unsubscribe at freebsd.org"
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
More information about the freebsd-current
mailing list