Summary: | After 'kdesu konsole' dbus-daemon takes up to 70% of CPU | ||
---|---|---|---|
Product: | [Applications] kdesu | Reporter: | MahMahoritos <mahmahoritos> |
Component: | general | Assignee: | kdesu bugs tracker <kdesu-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ogoffart, retratserif, v01d3r, valentyn.pavliuchenko |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | strace of dbus-daemon |
Description
MahMahoritos
2011-03-05 12:03:17 UTC
confirmed the behavior (though only once konsole exited, not when running commands in it): dbus-daemon eats some cpu, rest is burned in the kernel, probably playing message ping-pong with something. i'm not confirming this as a kde bug yet - it may a bug in dbus-daemon (or even the kernel). somebody with the inclination should attach strace to the amok running dbus-daemon and see where it loops. i can't reproduce that right now, as konsole now refuses to run from kdesu after i killed the offending process. Reproduced this and have 3% CPU load on dbus-daemon's root copy process. Using KDE 4.6.1 Distro: ArchLinux Core 2 Duo T5600 1.83Ghz 2GB RAM Created attachment 58739 [details]
strace of dbus-daemon
here's the strace from the dbus-daemon. i think it operates normally. the thing that goes wrong is knotify hammering it really hard. the unaccounted for cpu time comes from processes which are started and exit so fast that ps/top are not able to display them.
*** This bug has been confirmed by popular vote. *** > After starting 'kdesu konsole' third copy of dbus-daemon process starts
> (belongs to root, over two belongs to my user and 'messagebus')
This happens with any KDE app, started with root privileges, for example kate.
Also this starts kded4 process with root privileges, which I have to kill because it doesn't exit when I close that program, launched by kdesudo.
But this happens once. If I launch kdesudo kate again after killing root kded4, new root kded4 process doesn't start anymore (need restart KDE session to happen it again).
Have 5% CPU load by dbus-daemon after trying to reproduce the issue. KDE 4.6.2, Debian unstable Core2 Duo @ 3.2GHz I failed to reproduce the reported problem using KDE SC 4.8 beta1. No High CPU usage is observed afterwards. Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. Tested command /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu krusader & Looks OK. Upd: System: Neon 20.04 Plasma version: 5.21.3 KDE Frameworks version: 5.80.0 Qt version: 5.12.2 |