Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-08 Thread Andrei Borzenkov
On 08.03.2022 18:20, Manuel Wagesreither wrote: > Hi all, > > Am Do, 3. Mär 2022, um 19:02, schrieb Lennart Poettering: >> On Mi, 02.03.22 17:50, Lennart Poettering (lenn...@poettering.net) wrote: >> >>> That said, we could certainly show both the comm field and the PID of >>> the offending

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-08 Thread Manuel Wagesreither
Hi all, Am Do, 3. Mär 2022, um 19:02, schrieb Lennart Poettering: > On Mi, 02.03.22 17:50, Lennart Poettering (lenn...@poettering.net) wrote: > >> That said, we could certainly show both the comm field and the PID of >> the offending processes. I am prepping a patch for that. > > See:

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] How to find out the processes systemd‑shutdown is waiting for?

2022-03-04 Thread Lennart Poettering
On Fr, 04.03.22 08:20, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > >> Something seems to be off with containerd's integration into systemd but > >> I'm not sure what. > > > > Docker traditionally has not followed any of our documented ways to > > You are implying that "our

Re: [systemd-devel] Antw: [EXT] Re: [systemd‑devel] How to find out the processes systemd‑shutdown is waiting for?

2022-03-04 Thread Wols Lists
On 04/03/2022 07:20, Ulrich Windl wrote: Docker traditionally has not followed any of our documented ways to You are implying that "our documented ways" is a definitive standard? cgroups is a THIRD PARTY to both Docker and systemd. If Docker doesn't document what they're doing, how is

[systemd-devel] Antw: [EXT] Re: [systemd‑devel] How to find out the processes systemd‑shutdown is waiting for?

2022-03-03 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 02.03.2022 um 17:22 in Nachricht : > On Mi, 02.03.22 13:02, Arian van Putten (arian.vanput...@gmail.com) wrote: > >> 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.

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-03 Thread Lennart Poettering
On Mi, 02.03.22 17:50, Lennart Poettering (lenn...@poettering.net) wrote: > That said, we could certainly show both the comm field and the PID of > the offending processes. I am prepping a patch for that. See: https://github.com/systemd/systemd/pull/22655 Lennart -- Lennart Poettering, Berlin

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-02 Thread Daniel Walsh
On 3/2/22 11:50, Lennart Poettering wrote: On Mi, 02.03.22 12:29, Manuel Wagesreither (man...@fastmail.fm) wrote: Hi all, My embedded system is shutting down rather slow, and I'd like to find out the responsible processes. [ 7668.571133] systemd-shutdown[1]: Waiting for process: dockerd,

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-02 Thread Lennart Poettering
On Mi, 02.03.22 12:29, Manuel Wagesreither (man...@fastmail.fm) wrote: > Hi all, > > My embedded system is shutting down rather slow, and I'd like to find out the > responsible processes. > > [ 7668.571133] systemd-shutdown[1]: Waiting for process: dockerd, python3 > [ 7674.670684]

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-02 Thread Lennart Poettering
On Mi, 02.03.22 13:02, Arian van Putten (arian.vanput...@gmail.com) wrote: > 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

Re: [systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-02 Thread Arian van Putten
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

[systemd-devel] How to find out the processes systemd-shutdown is waiting for?

2022-03-02 Thread Manuel Wagesreither
Hi all, My embedded system is shutting down rather slow, and I'd like to find out the responsible processes. [ 7668.571133] systemd-shutdown[1]: Waiting for process: dockerd, python3 [ 7674.670684] systemd-shutdown[1]: Sending SIGKILL to remaining processes... Is there a way for