Bug 453576 - kioslave5 consumes massive resources slowing down Gimp file save 10 times
Summary: kioslave5 consumes massive resources slowing down Gimp file save 10 times
Status: REOPENED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.92.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-09 14:25 UTC by BWK
Modified: 2022-08-30 09:07 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Partial output in terminal (93.05 KB, text/plain)
2022-08-30 02:17 UTC, BWK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BWK 2022-05-09 14:25:21 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open a Gimp project in Kubuntu 22,04
2. Open one or more Dolphin windows
3. Start a file save operation in Gimp

OBSERVED RESULT
At the beginning of the save, kioslave5 pops up as a new process and rapidly takes over nearly all of the available RAM in the system, approximately 30 GB on a system with 32 GB. The result is the save takes about 10 times longer than normal.
If all Dolphin windows are closed, the save proceeds and completes in the normal amount of time

EXPECTED RESULT
Same result as in previous releases of Kubuntu where there has been no such issue observed. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04/KDE 5.24.4
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Also observed in debian bookworm
Comment 1 Ahmad Samir 2022-07-09 19:44:36 UTC
From terminal enabled kio debug output, and start dolphin:
export QT_LOGGING_RULES="*kio*=true"
dolphin

then save in gimp, and attach the terminal output here, hopefully it'll give a clue what's going on.
Comment 2 Bug Janitor Service 2022-07-24 04:36:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-08-08 04:35:22 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 4 BWK 2022-08-30 01:19:54 UTC
The issue is most apparent when Dolphin is monitoring the folder in which the file is being saved into. Otherwise, the operation is unremarkable. This can be seen occurring in real time. With the Dolphin window showing any other folder, the multiple running instances of kioslave5 are totalling well under 1 Gb of memory. As soon as the folder in which the file is being saved into is entered from the Dolphin window, there is an immediate appearance of an instance of kioslave5 with the behaviour described above.
Comment 5 BWK 2022-08-30 02:17:26 UTC
Created attachment 151699 [details]
Partial output in terminal
Comment 6 BWK 2022-08-30 09:07:07 UTC
Comment on attachment 151699 [details]
Partial output in terminal

Also seeing this issue on a different computer that has a Dolphin window open that was browsing to the same file path through a NFS share, kioslave5 on this computer behaving in the same way during save even though the save operation is not occurring there.