Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 21:18:52 +0700
From:      kyanh <xkyanh@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: cannot kill process with kill -9
Message-ID:  <20090410211852.20404f12@icy.local>
In-Reply-To: <20090410131004.GA59635@ei.bzerk.org>
References:  <alpine.BSF.2.00.0904090931540.71602@macos.cmi.ua.ac.be> <20090409114731.GA4871@zptr-nb01> <cf939bff0904091226s75800562j51843b7e80e55e64@mail.gmail.com> <20090410131004.GA59635@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Apr 2009 15:10:04 +0200
Ruben de Groot <mail25@bzerk.org> 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
> > <eray.aslan@caf.com.tr> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090410211852.20404f12>