GNU bug report logs - #77407
shepherd hangs at "herd restart nginx"

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Mon, 31 Mar 2025 16:04:03 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 77407 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 77407 <at> debbugs.gnu.org, mail <at> cbaines.net
Subject: Re: shepherd hangs at "herd restart nginx"
Date: Tue, 01 Apr 2025 14:19:32 +0200
Hello,

Andreas Enge <andreas <at> enge.fr> skribis:

> Today I noticed that the QA webpage was 502 on bayfront.
> I restarted qa-frontpage and bffe without problem.
> When trying to do "herd restart nginx", the command did not show any
> output and did not come back. Moreover, "herd status" also hang without
> any output.

FWIW, I tested ‘bare-bones.tmpl’ with just nginx added; running:

  while herd restart nginx; do : ; done

in that VM didn’t trigger the hang.

So I’m a bit at loss as to why this fails on bayfront.  If someone has
ideas (and time!) on how to get a config closer to that of bayfront that
we could test in a VM, that’d be great.  Otherwise, we’ll have to debug
in production…

> I could still ssh into the machine and then, thanks to Ludovic, reboot
> with the magic command
>   guix shell guile shepherd -- guile -c '(use-modules (shepherd system)) (sync) (reboot-kexec)'

To be clear: this should be a last resort.  :-)

Thanks,
Ludo’.




This bug report was last modified 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.