Bug 416972 - Plasmashell, several KDE applications consume 100% CPU, spam notifications and become unresponsive with many overlayfs mounts
Summary: Plasmashell, several KDE applications consume 100% CPU, spam notifications an...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: DataEngines (show other bugs)
Version: 5.17.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 03:50 UTC by Chris van der Pennen
Modified: 2023-10-19 03:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris van der Pennen 2020-01-31 03:50:51 UTC
SUMMARY
With many overlayfs mounts present, eg when created by microk8s, several KDE applications and Plasmashell consume 100% CPU, spam notifications and become unresponsive.

Possibly related to bug 413110

STEPS TO REPRODUCE
1. Install microk8s: sudo snap install --classic microk8s
2. Run many containers: sudo microk8s.kubectl run nginx --image=nginx --replicas=50 --expose=true --port='80'
3. Tear down: sudo microk8s.kubectl delete service/nginx deployment/nginx ; sudo snap remove --purge microk8s

This is likely reproducible by running a bunch of containers in regular Docker, too.

OBSERVED RESULT

* Kate, Gwenview, Dolphin consume 100% CPU and become partially unresponsive with significant delay responding to inputs
* Dolphin begins consuming multiple gigabytes of RAM - Heaptrack suggests most of this goes via Solid::StorageAccess::accessibilityChanged
* Plasmashell consumes 100% CPU and spams "Filesystem is not responding" notifications
* If the notification backlog is not cleared fast enough, Plasmashell crashes

EXPECTED RESULT
None of the above should occur

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.10 + kubuntu backports PPA
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.12.4
Comment 1 Bayan 2020-09-03 15:16:24 UTC
Has anybody found any workaround?

Is it possible to tell plasmashell/dolphin/gwenview to ignore certain mount points?
Comment 2 Nate Graham 2023-09-19 20:21:44 UTC
Hello and thank you again for the bug report! Unfortunately we were not able to address it yet, nor even manage to reproduce the issue ourselves. Can we ask you to please check if this issue is still happening with Plasma 5.27?

If it is, please change the status to REPORTED. Thanks a lot!
Comment 3 Bug Janitor Service 2023-10-04 03:46:37 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 4 Bug Janitor Service 2023-10-19 03:46:01 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!