Kded5 high CPU (Stretch)

Everything about X, Gnome, KDE, ... and everything running on it

Kded5 high CPU (Stretch)

Postby Hallvor » 2018-02-01 05:48

Hello!
I am having a strange issue with Kded5 grabbing 100% CPU from time to time. After some experimentation, I think I have found the culprit: Typing Control + F in Dolphin to search for a file.

The CPU spike will start within minutes or hours of performing a search, even if the search window in Dolphin is closed.

Could someone else with KDE (Stretch) test this before I file a bug report?
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 843
Joined: 2009-04-16 18:35
Location: Norway

Re: Kded5 high CPU (Stretch)

Postby bw123 » 2018-02-01 06:23

Hallvor wrote:
Could someone else with KDE (Stretch) test this before I file a bug report?


I haven't had issues like this since about half way thru jessie (nepomuk) so I hope it's not back. I don't use dolphin too often but it's pretty good and reliable, just not my style.

When you say it spikes, do you mean it stays at 100% for good? I have a machine with 25 days kde uptime on stretch and it's really doing fine.

They added some cli baloo commands, but I can't find a lot of help, maybe try playing with balooctl.

ah... yeah try with baloosearch from terminal and see if it does the same thing?

No manpages, don't know where the docs are, don't know how it all fits together and don;t know how to find out. I think they went thru most of this a couple years ago so the mailing lists are hard to use also.
User avatar
bw123
 
Posts: 3408
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Kded5 high CPU (Stretch)

Postby Hallvor » 2018-02-01 08:19

Thanks for the reply!

Yes, Dolphin is (almost always) good and reliable. I had nearly a month of uptime without any issues, but did not use Control + F to find files until yesterday. (I had to find that one file among several thousand others.)

I was quick to close the wondow with the search bar, but to no avail. The CPU spiked to 100% and stayed there. I had to log out and back in again to make the computer behave in a normal manner. This is not the first time. It is more like every single time I use the search function in Dolphin.

Would you mind testing it in Dolphin?

I have no idea what baloo is, but I'll find out.

Edit: I tested baloo with "baloosearch test" from the CLI. I got no errors (or results), and the CPU seems fine.
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 843
Joined: 2009-04-16 18:35
Location: Norway

Re: Kded5 high CPU (Stretch)

Postby bw123 » 2018-02-01 08:50

Hallvor wrote:Would you mind testing it in Dolphin?


I did so before I posted the first time it has been a couple of hours.

I removed a lot of stuff, including all the ibus, keyboard switchers, languages, etc. and disabled a few of the search plugins in krunner. I don't use a network on that machine either, so I pruned away all the samba and other non-essentials, android phone, upgrade apps I could find. I don't use mail or that pim stuff either so akonadi isn't running.

Maybe it's looking for something on a device it can't find? Does dolphin only search for files, or does it only search for filetypes? I know the thing can use metadata, or file tagging/rating. I don't use that either though.
User avatar
bw123
 
Posts: 3408
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Kded5 high CPU (Stretch)

Postby Hallvor » 2018-02-03 17:09

I have used the search function several times over the past couple of days, but everything works as normal. It is therefore not possible for me to replicate this issue for now.
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 843
Joined: 2009-04-16 18:35
Location: Norway

Re: Kded5 high CPU (Stretch)

Postby dotlj » 2018-02-05 05:29

Dolphin can be a memory hog and cpu hog, especially when copying directories over a network using FISH://
I haven't found searching causing any problems. scp works much faster and with less resources than Dolphin, so I do most network file transfers with it.
User avatar
dotlj
 
Posts: 599
Joined: 2009-12-25 17:21

Re: Kded5 high CPU (Stretch)

Postby Hallvor » 2018-02-18 08:35

It happened again. Also this time right after deleting local files I had searched for in Dolphin.

Image

Any ideas?

Edit: Added logs. It happened around 10 o'clock.

