From owner-freebsd-current@FreeBSD.ORG Fri Nov 14 23:53:16 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D25F16A4CE for ; Fri, 14 Nov 2003 23:53:16 -0800 (PST) Received: from web12606.mail.yahoo.com (web12606.mail.yahoo.com [216.136.173.229]) by mx1.FreeBSD.org (Postfix) with SMTP id E92CF43F3F for ; Fri, 14 Nov 2003 23:53:15 -0800 (PST) (envelope-from bj93542@yahoo.com) Message-ID: <20031115075315.76558.qmail@web12606.mail.yahoo.com> Received: from [24.24.87.84] by web12606.mail.yahoo.com via HTTP; Fri, 14 Nov 2003 23:53:15 PST Date: Fri, 14 Nov 2003 23:53:15 -0800 (PST) From: Dorin H To: Munehiro Matsuda In-Reply-To: <20031115.115345.07639542.haro@h4.dion.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: current@freebsd.org Subject: Re: Two processes with PID == 0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2003 07:53:16 -0000 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 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@kgt.co.jp > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree