From owner-freebsd-stable@FreeBSD.ORG Tue Nov 27 12:05:24 2007 Return-Path: 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 4D0B216A469 for ; Tue, 27 Nov 2007 12:05:24 +0000 (UTC) (envelope-from holakac@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id C636613C458 for ; Tue, 27 Nov 2007 12:05:23 +0000 (UTC) (envelope-from holakac@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so1504446uge for ; Tue, 27 Nov 2007 04:05:22 -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=eg589sqbPUHpzpydhJ/llAkq6MTMtG0Tx8wHP3c9y5U=; b=YiuDzCvZ6iEjDSHrbA+LKDiwxumc1hEI7KZz/x/5loRBNMi8ycfCHuSdbzVgcx7SGIA/chLtmJu9f5ojGTfTjDNNnILQbj0fMlokD/Bf+a5enj6NMYp9dd5be0TxL3AzEqRnzopWSs3n7Bg7CUs6Ct/azzTQrLdJcZWwurjUBOE= 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=UaAKMxHG/SNJyc9qAOb7JFN+VCdzb/UMOSDB139Ejl6WlNrLGAU81IQgJU42CpIdUDHb8IymSixzbp7r/c/6BM8C39KffUWiuaK3aZnlSwPcJWSdPVb4YMG/SfDPdwJfCAGU0L3TQWaidpzEmoEjnlLsV95u+A1BELBVtUj9t3g= Received: by 10.78.150.7 with SMTP id x7mr4073232hud.1196165122039; Tue, 27 Nov 2007 04:05:22 -0800 (PST) Received: by 10.78.178.13 with HTTP; Tue, 27 Nov 2007 04:05:21 -0800 (PST) Message-ID: Date: Tue, 27 Nov 2007 13:05:21 +0100 From: "Honza Holakovsky" To: "Honza Holakovsky" , freebsd-stable@freebsd.org In-Reply-To: <20071126190720.GD19393@slackbox.xs4all.nl> MIME-Version: 1.0 References: <20071126190720.GD19393@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 12:05:24 -0000 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 :( 2007/11/26, Roland Smith : > > On Mon, Nov 26, 2007 at 04:30:01PM +0100, Honza Holakovsky wrote: > > Hi, > > > > I'm expecting quite curious problem (currently spotted with usage of > > audacious (1.3.2 [20070405-4320]) and fusefs-wdfs (1.3.2)) > > After I finish working with either of these two programs (i.e. closing > > audacious windown or unmounting wdfs unit), they still run on > background, > > and cosume all remaining cpu performance. Even if I kill its PID, it's > still > > running. "top" looks like this: > > How did you kill them? Did you use 'kill -9'? > > > last pid: 21161; load averages: 1.30, 1.33, 1.11 > > up 0+02:49:43 16:20:56 > > 51 processes: 3 running, 48 sleeping > > CPU states: 53.1% user, 0.0% nice, 46.5% system, 0.4% interrupt, > 0.0%idle > > Mem: 209M Active, 226M Inact, 105M Wired, 21M Cache, 70M Buf, 54M Free > > Swap: 2048M Total, 20K Used, 2048M Free > > > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU > COMMAND > > 19163 root 1 132 0 19112K 4948K RUN 14:57 81.88% wdfs > > 18873 holakac 1 96 0 79652K 53568K select 13:14 1.66% Xorg > > 18911 holakac 4 20 0 104M 81280K kserel 9:06 > 0.00%firefox-bin > > Under some circumstances, a process cannot be killed, e.g. if 'px -xacu' > has the process in D state. See ps(1). > > 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) > >