From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8OGNMUzdoWRsAQAASxT56A (envelope-from ) for ; Sun, 02 Jul 2023 22:25:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oG/EMEzdoWRJ3wAAG6o9tA (envelope-from ) for ; Sun, 02 Jul 2023 22:25:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 940E1274DC for ; Sun, 2 Jul 2023 22:25:48 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=ObyOg0dd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688329548; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=s3BY3Mz/89XxQSoyhPN546P7lG/QtlAFzIbBaMet5Sw=; b=Z9e5RR4K943z/vW0DIkJJaZXmgFhoH5Mdr0nX7CuPrju5ix8n2+ogNOuxrlS2MiNHMJYus fmj0xueki9apC7ftvD6RU+EtkBj6BtjPDpr3lsz/5s/EsrSmYP9gx7lFTi3v+fGRsBYE/u QGehqzCWZYDcmk3eRKOG1KD9HTNBQas+8y/Jd1qQzLxZATbBl62eQ1kHu8N/azorfMwYUt 6k93Sno5RbvsBVZv+5rKHhs1tnJCcn+0RiMTFkjnqnqJuI13s6YqlLxtZsL3gLbr7hTxYY c7kiz0utCiKkZZhKYpy/rwNxY+RurSS8MqfmD11DTJQntgDZRNuAMEMd7YYKig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=ObyOg0dd; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688329548; a=rsa-sha256; cv=none; b=BhJBPyrBoUsa8BuFRlpqO5tFITpOrn+Q6bOHLjGDDMEbby2pz/3AWcH+t6/5YCu0lgbRN5 823VQGvScE5WiCVyKkkd8je2f69HNdeS03JXo484FqCdE3NfE5wQTJnZXLhe1w1kvswRr2 jzkKogQti9JpHV1T+FzI0mJENKugoBFU5VJBhUTNh6KoPB3vStIncy+5terimxnAeTL61M uOuoR1vEHyPeYQS8uizv5uzhtDrwyDjqU/VrMMBEn7akavzjUp8l26C5FbWqDkJrZS6FEH FgiuSlo2JcYgN0gQxn3I/+QiqXNsQnbmMmsxxtdt8W1LR6kTg94twTOp1iUZxw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qG3dR-0008Oa-2O; Sun, 02 Jul 2023 16:25:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG3dO-0008OM-0W for guix-devel@gnu.org; Sun, 02 Jul 2023 16:25:26 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qG3dK-0005as-6c for guix-devel@gnu.org; Sun, 02 Jul 2023 16:25:25 -0400 Date: Sun, 02 Jul 2023 20:25:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1688329517; x=1688588717; bh=s3BY3Mz/89XxQSoyhPN546P7lG/QtlAFzIbBaMet5Sw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ObyOg0ddcDmCTcyxTSmNuaoRuKnSkZ0Stzq9wD2vSquEqVQ7D6iNOn7MibcEqTqzO dC4CcuH4YtORA9luP7koqQMPaKKSNobYjEmIfkXVTQ9hmh6VFC6xzvYnmw6URnWzgv 8Ua5JEffqNF++wSTOIsOCy+NDC0BLDvXv+uDxxyXUUwqQQVujXH0k+Xc/tmpO6Qzbl +54F5QDlc740IfR3GBNLHcbFIMsDR27MYkXRXNbVuL+Klpd8jJqZkxLbzqNM6Vr/Zt mO2gagU7AFGQ8E9fIau6CIBTSSlevNL4oVRqL+48cObEoQswINLHDQzkLqLnvXcg2U hi9Cp3N39REmQ== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Attila Lendvai Cc: guix-devel Subject: Re: shepherd respawn frequency Message-ID: In-Reply-To: <87zg4et755.fsf@gnu.org> References: <87zg4et755.fsf@gnu.org> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=attila@lendvai.name; helo=mail-4018.proton.ch X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.68 X-Spam-Score: -10.68 X-Migadu-Queue-Id: 940E1274DC X-TUID: zJtoTv1kWqrC > We could do that. It never occurred to me that this is something one > would want to have though. My reasoning is that if you mark a service > as respawnable, then you really want it to be respawned as soon as it > fails, not 5 seconds later. there are a large number of different applications that users may want to r= un as a service. i'm pretty sure a nontrivial subset of them can get into s= uch an error loop. this specific one is the Bee client of ethswarm.org. multiple threads are a= ctive during its startup. one of them is to connect to the blockchain node.= when it's unreachable, then eventually it gives up and quits. arguably, it would be a better behavior to keep trying indefinitely instead= of quitting, but let's assume that its behavior is practically beyond our = control. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- The real voyage of discovery consists not in seeking new landscapes, but in= looking with new eyes.