gvfsd-trash causing high CPU-load when try to empty trash with thousands of files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
- Ubuntu 16.04 (Xenial Xerus) Daily Build
- AMD64
- Unity
Steps to reproduce:
- a folder with thousands of files (here about 15000 files with a overall size of 1.5 GB)
- delete files to trash
- right-click at the trash icon
- click empty trash
A dialog "Dateioperationen" shows "vorbereiten" (it's German, I think in English the dialog has the title "file operations" and shows the text "prepare").
This happens at this point:
- the dialog remains unchanged
- the process gvfsd-trash consumes up to 75% CPU, see output of top
After 30 minutes of waiting for any reaction I killed the process. The trash still contains all the files.
jan@janvm160464:~$ top
top - 20:17:24 up 31 min, 1 user, load average: 1,94, 1,97, 1,68
Tasks: 244 gesamt, 5 laufend, 239 schlafend, 0 gestoppt, 0 Zombie
%CPU(s): 85,1 be, 14,6 sy, 0,0 ni, 0,0 un, 0,0 wa, 0,0 hi, 0,3 si, 0,0 st
KiB Spch : 4037984 gesamt, 2142152 frei, 900784 belegt, 995048 Puff/Cache
KiB Swap: 0 gesamt, 0 frei, 0 belegt. 3028940 verfü Spch
PID USER PR NI VIRT RES SHR S %CPU %MEM ZEIT+ BEFEHL
1760 jan 20 0 454696 24448 7840 R 69,1 0,6 20:05.18 gvfsd-trash
1690 jan 20 0 781012 71096 36440 S 12,0 1,8 6:13.42 nautilus
2649 jan 20 0 660088 41700 30328 S 10,3 1,0 0:04.29 gedit
315 root 20 0 32236 2936 2500 R 3,3 0,1 1:06.21 systemd-jou+
825 root 20 0 383184 77448 31492 S 1,3 1,9 0:15.84 Xorg
1543 jan 20 0 1254876 189468 65780 S 1,3 4,7 0:19.38 compiz
641 syslog 20 0 256380 3364 2684 S 1,0 0,1 0:16.81 rsyslogd
1521 jan 20 0 567508 32776 25756 S 0,7 0,8 0:01.16 unity-panel+
1448 jan 20 0 39728 316 12 S 0,3 0,0 0:00.13 upstart-dbu+
2258 root 20 0 0 0 0 S 0,3 0,0 0:00.23 kworker/u12+
2695 jan 20 0 48912 3868 3136 R 0,3 0,1 0:00.01 top
1 root 20 0 119720 5664 3780 S 0,0 0,1 0:02.72 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 R 0,0 0,0 0:01.45 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root 20 0 0 0 0 R 0,0 0,0 0:06.15 rcu_sched
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
affects: | ubuntu → gvfs (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1558768/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]