Date: Mon, 9 Feb 2004 16:55:18 +1100 From: Tim Robbins <tjr@freebsd.org> To: Matthias Andree <ma@dt.e-technik.uni-dortmund.de> Cc: freebsd-current@freebsd.org Subject: Re: how to confuse truss: truss -f fsck -p / Message-ID: <20040209055518.GA64068@cat.robbins.dropbear.id.au> In-Reply-To: <m34qu1vt4b.fsf@merlin.emma.line.org> References: <m34qu1vt4b.fsf@merlin.emma.line.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 09, 2004 at 04:17:40AM +0100, Matthias Andree wrote: > After typing "truss -f fsck -p /", I see nothing. I press ^Z > and type kill -9 % (killing truss). > > I now have these fine processes hanging dead in memory, they are immune > to kill -9 and don't respond to kill -CONT either, ps axl: > > UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND > 0 56974 1 0 8 0 1256 744 ppwait D p1 0:00.00 fsck -p / > 0 56975 56974 0 8 0 1256 744 stopev DV p1 0:00.00 fsck -p / > > Is this how things are supposed to be, even though killing a tracer is > way stupid? I think it's not nice to have unkillable processes. procfs is disabled by default for a reason :-) > Is there a way to get rid of these without reboot? Try procctl(8). Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209055518.GA64068>