gvfsd-trash 50% cpu usage for minutes, even hours after trashing many files
Submitted by xyz..@..il.com
Assigned to Xfce Bug Triage
Description
After deleting many files with the trash
command cpu usage of gvfsd-trash jumps to 50% and stays there. With the following bash script I could reproduce this in all of the cases I ran that script:
Thunar & sleep 2s && ( cd mktemp -d && for ((i=0;i<2000;i++)); do touch "$i.tmp"; done && trash *.tmp )
Please see these bugs: https://bugzilla.gnome.org/show_bug.cgi?id=763394 https://bugzilla.gnome.org/show_bug.cgi?id=763218
I am sorry, I forgot on this bug. Yes please, fill bug against xfdesktop. G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT has to be used instead of enumeration...
Version: 1.6.10