Bug 413560 - kioworker process causes high cpu usage while Dolphin sends thousands of files to Trash
Summary: kioworker process causes high cpu usage while Dolphin sends thousands of file...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 443668 472731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-28 17:23 UTC by Patrick Silva
Modified: 2024-02-29 14:07 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot showing trash.so cpu usage (153.11 KB, image/png)
2019-10-28 17:23 UTC, Patrick Silva
Details
screenshot taken while Dolphin 21.04 sends thousands of files to Trash (73.86 KB, image/png)
2021-05-01 13:53 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-10-28 17:23:04 UTC
Created attachment 123544 [details]
screenshot showing trash.so cpu usage

SUMMARY
trash.so always causes high cpu usage while Dolphin sends thousands of files (jpg files when the attached screenshot was taken) to Trash.

STEPS TO REPRODUCE
1. open Dolphin
2. open a folder containing thousands of files
3. press ctrl+a to select all files and send them to Trash
4.  press ctrl+esc to open System Activity and observe the cpu usage

OBSERVED RESULT
trash.so process causes high cpu usage

EXPECTED RESULT
normal cpu usage

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.3.7-arch1-1-ARCH
OS Type: 64-bit
Processors: 2 × Intel® Celeron® CPU G1820 @ 2.70GHz
Memory: 7,7 GiB
Comment 1 Patrick Silva 2021-05-01 13:53:02 UTC
This issue persists even when Dolphin 21.04 sends deleted files to .Trash-<userid> folder located in source partition instead of home/myusername/.local/share/Trash/

Operating System: Arch Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 2 Patrick Silva 2021-05-01 13:53:48 UTC
Created attachment 138057 [details]
screenshot taken while Dolphin 21.04 sends thousands of files to Trash
Comment 3 Patrick Silva 2021-09-18 19:34:05 UTC
Currently the process that causes high cpu usage is called kioslave5.

Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 4 Patrick Silva 2021-10-13 15:39:36 UTC
*** Bug 443668 has been marked as a duplicate of this bug. ***
Comment 5 Patrick Silva 2023-07-28 23:29:35 UTC
*** Bug 472731 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Silva 2024-02-29 14:07:42 UTC
kioworker process uses 21% of cpu while Dolphin 22.02 sends thousands of .jpg files to Trash.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4670K CPU @ 3.40GHz
Memory: 15,5 GiB of RAM