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

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 7, 2008 at 9:48 AM, Robert Noland <rnoland@2hip.net> wrote:
> 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?
>
My fault - bad order of info gathering.  Here's a ps snap after
sending the process -CONT signal:

[mtosto@mtosto-bsd ~]$ ps -axlH | grep vfs
 1000  4019     1   0  46  0  6324  2412 uwait  Ts    ??    0:00.00
/usr/local/libexec//gvfs-fuse-daemon /home/mtosto/.gvfs
 1000  4019     1   0  44  0  6324  2412 -      Ts    ??    0:00.00
/usr/local/libexec//gvfs-fuse-daemon /home/mtosto/.gvfs

>  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?cd6b4a5b0805070753k4daa6b14mceb4802fd1cb7f8c>