Deleting many files in opened folder takes very long time

Bug #47842 reported by Bazon on 2006-06-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

steps to reproduce:

1. Be sure you have a "delete" option in your nautilus contextmenu (see behaviour in nautilus options)

2. Use Nautilus to navigate to a directory with many files you can delete, e.g. ~/.thumbnails/normal (For me, that folder included about 10000 files)

3. Select all files (e.g. with CRTL+A) and choose "delete" from the contextmenu.

what happens:
Deleting these files takes ages (for me: 10000 files in prospected 11 hours) and CPU load is maximum.

Probably because nautilus sorts all files after each one delted.

When I closed that nautilus window, deleting was a question of seconds.

what should happen:
Deleting many files should be fast and shouldn't stress the CPU.

Sebastien Bacher (seb128) wrote :

I've forwarded the issue upstream:

Changed in nautilus:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Andrew Bennetts (spiv) wrote :

I've experienced this too. I selected a little over 10000 files in my /tmp directory, and hit the Delete key. Nautilus is has been using 100% CPU for many minutes already, and has also started swapping as it apparently tried to use nearly 600MB of memory.

In my case the files were "testbzrXXXXXXX.log" files, mostly empty ones, that have no thumbnails when viewed with nautilus, just a standard icon. I was in "View as List" mode.

Pedro Villavicencio (pedro) wrote :

This is still an issue with latest nautilus on Hardy.

Changed in nautilus:
status: Confirmed → Triaged
Jakob Unterwurzacher (jakobunt) wrote :

Still in Jaunty.

Akdo (menoft) wrote :

Same problem there

Changed in nautilus:
importance: Unknown → Medium
Changed in nautilus:
status: New → Incomplete
Changed in nautilus:
status: Incomplete → Expired
Sebastien Bacher (seb128) wrote :

Do you still see that issue in newer versions?

Changed in nautilus (Ubuntu):
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.