From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2801 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Oliver Schad Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: The "Unix Philosophy 2020" document Date: Sat, 28 Dec 2019 00:56:54 +0100 Organization: Automatic Server AG Message-ID: <20191228005654.4b24be30@dickeberta> References: <20190831130730.ki6ma7i5curucowe@caspervector> <20190901091157.bjtfhqq6d2rg75yo@caspervector> <20190927083816.tectynx7dzlfcvb7@caspervector> <20191012173743.drzlgnrw4hib6hh4@caspervector> <20191117062644.lt6wfmqwijqqhc5w@caspervector> <20191226175258.o2nsregew6tlqlbu@caspervector> <20191227112309.3fow6vynss2ifw4t@caspervector> <20191228005407.1bf2a764@dickeberta> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/tv5nUdhaP7.3.xYpHMCWySj"; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="165455"; mail-complaints-to="usenet@blaine.gmane.org" Cc: supervision@list.skarnet.org Original-X-From: supervision-return-2390-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Dec 28 00:56:58 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ikzTU-000guZ-WA for gcsg-supervision@m.gmane.org; Sat, 28 Dec 2019 00:56:57 +0100 Original-Received: (qmail 13567 invoked by uid 89); 27 Dec 2019 23:57:22 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 13560 invoked from network); 27 Dec 2019 23:57:22 -0000 In-Reply-To: <20191228005407.1bf2a764@dickeberta> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2801 Archived-At: --Sig_/tv5nUdhaP7.3.xYpHMCWySj Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 28 Dec 2019 00:54:07 +0100 Oliver Schad wrote: > Disclaimer: this has race-conditions by design. systemd has them as > well. No, they don't say that of course. You can't read the tasks > atomically and change their state to stopped, freeze or whatever. So > they always could fork away. Sorry, I have to correct that a bit: you can use the freezer cgroup as I did, but there is no guarantee, that you can successfully kill a freezed process. So you can decide: 1) race-condition 2) unkillallable processes without race-condition --=20 Automatic-Server AG =E2=80=A2=E2=80=A2=E2=80=A2=E2=80=A2=E2=80=A2 Oliver Schad Gesch=C3=A4ftsf=C3=BChrer Turnerstrasse 2 9000 St. Gallen | Schweiz www.automatic-server.com | oliver.schad@automatic-server.com Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 --Sig_/tv5nUdhaP7.3.xYpHMCWySj Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl4GmkYACgkQRilxUUuWlvCF/gCfd2Z/JLF3dLtkrHwylT7+DGC1 +ooAnj2/1ObU3SgR6eyOvA91K+9lD+LG =dLr4 -----END PGP SIGNATURE----- --Sig_/tv5nUdhaP7.3.xYpHMCWySj--