After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 46213 - "Searching for Trash folders" takes too long for NFS
"Searching for Trash folders" takes too long for NFS
Status: RESOLVED INCOMPLETE
Product: nautilus
Classification: Core
Component: Trash
0.x.x [obsolete]
Other Linux
: Normal major
: 1.1.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-02-01 03:54 UTC by Bill Dodd
Modified: 2009-02-17 02:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bill Dodd 2001-09-10 00:58:07 UTC
On a machine I use I have some NFS mounts that access huge
amounts (terabytes) of filesystem space. I installed Nautilus
for the first time on this machine and started it up. The
"Searching for Trash folders" dialog came up and stayed up
for several minutes. I also noticed continuous activity on
the ethernet interface. Some poking around with lsof showed
that nautilus was walking the remoted mounted (NFS) filesystems.


* REPRODUCIBLE: Always

* STEPS TO REPRODUCE:

(I assume I could repro this everytime, but I just tried once).

NFS mount some huge filesystems.

Start nautilus.


* EXPECTED RESULTS: 

  I think the "Searching for Trash folders" operation should only
walk local filesystems. Or at least be configurable like medusa
is via a "stoplist".



------- Additional Comments From darin@bentspoon.com 2001-02-01 10:46:47 ----

It's high priority to at least decide what do do about this.



------- Additional Comments From liblit@acm.org 2001-02-12 01:07:07 ----

It gets worse.

My box (which is at a large University) uses automount maps where each user's
home directory is its own mount map key and therefore its own NFS mount point. 
Near as I can tell, Nautilus's actions result in *every* user's home directory
being mounted.  (Or at least, every such directory that my workstation has
permission to mount.)

This creates a rather extreme burst of mount activity on both the NFS client and
NFS server end of things.  A similar burst of unmount activity comes a few
minutes later when the automounter decides to expire everything.  That one
actually makes my mouse jerky for several seconds.

To be honest, I'm just speculating that this is the same issue.  It might be
different, in which case I'll happily file a new bug report.  The main issue I'm
seeing is that starting Nautilus causes spontaneous automounting of all (many?)
users' home directories.



------- Additional Comments From liblit@acm.org 2001-02-15 18:09:21 ----

I'm going to go ahead and file the automounter issue as a new bug.  Walking
though mounted NFS volumes is really a distinct issue from causing automatic
mounting of NFS volumes that were not already mounted.



------- Additional Comments From gzr@eazel.com 2001-02-22 02:48:25 ----

I added code in the volume monitor where automount entries should be ignored 
and not mounted, thereby makin gthem inaccesible to the trash code. Did this 
help any?



------- Additional Comments From bdodd@jump.net 2001-03-13 13:03:54 ----

This problem still exists in 1.0. i.e. The "searching for trash folders" 
is still walking through all my mounted NFS filesystems. The comment
from gzr makes me think something was done to prevent automount
entries from being mounted, but I can't verify this since I don't
do automounts.

I still think there should be an option to have the trash folder searching
code walk local filesystems only. 





------- Additional Comments From eli@eazel.com 2001-03-26 11:20:00 ----

SPAAAAAAAAAM! 

(Jon Allen has taken these components; QA Assigning bugs to him.)



------- Additional Comments From don@eazel.com 2001-04-11 14:19:19 ----

This is not a 1.0.3 requirment, but I would like to fix this sometime soon.




------- Additional Comments From snickell@stanford.edu 2001-07-23 00:33:32 ----

Taking bugs previously assigned to Pavel, assigning them to myself. Will parse
them out at my leisure , but many are GnomeVFS bugs we should look at for 2.0



------- Additional Comments From mjs@noisehavoc.org 2001-07-23 01:17:03 ----

Move to unassigned. I'll probably want to take a crack at some of these myself,
and Seth says he is unlikely to.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:58 -------

The original reporter (bdodd@jump.net) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.

Comment 1 John Fleck 2002-01-05 04:21:35 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 David Fallon 2002-03-01 00:38:48 UTC
Couldn't find any duplicates - seems pretty important for NFS users,
so bumped up the priority.
Comment 3 Luis Villa 2002-03-02 21:29:08 UTC
And still relevant for g2.
Comment 4 Murray Cumming 2003-07-28 14:02:25 UTC
Changed summary to ""Searching for Trash folders" takes too long for
NFS" so that it's more obvious what the problem is here.

I think the too-many-things-mounted thing should be a different bug.
Comment 5 Sebastien Bacher 2005-05-22 11:57:52 UTC
is that still an issue?
Comment 6 David 2008-04-10 16:24:59 UTC
Thanks for taking the time to report this bug.


However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use.

By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME.
Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.
Comment 7 Cosimo Cecchi 2008-04-10 17:36:02 UTC
Hi David and thanks for help triaging some Nautilus bugs. However, only crashers are usually marked as OBSOLETE, unless they aren't anymore reproducible with the current version. Did you actually try that this is not an issue anymore for Nautilus 2.22? Thanks!
Comment 8 Tobias Mueller 2009-02-17 02:11:14 UTC
I assume that this is not an issue anymore. Especially if there are no dups...

So I am closing this bug, but as in comment #6, feel free to reopen.