From owner-freebsd-stable@FreeBSD.ORG  Tue Nov 27 19:14:53 2007
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F040F16A421
	for <freebsd-stable@freebsd.org>; Tue, 27 Nov 2007 19:14:53 +0000 (UTC)
	(envelope-from holakac@gmail.com)
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175])
	by mx1.freebsd.org (Postfix) with ESMTP id 6722813C4D1
	for <freebsd-stable@freebsd.org>; Tue, 27 Nov 2007 19:14:53 +0000 (UTC)
	(envelope-from holakac@gmail.com)
Received: by ug-out-1314.google.com with SMTP id y2so1622192uge
	for <freebsd-stable@freebsd.org>; Tue, 27 Nov 2007 11:14:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
	bh=8UOyAn7Kk8QnpFCsqH36ojGwxrP6RnuLf/gRKwY7Pn4=;
	b=pXyn9GFqSVdYob6YAsqKXv5zXhQAlVoxMQlHoeKx9Rk5NjsSQRMF9u1oMi3i1eaCxG3FX1qJa+etQnfrNfaMCe0JH4aaT3DTt9jRNqnjitLSQcBZ18FdFaRHeRSHJA9qffpLe3gW4we66po5lM+LgIeBoJ6V3txUK47B4Q6gWB4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
	b=Z5ae9UNlJJjTmzhNa7whwbXmEMuGL2WJmwjh6m+rmHVz7sQvuJs5FLrd6jmx48ExTj8xeC+SRwr8ixjktt7d8grmr6cIu/1rOH8FlqpNkw2AW/9i53mjBP1WNHeMQqI6eb+8BPJ0756n9o6Vu6IX2RITkZnLmMXaQut3fIOFCTE=
Received: by 10.78.155.4 with SMTP id c4mr4738407hue.1196190891036;
	Tue, 27 Nov 2007 11:14:51 -0800 (PST)
Received: by 10.78.178.13 with HTTP; Tue, 27 Nov 2007 11:14:50 -0800 (PST)
Message-ID: <f996cc420711271114r3bad8d5m6b8e81da1373206d@mail.gmail.com>
Date: Tue, 27 Nov 2007 20:14:50 +0100
From: "Honza Holakovsky" <holakac@gmail.com>
To: "Honza Holakovsky" <holakac@gmail.com>, freebsd-stable@freebsd.org
In-Reply-To: <20071127161645.GA55166@slackbox.xs4all.nl>
MIME-Version: 1.0
References: <f996cc420711260730n1b226483la2b813753f9496f8@mail.gmail.com>
	<20071126190720.GD19393@slackbox.xs4all.nl>
	<f996cc420711270405u539d2fccrdbce005d14e88834@mail.gmail.com>
	<20071127161645.GA55166@slackbox.xs4all.nl>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: 
Subject: Re: Some processes stay active after killing its PID
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Nov 2007 19:14:54 -0000

Well, didn't know that, "/bin/kill -9 wdfs_PID" works, great

Thanks a lot, after your advice I read an article about csh built-in
commands, never heard of it from any fbsd handbook...

2007/11/27, Roland Smith <rsmith@xs4all.nl>:
>
> On Tue, Nov 27, 2007 at 01:05:21PM +0100, Honza Holakovsky wrote:
> > Thanks for reply,
> >
> > I tried to kill the process via all possibilities described in man kill
> :)
> > But I didn't know there are some processes which can't be killed, so I
> tried
> > again running wdfs, but after "ps -xacu | grep wdfs" I see
> >
> > USER      PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
> > root      971 73,9  0,9 19048  5552  ??  Rs    1:03od   0:15,36 wdfs
> >
> > no D state :(
> > I'm quite confused, because in state, I have to reboor every time I
> umount
> > wdfs drive :(
>
> By default, the shell uses it's built-in kill function. Try invoking the
> real
> kill directly, as root; '/bin/kill -9 971'
>
> Roland
> --
> R.F.Smith                                   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>
>