I am on Ubuntu 20.04 with 64GB RAM and Threadripper 32 Core, when emptying trash, with 32K files (the Flikr 30K dataset), a number of gvfsd-trash threads are spawned and the Gnome desktop freezes.
To determine it was gvfsd-trash, I switched to another tty, logged in to console, and killed the process using htop. This restored desktop functionality. I don't know what to look for in the logs, but I can reliably reproduce the behaviour. Steps: 1. download the flickr 30K dataset : https://www.kaggle.com/hsankesara/flickr-image-dataset 2. Extract and then open the folder containing the files (this will take about 22s in Nautilus on my workstation, as an aside this operation takes >2s in Windows Explorer), 3. Select All (This takes about 9 seconds, as an aside, this operation takes >.5 seconds in Windows Explorer). 4. Delete files (This takes a few minutes) 5. Empty trash and watch Gnome Shell and all applications hang like me?? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gvfs in Ubuntu. https://bugs.launchpad.net/bugs/1558768 Title: gvfsd-trash causing high CPU-load when try to empty trash with thousands of files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1558768/+subscriptions -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
