<div dir="auto">I've seen this a lot with docker/containerd. It seems as if for some reason systemd doesn't wait for theirĀ  cgroups to cleaned up on shutdown. It's very easy to reproduce. Start a docker container and then power off the machine. Since the move to cgroups V2 containerd should be using systemd to manage the cgroup tree so a bit puzzling why it's always happening.<div dir="auto"><br></div><div dir="auto">Something seems to be off with containerd's integration into systemd but I'm not sure what.</div><div dir="auto"><br></div><div dir="auto"><br><div dir="auto"><br></div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Mar 2022, 12:30 Manuel Wagesreither, <<a href="mailto:ManWag@fastmail.fm">ManWag@fastmail.fm</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
My embedded system is shutting down rather slow, and I'd like to find out the responsible processes.<br>
<br>
[ 7668.571133] systemd-shutdown[1]: Waiting for process: dockerd, python3<br>
[ 7674.670684] systemd-shutdown[1]: Sending SIGKILL to remaining processes...<br>
<br>
Is there a way for systemd-shutdown to give me the PID of the processes it waits for?<br>
<br>
There are quite a few docker and python3 services running on my system and the lines printed above doesn't help much.<br>
<br>
I'm using systemd 244 (244.5+).<br>
<br>
Thanks,<br>
Manuel<br>
</blockquote></div>