Bug 419018 - dolphin lags when there is a lot of mounted directory
Summary: dolphin lags when there is a lot of mounted directory
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.04.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-19 13:40 UTC by Eric BURGHARD
Modified: 2021-06-12 20:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric BURGHARD 2020-03-19 13:40:45 UTC
SUMMARY
When using self-hosted kubernetes, dolphin becomes extremely slow. I think this is due to the number of overlay mounts created by kubernetes from /var/lib/containers/storage/overlay/ which dolphin probably try to motorize.

STEPS TO REPRODUCE
1. start kubernetes
2. open dolphin

OBSERVED RESULT
If you try to enter a path in the location bar and are not quick enough to validate with enter, the location path is resetted to initial value.

Sometimes dolphin freeze a few seconds.

EXPECTED RESULT
Same behavior than without a running kubernetes

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.18.3
(available in About System)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Comment 1 Eric BURGHARD 2020-05-07 10:55:39 UTC
The bug is definitively due to the high number of mounts done by kubernetes for pods (I have 127 mounts on a local lab on my laptop).

The mounts appears in the devices section on dolphin sidebar. Hiding the devices has no effect.

Beside being unusable (lots of lags, freezes) there is also memory leak. Memory consumption of dolphin continually raise every seconds even without making any interaction with dolphin. It ends up by eating all available memory if dolphin stays in the background for a while.

Dolphin is working as expected as long as kubernetes is not working.
Comment 2 Eric BURGHARD 2020-12-21 15:36:52 UTC
Some discussion on reddit related to this bug

https://www.reddit.com/r/kde/comments/hrtzyg/how_to_exclude_overlayfs_mounts_from_showing_in/
Comment 3 Mirosław Kopeć 2021-03-23 22:09:56 UTC
This bug is related to another bugs;
https://bugs.kde.org/show_bug.cgi?id=416972
https://bugs.kde.org/show_bug.cgi?id=413110

I also waiting for a fix because using Kubernetes and KDE together is very annoying. The bug is easy to reproduce, so hopefully someone with knowledge will fix it. On the other hand, those bugs were reported some time ago.
Comment 4 Ahmad Samir 2021-06-12 20:45:39 UTC
If you disable auto-completion in dolphin (right click in the location bar and from the menu select "text completion" -> none), does the location bar work as expected?

The memory consumption issues, might be related to bug 398908, could you test again with KIO 5.83?