From owner-freebsd-current@FreeBSD.ORG Sun Jan 16 08:57:41 2005 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 8BD4216A4CE for ; Sun, 16 Jan 2005 08:57:41 +0000 (GMT) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BA0D43D4C for ; Sun, 16 Jan 2005 08:57:40 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received-SPF: pass (eva.fit.vutbr.cz: domain of xdivac02@eva.fit.vutbr.cz designates 127.0.0.1 as permitted sender) receiver=eva.fit.vutbr.cz; client_ip=127.0.0.1; envelope-from=xdivac02@eva.fit.vutbr.cz; Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (8.12.11/8.12.11) with ESMTP id j0G8vYxh027052 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 16 Jan 2005 09:57:34 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.12.11/8.12.5/Submit) id j0G8vYNM027051; Sun, 16 Jan 2005 09:57:34 +0100 (CET) Date: Sun, 16 Jan 2005 09:57:34 +0100 From: Divacky Roman To: Kris Maglione Message-ID: <20050116085734.GA26922@stud.fit.vutbr.cz> References: <20050112092641.GA61635@stud.fit.vutbr.cz> <20050115134715.GA769@zaphod.nitro.dk> <41E94650.2060609@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E94650.2060609@comcast.net> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-current@freebsd.org Subject: Re: non-killable process 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: Sun, 16 Jan 2005 08:57:41 -0000 On Sat, Jan 15, 2005 at 11:35:28AM -0500, Kris Maglione wrote: > Simon L. Nielsen wrote: > > >On 2005.01.12 10:26:41 +0100, Divacky Roman wrote: > > > > > >>hi, > >> > >>I have CFLAGS=-Os (dunno if it matters) compiled ports/net/iftop. and > >>whenever > >>I run it on recent 6-current it "hangs": > >> 880 v4 R+ 0:00.05 iftop > >>(ps ax output) > >> > >>and it cannot be killed - I can repeat it, so this might reveal some bug. > >>I use > >>sched_ule. > >> > >From > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics-daemons.htm > > SIGKILL can not be ignored by a process. This is the ``I do not care > what you are doing, stop right now'' signal. If you send SIGKILL to a > process then FreeBSD will stop that process there and then[1]. > > [1] > > Not quite true--there are a few things that can not be interrupted. For > example, if the process is trying to read from a file that is on another > computer on the network, and the other computer has gone away for some > reason (been turned off, or the network has a fault), then the process > is said to be ``uninterruptible''. Eventually the process will time out, > typically after two minutes. As soon as this time out occurs the process > will be killed. this is not the case... 1) it doesnt time out (I've tried to wait for some hours - no change) 2) it doesnt wait on anything (no [tm]sleep or something) ps axl: 0 652 589 0 20 0 2320 1792 - R+ p2 0:00.05 iftop (as you can see mwchan is -) 3) it didnt behave this way $sometime ago hence I think this is a bug roman