Bug 1001320

Summary: gvfs-afp pegs CPU when WD MyBookLive "NAS" device offers AFP service
Product: [Fedora] Fedora Reporter: Martin Langhoff <martin>
Component: gvfsAssignee: Ondrej Holy <oholy>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: alexl, bnocera, gharveyatwork, oholy, ross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-15 17:08:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Langhoff 2013-08-26 21:38:33 UTC
Description of problem:

A laggy F19 desktop since I started using a Western Digital "MyBookLive" NAS in my home network. The NAS is mounted over NFS on this F19 box. However, gfvsd-afp-browse is spinning wild, as can be seen in:

$ ps ax | grep gvfsd
 1624 ?        Sl     0:00 /usr/libexec/gvfsd
 1629 ?        Sl     0:00 /usr/libexec//gvfsd-fuse -f /run/user/500/gvfs
 2069 ?        Sl     0:00 /usr/libexec/gvfsd-burn --spawner :1.3 /org/gtk/gvfs/exec_spaw/0
 6937 ?        Sl     0:00 /usr/libexec/gvfsd-network --spawner :1.3 /org/gtk/gvfs/exec_spaw/3
 6949 ?        Sl     0:00 /usr/libexec/gvfsd-dnssd --spawner :1.3 /org/gtk/gvfs/exec_spaw/5
 6962 ?        RLl  1607:19 /usr/libexec/gvfsd-afp-browse --spawner :1.3 /org/gtk/gvfs/exec_spaw/7
 7021 ?        Sl     0:00 /usr/libexec/gvfsd-metadata
 7920 ?        Sl     0:00 /usr/libexec/gvfsd-smb-browse --spawner :1.3 /org/gtk/gvfs/exec_spaw/11
17459 ?        Sl     0:11 /usr/libexec/gvfsd-trash --spawner :1.3 /org/gtk/gvfs/exec_spaw/1
18734 ?        Sl     0:00 /usr/libexec/gvfsd-http --spawner :1.3 /org/gtk/gvfs/exec_spaw/2


Version-Release number of selected component (if applicable):

 gvfs-afp.x86_64 0:1.16.3-2.fc19  

How reproducible:

Seems to repro 100% here. 

I have removed the package for now, I will be happy to reinstall and debug if I can get some pointers of what to look for.

There are macs in this network that make good use of the AFP service (Time Machine, cute). Switching AFP off at the NAS is not an option.

Comment 1 Martin Langhoff 2013-08-26 21:40:13 UTC
FWIW: very similar bug report on Ubuntu -https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/951585

Comment 2 Greg Harvey 2014-01-09 08:37:28 UTC
*** Bug 1049867 has been marked as a duplicate of this bug. ***

Comment 3 Greg Harvey 2014-01-09 08:41:42 UTC
This is still happening in Fedora 20, I marked #1001320 as a duplicate after further investigation. Having tested the various different mounts I was using, turns out my nautilus issues were actually wholly gvfsd-afp issues. In my case the NAS is a Buffalo Linkstation, but the result is the same. The same NAS offers a samba share which works fine, they afp share is unusable and crashes the file browser.

Comment 4 Ross Lagerwall 2014-08-27 07:16:32 UTC
This is upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=710490 and has been fixed.