Re: Two processes with PID == 0

From: Dorin H <bj93542_at_yahoo.com>
Date: Fri, 14 Nov 2003 23:53:15 -0800 (PST)
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
Received on Fri Nov 14 2003 - 22:53:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC