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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30785 invoked from network); 22 Sep 2022 19:45:23 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 22 Sep 2022 19:45:23 -0000 Received: (qmail 11003 invoked by uid 89); 22 Sep 2022 19:45:45 -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 10996 invoked from network); 22 Sep 2022 19:45:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fourc.eu; s=google; h=content-transfer-encoding:organization:subject:from :content-language:to:user-agent:mime-version:date:message-id:from:to :cc:subject:date; bh=k4pxsLqW/flOCn87x559qhCBMLZ2gdTlTqDB9bdQzk8=; b=oPRAw91yAJxNG2tuIWNK/pOyOSbKnT4TdFK4AET6evXEDjk90jqRUfUEqvYaEP72IH fP/IX+WfygwK/PGHhnV/F91B1wNWdlugsK8LEX53nLCqTiFeYCSXIK4yy/MaYv2BMenB bNPFp8IjeI9xOg5F7qa5lmd9xqOIFdADqEVy8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:organization:subject:from :content-language:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=k4pxsLqW/flOCn87x559qhCBMLZ2gdTlTqDB9bdQzk8=; b=e2jhy8vg6NkUhHvKE0/k2cJu/xUK5P4tA3YPw0YOs7dsDNzTy9R3Z+ICsxrmLA8XLP OpLofF7TBAdIvGnYKG0KWUIgXwjHBp6U/Go1k9dG9w5SBO6pTxPTQzvkWmbxKx4oAxpa XqjbDMAfQaogVof6bxobHWE6rvimnKUq82cwWF6HCZWKIq7ZvHNVxz6GbtlmsrUkloBo Ey6xkS40giU5v2qh8ij+VzLF5k+MqBzOJSCClRq/UYVTqhX3oRvw3vF5OOmguiN2IUjl MRIF0/nV4gEvCHbe1dN/FrIDwZNaRKMGAzWkjbOMSXe3LzrRpBiZaC6MFng1ahcWncI8 ibog== X-Gm-Message-State: ACrzQf12fPUcBMx1aZdl9gDVl2RbF8PO21QVwVrDz1oq36SReYM/vUBN tkL8Bf3CYrFqoDiOefGExXzli9OL88aJKWaJ X-Google-Smtp-Source: AMsMyM7V3aLBdf+274h+tDfdGIdTn1zW1nKviSbysqv+y04h5MeHNfq3n/0te0J3V2Dj1dSEa6TMhg== X-Received: by 2002:a2e:8297:0:b0:26c:1d83:82c4 with SMTP id y23-20020a2e8297000000b0026c1d8382c4mr1777505ljg.489.1663875917115; Thu, 22 Sep 2022 12:45:17 -0700 (PDT) Message-ID: <76856b27-1653-4e3c-28a5-737b63dea1f0@fourc.eu> Date: Thu, 22 Sep 2022 21:45:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 To: supervision@list.skarnet.org Content-Language: nb-NO From: Tor Rune Skoglund Subject: "Back off" setting for crashing services with s6+openrc? Organization: FourC AS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello List, I am new to the list, so sorry if this question has been raised before. However, I've made an honest attempt to figure this out before posting here now. I am using s6 with openrc on Gentoo and are using a couple of custom made services which are fully stable under some conditions; i.e. they simple crash and stop continuesly sometimes, which causes s6 to instantly restart them --- with a high cpu-usage crash-restart-crash-restart... loop as result. Of course, the correct thing would be to fix the crashing service, but it is not a possible option right now. As a generic question, is there any setting with this s6+openrc config that would make s6 "back off" a configurable number of seconds before doing the restart? Any help appreciated. Thanks. BR, Tor Rune Skoglund, trs@fourc.eu