Version: (using Devel) OS: Linux Installed from: Compiled sources I've some tousand files in some directorys in my trash. In the settings I say that files will be deleted automatically if the trash is larger than 1% of the HD. When I now move a file (11 Kb) to trash the process kio_trash is nearly 100% for 1 minute. The diaglogue for moving the file to trash is running. Then the file is in the trash. When I now empty the complete trash and delete again a file. It just take a second.
*** Bug 180124 has been marked as a duplicate of this bug. ***
Created attachment 31922 [details] Strace of moving a file to trash. Attached an strace with relative timestamps of invoking kioclient move ./test trash:/ Most time is spent between line 3880 and 6527, where you see a lot of EGAIN errors ("Resource temporarily unavailable").
I've been looking a bit more at the strace file and on line 680-681 it reads: socket(PF_FILE, SOCK_STREAM, 0) = 7 connect(7, {sa_family=AF_FILE, path=@"/tmp/.X11-unix/X0"...}, 20) = 0 File descriptor 7 is causing a lot of EGAIN errors in the remaining of the file. It suggests this is a Xorg problem. However, this worked fine in KDE 4.2.0 and my developer account with KDE 4.2.x branch doesn't show problems as well. The packages where I see this behavior are from the kdemod project (Arch Linux).
*** Bug 186232 has been marked as a duplicate of this bug. ***
Using Kubuntu 8.10 here and seeing the same problem. When deleting a couple of folders at once, kio_trash takes up 100% CPU, then I get a dialog saying the trash has reached maximum size and I have to empty manually.
On Kde 4.2.2 (Kubuntu 9.04 Jaunty latest beta) I get a high CPU load (~50 %) for kio_trash when I try to delete something when the trashcan is rather full. Deleting for me might take up to 30 seconds (moving to trash on the same partition) When I empty the trashcan, deleting is nearly instantaneous.
Indeed, emptying the trash made the problem go away.
kde 4.2.2-r1 (gentoo) moving stuff into trash takes 100% (on one core) and takes like forever to do this task. no matter whether empty or filled trash. :(
*** Bug 190224 has been marked as a duplicate of this bug. ***
still same problem unter Kubuntu Jaunty with KDE 4.2.3
I emptied my trash and now it works fine. Maybe cause i reinstall / (from gutsy o janty) but i've kept /home, so there are some old file in trash that cause a problem.
*** Bug 188412 has been marked as a duplicate of this bug. ***
Problem confirmed on Kubuntu Jaunty with kde 4.2.4 packages. kio_trash eats all CPU on one core for a few seconds when deleting a small file. If deleting several files, it takes a few seonds for every file. My Trash contains: 4.2 MiB 1022 Files 129 Folders
i have the same problem trashing an item take ages
Still a problem in KDE 4.3 Beta 2
Is this bug going to be fixed soon? I too have this annoying problem.
I found in this Launchpad bug https://bugs.launchpad.net/kdelibs/+bug/354617 that With the unchecked "Limit to maximum size" in the Trash settings, moving to trash is instant.
I can confirm this bug on Kubuntu 9.04 KDE 4.3 RC3. This bug first appeared when I switched to Kubuntu 9.04 (with KDE 4.2) when also the "intel problem" showed up. An other PC (without intel graphics) also with Kubuntu 9.04 KDE 4.3 RC3 does not expose this problem, so there might be a link to x.org as suggest above. The workaround which did the trick for me was to start "kcmshell4 kcmtrash" in the konsole and unselect "limit to maximum size" (translated from german). I would be glad to provide more information to help fix this bug.
Thank you for the hint to "kcmshell4 kcmtrash". I hadn't figured out how to access this. nVIDIA here, not Intel.
as far as i know the "regular" way to access the kcmtrash dialog is via the trash widget on the desktop - not the kcmshell4 kcmtrash one :-) the problem has been observed on intel and ati by the way ... i don't see any difference :-)
> as far as i know the "regular" way to access the kcmtrash dialog is via the trash widget on the desktop right, I have somehow overseen that. BTW: KRunner (Alt+F2) gets it as well when you type "trash". (me love krunner!)
*** Bug 203916 has been marked as a duplicate of this bug. ***
I can confirm this bug on gentoo KDE 4.3 Switching off the size limitation of the trashcan resolves the problem for me
*** Bug 203775 has been marked as a duplicate of this bug. ***
Hej, this bug has been fixed in trunk (coming 4.4) now. If you are running KDE 4.3, just disable the 'Trash size limit' option in the configuration dialog. Ciao, Tobias
*** Bug 204800 has been marked as a duplicate of this bug. ***
*** Bug 180362 has been marked as a duplicate of this bug. ***