From owner-freebsd-questions@FreeBSD.ORG Thu Apr 9 07:41:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31B5B106564A for ; Thu, 9 Apr 2009 07:41:34 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (macos.cmi.ua.ac.be [143.129.75.1]) by mx1.freebsd.org (Postfix) with ESMTP id BD8038FC14 for ; Thu, 9 Apr 2009 07:41:33 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from macos.cmi.ua.ac.be (localhost [127.0.0.1]) by macos.cmi.ua.ac.be (8.14.2/8.14.2) with ESMTP id n397fVCZ071781 for ; Thu, 9 Apr 2009 09:41:31 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) Received: from localhost (pdon@localhost) by macos.cmi.ua.ac.be (8.14.2/8.14.2/Submit) with ESMTP id n397fVSI071778 for ; Thu, 9 Apr 2009 09:41:31 +0200 (CEST) (envelope-from Pieter.Donche@ua.ac.be) X-Authentication-Warning: macos.cmi.ua.ac.be: pdon owned process doing -bs Date: Thu, 9 Apr 2009 09:41:31 +0200 (CEST) From: Pieter Donche X-X-Sender: pdon@macos.cmi.ua.ac.be To: "mail.list freebsd-questions" Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: cannot kill process with kill -9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 07:41:34 -0000 FreeBSD 7: I have a mount_nfs process that refuses to get killed : # ps -jaxw | grep mount root 60342 1 60289 60289 0 D ?? 0:00.00 mount_nfs fenix.cmi.ua.ac.be:/opt /home/nfs/fenix/opt This was called from a script, run bij root cron during the night (does an NFS mount of a file system of a remote system and makes a backup) I killed the parent processes: the shell executing the script, the script, the mount process that calls mount_nfs, leaving me with that last remaining process: # kill -9 60342 doesn't do anything # kill -9 -60289 (60289 is the PGID, see man kill) doesn't do anything either How to I get this process killed?