Bug 372904

Summary: kded5 maxing one CPU core after search performed in Dolphin
Product: [Frameworks and Libraries] frameworks-kded Reporter: Nicolas F. <kdebugs>
Component: generalAssignee: Anthony Fieroni <bvbfan>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, vmlinuz386, zanetu
Priority: NOR    
Version First Reported In: 5.28.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nicolas F. 2016-11-24 21:56:27 UTC
the kded5 process appears to max out one CPU core after a search is performed in Dolphin (through hitting Ctrl+F in a folder). The CPU usage of the kded5 process continues to be that high until it is killed and restarted.

The problem appears to always be reproducible, and did not occur in previous versions.
Comment 1 Christoph Feck 2016-11-30 13:08:32 UTC
Could you disable kded modules in systemsettings5 > Startup & Shutdown > Background Services to see which of them is responsible?
Comment 2 Gerardo Exequiel Pozzi 2016-12-06 03:57:50 UTC
Similar thing happens here, not only CPU usage, but lots of memory is used. after some time, CPU usage becomes 0, but memory usage keeps high.

Also if logout the session kded5 keeps in memory until explicit "kill -KILL" is sent.

Running "standalone" dolphin (ie from Xfce) does not have this issue, since not kded5 is running.

Tomorrow I will test disabling services.
Comment 3 Gerardo Exequiel Pozzi 2016-12-07 00:48:29 UTC
There is a flood of this messages on session bus, when this happens.
signal time=1481071391.183634 sender=:1.147 -> destination=(null destination) serial=645086 path=/; interface=org.kde.KDirNotify; member=FilesAdded
   string "filenamesearch:?search=maze&url=file:///mnt/data"
Comment 4 David Faure 2016-12-21 07:45:01 UTC
This is all known, see https://git.reviewboard.kde.org/r/129394/
Comment 5 Anthony Fieroni 2016-12-21 11:54:45 UTC
I fix it to 16.08, 16.12 and master in kio-extras. Please pull latest changes from your branch, ty. Further work will be made in future.