Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 May 2008 10:48:16 -0400
From:      Robert Noland <rnoland@2hip.net>
To:        Jeremy Chadwick <koitsu@freebsd.org>
Cc:        ports@freebsd.org, amistry@am-productions.biz, Matt <datahead4@gmail.com>
Subject:   Re: FreeBSD Port: fusefs-libs-2.7.2_1 - gvfs-fuse-daemon process(es) stuck
Message-ID:  <1210171696.30323.2.camel@squirrel.corp.cox.com>
In-Reply-To: <20080507143004.GA59170@eos.sc1.parodius.com>
References:  <cd6b4a5b0805052220i87f274fnd5f08618d9a72fef@mail.gmail.com> <20080506053244.GA94936@eos.sc1.parodius.com> <cd6b4a5b0805070719h63a7c507s6e5545b1af4a31c3@mail.gmail.com> <20080507143004.GA59170@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2008-05-07 at 07:30 -0700, Jeremy Chadwick wrote:
> On Wed, May 07, 2008 at 09:19:24AM -0500, Matt wrote:
> > Sorry - should have been more specific than the generic "stuck"
> > description.  Top shows the process state as "fu_msg" and it is not
> > consuming any processor resources, just seemingly sits there idling.
> > Output from ps is:
> > 
> >   UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
> >  1000  4019     1   0  44  0  6324  2528 -      Ts    ??    0:00.00
> > /usr/local/libexec//gvfs-fuse-daemon /home/mtosto
> 
> The "T" flag under State says that the process is stopped.  It's as if
> the process was running in the foreground, and was ^Z'd -- same
> behaviour.

I don't want to state the obvious, but attaching to the process with gdb
will produce the stopped state.  Was this ps snap taken before or after
attaching with gdb?

robert.

> The part which confuses me (I'm sure others can explain this part) is
> that the parent PID is 1, which is init.  This would indicate that the
> process is actually a zombie whose parent has been killed off, and the
> child's parent has been assigned to init.
> 
> You might try doing a "kill -CONT" on the process to see what happens.
> 
> I don't think truss or ktrace are going to help here, because something
> is explicitly stopping the process (SIGSTOP or some other means).
> 




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