[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shepherd: failing test: should `herd stop` stop a respawning process
From: |
Attila Lendvai |
Subject: |
Re: shepherd: failing test: should `herd stop` stop a respawning process? |
Date: |
Fri, 22 Nov 2024 20:43:41 +0000 |
> But I don’t know, there could be a bug. Could you come up with a
> reduced test case (I looked at the one attached but I’m not sure which
> part to focus on), or do you have logs of the problem?
ok, i've attached a stipped down version of the test case. it hopefully
reproduces the same situation i'm observing on my servers.
which seems to be the following:
1. i have a service that keeps respawning (typically due to a config
mistake)
2. said service is upgraded/replaced in a `guix system reconfigure`
3. v1 of the service keeps respawning forever, and there's nothing i
can do to stop it at this point. `herd disable` operates on v2 of
the service, while some fiber, or some signal handler of v1 is
still in a respawn loop.
HTH,
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Our scientific power has outrun our spiritual power. We have guided missiles
and misguided men.”
— Martin Luther King, Jr. (1929–1968, assassinated)
respawn2.sh
Description: application/shellscript
- Re: shepherd: failing test: should `herd stop` stop a respawning process?,
Attila Lendvai <=