Re: KDED causing long delay on shutdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2022-07-14 at 17:36 +0100, Patrick O'Callaghan wrote:
> On Sun, 2022-05-01 at 12:14 +0100, Patrick O'Callaghan wrote:
> > > This has been happening for IIRC) several months now at least:
> > > 
> > > $ journalctl --boot=-1 --reverse
> > > ...
> > > May 01 10:44:26 Bree systemd[1210]: plasma-kded.service: Consumed
> > > >
> > > 18.380s CPU time.
> > > May 01 10:44:26 Bree systemd[1210]: Stopped KDE Daemon.
> > > May 01 10:44:26 Bree systemd[1210]: plasma-kded.service: Failed
> > > with > result 'timeout'.
> > > May 01 10:44:26 Bree systemd[1210]: plasma-kded.service: Main
> > > process > exited, code=killed, status=9/KILL
> > > May 01 10:44:26 Bree systemd[1210]: plasma-kded.service: Killing
> > > >
> > > process 1791 (ProfilesWatcher) with signal SIGKILL.
> > > May 01 10:44:26 Bree systemd[1210]: plasma-kded.service: Killing
> > > >
> > > process 1722 (kded5) with signal SIGKILL.
> > > May 01 10:44:26 Bree systemd[1210]: plasma-kded.service: State >
> > > 'stop-sigterm' timed out. Killing. <-----------------------*
> > > May 01 10:43:03 Bree systemd[1]: Unmounted /run/user/0.
> > > May 01 10:43:03 Bree systemd[1]: run-user-0.mount: Deactivated >
> > > successfully.
> > > May 01 10:43:03 Bree systemd[1]: Unmounted /run/user/990.
> > > May 01 10:43:03 Bree systemd[1]: run-user-990.mount: Deactivated
> > > >
> > > successfully.
> > > May 01 10:43:03 Bree systemd[1]: Stopped Network Manager Wait
> > > Online.
> > > ...
> > > 
> > > 
> > > Any idea why? I see some apparently related BZ entries dating
> > > back
> > > a
> > > couple of years, but nothing recently.
> 
> I posted the above a couple of months back, but haven´t seen any
> resolution so far. Google finds a few references to similar issues
> but
> they seem related to Wayland, while I'm using exclusively X11.
> 
> The problem appears to be related to plasma-kded.service and happens
> even when I explicitly log out before shutting down.
> 
> I've reported it at: https://bugs.kde.org/show_bug.cgi?id=456713
> 

1) I tried logging out and manually killing the kded5 process from
another console (using -9 as it ignored the standard kill). I then
rebooted and saw no delay.

2) New session: logged out and killed kded5 as before, then tried
logging in again. The login screen (SDDM) hung until I manually killed
the kded5 process from another console (I didn't wait for it to time
out), at which point the SDDM login continued.

3) Clearly the kded5 process should die when I log out. I have
"KillUserProcesses=yes" in /etc/systemd/logind.conf, so why isn't this
happening automatically? Is kded5 not a user process? If not, how can I
ensure that this happens? There doesn't seem to be any valid reason for
kded5 to be still active when the user isn't logged in.

poc
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux