From owner-freebsd-questions@FreeBSD.ORG Fri Apr 10 14:19:12 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 B81CE106566C for ; Fri, 10 Apr 2009 14:19:12 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4E70E8FC14 for ; Fri, 10 Apr 2009 14:19:12 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: by ti-out-0910.google.com with SMTP id u5so1054010tia.3 for ; Fri, 10 Apr 2009 07:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:organization:x-operating-system :user-agent:x-mailer:mime-version:content-type :content-transfer-encoding; bh=QyTw3xHxvJ2hmFoMF6m1zIRiY3dwZkGegSk07URS5do=; b=tLwF8YeF8N0g7GqA8uEe7z5m8zT6Xq3Y/SnkrNNr/LQMrV6R+ZhYueIlpjAnbxbI2J 02xx3GoJqWRhQtWHC0Zt5e0YCOqcKcMyed+1zpugp1fJ8r3sofQ21Uxqpt1MzcsQvAX+ rkp6XFdyiiuIrvTmTGrwh4nInTpJxq6pkxQBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-operating-system:user-agent:x-mailer:mime-version:content-type :content-transfer-encoding; b=qcxIAcCbkl4yTDtaNpQyhq2IalIvUFKekyIMour1Ku0fLCAXBAELm/NeZvA9S89Uyi yUnrTays9YO4a1MiKSyKqxnIAOCLmac3zpshnJTo2bmAeNUpbyO7GRFi56x5ta+2hiyt eFRMHfla20r88VCGeOJv1RpiTTgB/P8zx49Rk= Received: by 10.110.40.8 with SMTP id n8mr4947820tin.28.1239373151200; Fri, 10 Apr 2009 07:19:11 -0700 (PDT) Received: from icy.local ([115.74.208.210]) by mx.google.com with ESMTPS id b4sm174981tic.16.2009.04.10.07.19.09 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Apr 2009 07:19:10 -0700 (PDT) Date: Fri, 10 Apr 2009 21:18:52 +0700 From: kyanh To: freebsd-questions@freebsd.org Message-ID: <20090410211852.20404f12@icy.local> In-Reply-To: <20090410131004.GA59635@ei.bzerk.org> References: <20090409114731.GA4871@zptr-nb01> <20090410131004.GA59635@ei.bzerk.org> Organization: Vietnamese TeX Users Group X-Operating-System: Windows 98 User-Agent: Moveup browser X-Mailer: Moveup mail client (windows 98) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: cannot kill process with kill -9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 14:19:13 -0000 On Fri, 10 Apr 2009 15:10:04 +0200 Ruben de Groot wrote: > On Thu, Apr 09, 2009 at 01:26:51PM -0600, Joshua Gimer typed: > > You might also find a little bit information about what the > > process is waiting on by attaching to it with strace (in ports > > under devel) (strace -p PID). > > why would you install strace from ports? truss does the same job. > Great tips, Ruben! `strace` requires /proc and I am too lazay to mount `procfs` after installing `strace` ports. (In fact I installed `strace` then did nothing.) Going to `pkg_delete starce` now :P > > > > On Thu, Apr 9, 2009 at 5:47 AM, Eray Aslan > > wrote: > > > On Thu, Apr 09, 2009 at 09:41:31AM +0200, Pieter Donche wrote: > > >> 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 > > > [...] > > >> How to I get this process killed? > > > > > > reboot. ?You can't kill a process with a D flag. ?Google for > > > uninterruptible sleep. > > > > > > -- -- Ky Anh, Huynh Homepage: http://viettug.org/