From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15022 invoked from network); 22 Oct 2020 12:28:35 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 22 Oct 2020 12:28:35 -0000 Received: (qmail 13599 invoked by uid 89); 22 Oct 2020 12:28:58 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 13592 invoked from network); 22 Oct 2020 12:28:57 -0000 Date: Thu, 22 Oct 2020 14:28:29 +0200 From: Oliver Schad To: supervision@list.skarnet.org Subject: External health Check Process Message-ID: <20201022142829.788f4da5@flunder> Organization: Automatic Server AG X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/pLGWj0qIL.H+5ux+LXZV4Jw"; protocol="application/pgp-signature" --Sig_/pLGWj0qIL.H+5ux+LXZV4Jw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi everybody, we have cases, where processes are still there, but doesn't work anymore. This is a common problem with runtime environments like java or golang, where the memory management might have problems and internal routines doesn't work anymore. That is really a common problem in that area (heap too small, too frequently garbage collection, ...) I know you can model a service in s6, which watches another service and kills it, so in fact the problem is solved outside of s6. But I wanted to ask to develop a feature to get a simple way to model that within s6. Usually it's good enough to call a external command with a timeout and watches exit code. Yes, that means polling but in a datacenter is a polling health check not a big energy problem. Is that something, you can imagine in the future, supporting an external health check? Best Regards Oli --=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_/pLGWj0qIL.H+5ux+LXZV4Jw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl+Reu0ACgkQRilxUUuWlvC67gCfcyvo79uw7Od+d2D8Hw5Cepak jv0AoJfsCGW9Bxbj5l3ff+qChyG8Zk5U =h1FS -----END PGP SIGNATURE----- --Sig_/pLGWj0qIL.H+5ux+LXZV4Jw--