shepherd hangs at "herd restart nginx"

  • Open
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andreas Enge
Severity
important

Debbugs page

A
A
Andreas Enge wrote 4 days ago
(address . bug-guix@gnu.org)
Z-q8iSu5dCaxDicO@jurong
Open bug to get number.

Andreas
A
A
Andreas Enge wrote 4 days ago
(address . 77407@debbugs.gnu.org)
Z-q-T7gEyWJabCYT@jurong
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.

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)'

Andreas
L
L
Ludovic Courtès wrote 4 days ago
control message for bug #77407
(address . control@debbugs.gnu.org)
87o6xhjhvj.fsf@gnu.org
severity 77407 important
quit
L
L
Ludovic Courtès wrote 3 days ago
Re: shepherd hangs at "herd restart nginx"
(name . Andreas Enge)(address . andreas@enge.fr)
875xjodqgb.fsf@gnu.org
Hello,

Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (6 lines)
> 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…

Toggle quote (4 lines)
> 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’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 77407@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 77407
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch