Looks like i just encountered this issue. I have a sftp host which was
unaccessible for some time (ssh connection just hangs). The host started
working but I was wondering why the computer felt slow. This is the
reason (output from top):


PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND             
                                               
 4742 vranki    20   0 38208 3200 2720 S  49,8  0,0  15:37.13 gvfsd-sftp        
                                                 
 4728 vranki    20   0 38208 3192 2724 S  49,5  0,0  16:20.64 gvfsd-sftp        
                                                 
 4558 vranki    20   0 38208 3188 2724 S  49,2  0,0  17:17.47 gvfsd-sftp        
                                                 
 4595 vranki    20   0 38208 3200 2724 S  49,2  0,0  16:45.67 gvfsd-sftp        
                                                 
 4530 vranki    20   0 38208 3188 2716 S  48,8  0,0  18:01.79 gvfsd-sftp        
                                                 
 4603 vranki    20   0 38208 3192 2712 S  48,5  0,0  16:38.69 gvfsd-sftp        
                                                 
 4585 vranki    20   0 38208 3184 2716 S  45,2  0,0  16:40.84 gvfsd-sftp        
                                                 
 4778 vranki    20   0 38208 3204 2720 S  45,2  0,0  15:05.80 gvfsd-sftp        
                                                 
 3783 vranki    20   0 1117m 357m  45m S   5,3  4,6   6:22.19 firefox    

Looks like gfvsd-sftp does not handle the error condition properly and
is stuck in busy loop.

Backtrace of the situation (doesn't look very helpful):

(gdb) bt
#0  0xb77d6182 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb739f9db in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb74e82db in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb74d96d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb74d9c2b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0805571c in ?? ()
#6  0x0804c053 in ?? ()
#7  0xb72d6935 in __libc_start_main (main=0x804bfe0, argc=4, ubp_av=0xbfe802b4, 
init=0x80557b0, fini=0x8055820, 
    rtld_fini=0xb77e4600 <_dl_fini>, stack_end=0xbfe802ac) at libc-start.c:260
#8  0x0804c079 in ?? ()

I'm not sure if the issue can be easily reproduced but there seems to be
a bug.

** Changed in: gvfs (Ubuntu)
       Status: Expired => New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/688700

Title:
  gvfsd-sftp several minutes consumes all available CPU resources , if
  try connect to unreachable SSH host.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/688700/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to