Code: Select all
feb. 18 09:17:01 debian-hp CRON[4496]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
feb. 18 09:17:01 debian-hp CRON[4495]: pam_unix(cron:session): session closed for user root
feb. 18 09:32:34 debian-hp wpa_supplicant[810]: wlan0: WPA: Group rekeying completed with 38:d5:47:74:4e:9c [GTK=CCMP]
feb. 18 09:58:14 debian-hp su[5020]: Successful su for root by hallvor
feb. 18 09:58:14 debian-hp su[5020]: + /dev/pts/3 hallvor:root
feb. 18 09:58:14 debian-hp su[5020]: pam_unix(su:session): session opened for user root by hallvor(uid=1000)
feb. 18 09:58:14 debian-hp su[5020]: pam_systemd(su:session): Cannot create session: Already running in a session
feb. 18 09:58:42 debian-hp PackageKit[1481]: get-updates transaction /4006_adcaacae from uid 1000 finished with success after 369ms
feb. 18 10:00:09 debian-hp su[5020]: pam_unix(su:session): session closed for user root
feb. 18 10:01:45 debian-hp systemd[1]: Started Run anacron jobs.
feb. 18 10:01:45 debian-hp anacron[5201]: Anacron 2.3 started on 2018-02-18
feb. 18 10:01:45 debian-hp anacron[5201]: Normal exit (0 jobs run)
feb. 18 10:01:45 debian-hp systemd[1]: anacron.timer: Adding 3min 30.780224s random time.
feb. 18 10:02:21 debian-hp dbus-daemon[967]: Rejected: destination has a full message queue, 0 matched rules; type="signal", sender=":1.4251" (uid=1000 pid=5184 comm="/usr/bin/dolphin ") inter
feb. 18 10:04:12 debian-hp su[5254]: Successful su for root by hallvor
feb. 18 10:04:12 debian-hp su[5254]: + /dev/pts/3 hallvor:root
feb. 18 10:04:12 debian-hp su[5254]: pam_unix(su:session): session opened for user root by hallvor(uid=1000)
feb. 18 10:04:12 debian-hp su[5254]: pam_systemd(su:session): Cannot create session: Already running in a session
feb. 18 10:05:19 debian-hp PackageKit[1481]: get-updates transaction /4007_dbabbbba from uid 1000 finished with success after 408ms
feb. 18 10:06:01 debian-hp su[5254]: pam_unix(su:session): session closed for user root
feb. 18 10:13:24 debian-hp su[5775]: Successful su for root by hallvor
feb. 18 10:13:24 debian-hp su[5775]: + /dev/pts/0 hallvor:root
feb. 18 10:13:24 debian-hp su[5775]: pam_unix(su:session): session opened for user root by hallvor(uid=1000)
feb. 18 10:13:24 debian-hp su[5775]: pam_systemd(su:session): Cannot create session: Already running in a session
feb. 18 10:13:46 debian-hp su[5775]: pam_unix(su:session): session closed for user root
feb. 18 10:13:46 debian-hp PackageKit[1481]: get-updates transaction /4008_ebbddbad from uid 1000 finished with success after 420ms
feb. 18 10:17:01 debian-hp CRON[6194]: pam_unix(cron:session): session opened for user root by (uid=0)
feb. 18 10:17:01 debian-hp CRON[6195]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
feb. 18 10:17:01 debian-hp CRON[6194]: pam_unix(cron:session): session closed for user root
feb. 18 10:28:46 debian-hp su[6683]: Successful su for root by hallvor
feb. 18 10:28:46 debian-hp su[6683]: + /dev/pts/0 hallvor:root
feb. 18 10:28:46 debian-hp su[6683]: pam_unix(su:session): session opened for user root by hallvor(uid=1000)
feb. 18 10:28:46 debian-hp su[6683]: pam_systemd(su:session): Cannot create session: Already running in a session
feb. 18 10:31:07 debian-hp su[6683]: pam_unix(su:session): session closed for user root
feb. 18 10:31:15 debian-hp su[6757]: Successful su for root by hallvor
feb. 18 10:31:15 debian-hp su[6757]: + /dev/pts/0 hallvor:root
feb. 18 10:31:15 debian-hp su[6757]: pam_unix(su:session): session opened for user root by hallvor(uid=1000)
feb. 18 10:31:15 debian-hp su[6757]: pam_systemd(su:session): Cannot create session: Already running in a session
feb. 18 10:32:33 debian-hp wpa_supplicant[810]: wlan0: WPA: Group rekeying completed with 38:d5:47:74:4e:9c [GTK=CCMP]
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 843
Joined: 2009-04-16 18:35
Location: Norway

Re: Kded5 high CPU (Stretch)

Postby debiman » 2018-02-19 14:34

Hallvor wrote:It happened again. Also this time right after deleting local files I had searched for in Dolphin.

Image

Any ideas?

on this scrot, gwenview seems just as busy as kded5.
User avatar
debiman
 
Posts: 2923
Joined: 2013-03-12 07:18

Re: Kded5 high CPU (Stretch)

Postby bw123 » 2018-02-19 15:12


dbus-daemon[967]: Rejected: destination has a full message queue


Never seen one of these before, but it doesn't sound good. Did you look it up? Also what is "PackageKit[1481]: get-updates" doing every few minutes? That sounds a little over zealous.
User avatar
bw123
 
Posts: 3408
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Kded5 high CPU (Stretch)

Postby Hallvor » 2018-02-19 19:25

bw123 wrote:

dbus-daemon[967]: Rejected: destination has a full message queue


Never seen one of these before, but it doesn't sound good. Did you look it up? Also what is "PackageKit[1481]: get-updates" doing every few minutes? That sounds a little over zealous.


I did search online, and it wasn't of much help. Many old and obscure bugs and few solutions. I did find something useful, though. This one is quite old, but explains how it can happen: https://kdepepo.wordpress.com/2011/05/1 ... ded4-bugs/

I'll try disabling the search module and see how it goes.

I am guessing "PackageKit[1481]: get-updates" is looking for updates. :lol: Don't know why it does that so often, though. Anyway, it is the least of my worries right now.
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Hallvor
 
Posts: 843
Joined: 2009-04-16 18:35
Location: Norway


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable