Bug 477612 - Search can make Dolphin and Plasmashell freeze
Summary: Search can make Dolphin and Plasmashell freeze
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 23.08.3
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-27 13:26 UTC by Henning
Modified: 2023-12-15 08:12 UTC (History)
2 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 Henning 2023-11-27 13:26:12 UTC
I am having lots of proplems with KDE and dolphin freezes lately. It didnt result in a crash, but Dolphin search making the complete KDE shell unresponsive, specifically the panel and meta keyboard shortcut. Alt+Tab works though.

I just searched for "benchmark" in a folder with some symlinks and moderately many files.

Apps should never cause the entire shell to hang? Is there a Memory allocation problem, or CPU power? 

KDE shell should have higher privileges so that it never just hangs, but the app is throttled, if that is possible.

Specified App:
dolphin-libs-23.08.3-1.fc39.x86_64
dolphin-plugins-23.08.3-1.fc39.x86_64
dolphin-23.08.3-1.fc39.x86_64
nextcloud-client-dolphin-3.10.1-1.fc39.x86_64

--- Software ---
OS: Fedora Linux 39.20231126.0 (Kinoite)
KDE Plasma: 5.27.9
KDE Frameworks: 5.111.0
Qt: 5.15.11
Kernel: 6.5.12-300.fc39.x86_64
Compositor: wayland

--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 21.4 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Audio: Pipewire
Comment 1 tagwerk19 2023-11-27 16:03:03 UTC
(In reply to Henning from comment #0)
> I just searched for "benchmark" in a folder with some symlinks and moderately many files.
Is the folder indexed with Baloo?

If you search from a folder that is not indexed, Dolphin will try to do a search "there and then" for you. It follows the symlinks and can be slow...
Comment 2 Henning 2023-12-15 01:22:17 UTC
sorry for late reply.

No I disabled baloo as it caused crashes and freezes
Comment 3 Henning 2023-12-15 01:23:28 UTC
its okay that dolphin is slow, but how can the entire plasmashell and dolphin just freeze? Is there no seperation of process priority? I have the feeling this really lacks in Plasma...
Comment 4 tagwerk19 2023-12-15 08:12:53 UTC
(In reply to Henning from comment #2)
> No I disabled baloo as it caused crashes and freezes
Means you've got trouble both with Baloo and Dolphins own search :-/

When you searched for "benchmark" in Dolphin, were you asking for a filename search or content?

I'm wondering what the Nextcloud client might do.

Whether Dolphin sees your Nextcloud space as just another disc mounted under your $HOME or you have folders locally that are synchronised with your Nextcloud space (and yet might trigger a synchronisation when they are being read?). Where do the symlinks go? Can you disable the Nextcloud client and see if the issue is still there?                                         

The sort of slowdown you've described sounds to me like a process using all RAM and starting to swap. You don't get the useful sound effect warnings nowadays like when you had a HDD. You could try watching with htop.
    
An alternative, and this can happen, is that you've got a process repeatedly crashing and restarting (writing shedloads of core dump files). That also slugs performance.