From owner-freebsd-questions@FreeBSD.ORG Tue May 10 16:59:20 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46C5616A4CE for ; Tue, 10 May 2005 16:59:20 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0FB843D58 for ; Tue, 10 May 2005 16:59:19 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1DVY4k-000AHH-5q; Tue, 10 May 2005 10:59:19 -0600 In-Reply-To: <20050510164359.GL11613@noc.ntua.gr> References: <20050510164359.GL11613@noc.ntua.gr> Mime-Version: 1.0 (Apple Message framework v728) Message-Id: <69962115-AB7F-487D-93A9-D4E9689E8C50@shire.net> From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 10 May 2005 10:59:16 -0600 To: Athanasios Douitsis X-Mailer: Apple Mail (2.728) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) cc: freebsd-questions@freebsd.org Subject: Re: cannot kill -9 a process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 16:59:20 -0000 On May 10, 2005, at 10:43 AM, Athanasios Douitsis wrote: > Hello all, > > I have run into a peculiar problem. A process in one of my servers > has stopped working, but when I kill -9 the pid the process won't > go away. > > ps axuw | grep nagios > nagios 36818 0.0 0.1 3964 2184 ?? TLs 30Mar05 46:14.69 /usr/ > local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg > > and > > kill -9 36818 > > > Well, it won't die no matter how many times I'll try to kill -9 it. Typically it is stuck waiting for some IO and cannot be killed in that state (happens on nfs for me once in a while for example). Try to figure out what it is waiting for and fix that problem so that the IO will complete for example "lsof" may help you track down Chad > > My uname is > > 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Sun Jan 16 09:53:48 UTC > 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386 > > Does anyone have any constructive suggestion on how to get rid of it? > > Thanks in advance > Athanasios > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net