* bug#65419: [Shepherd] Non-reponding service control fiber
@ 2023-08-21 9:38 Ludovic Courtès
2023-08-23 8:00 ` Giovanni Biscuolo
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2023-08-21 9:38 UTC (permalink / raw)
To: 65419; +Cc: Christopher Baines
Hello,
On milano-guix-1 (a build machine behind bayfront, running shepherd
0.10.2), ‘herd status’ and ‘herd status guix-build-coordinator-agent’
would hang (there’s no ‘guix-build-coordinator’ process running).
‘herd stop childhurd2’ hangs and has no effect.
Conversely, ‘herd status nscd’ and similar for most other services works
fine. When terminating a service’s process, the service gets respawned
just fine.
The conclusion seems to be that the control fiber of the ‘root’ service
is not responding: it is blocked on a get/put? did it exit?
Unfortunately we don’t have data from the logs that would give clues as
to what went wrong.
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65419: [Shepherd] Non-reponding service control fiber
2023-08-21 9:38 bug#65419: [Shepherd] Non-reponding service control fiber Ludovic Courtès
@ 2023-08-23 8:00 ` Giovanni Biscuolo
2023-08-24 8:09 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Biscuolo @ 2023-08-23 8:00 UTC (permalink / raw)
To: Ludovic Courtès, 65419; +Cc: Christopher Baines
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]
Hello,
Ludovic Courtès <ludovic.courtes@inria.fr> writes:
[...]
> The conclusion seems to be that the control fiber of the ‘root’ service
> is not responding: it is blocked on a get/put? did it exit?
>
> Unfortunately we don’t have data from the logs that would give clues as
> to what went wrong.
I've had a look at /var/log/messages but nothing seems wrong except
messages like this one:
--8<---------------cut here---------------start------------->8---
Aug 21 14:48:42 localhost shepherd[1]: 6 connections still in use after sshd-13752 termination.
Aug 21 14:48:42 localhost shepherd[1]: Service sshd-13752 (PID 29977) exited with 255.
Aug 21 14:48:42 localhost shepherd[1]: Service sshd-13752 has been disabled.
Aug 21 14:48:42 localhost shepherd[1]: Transient service sshd-13752 terminated, now unregistered.
--8<---------------cut here---------------end--------------->8---
Is it useful configuring the monitoring service [1] on milano-guix-1 to
have useful data in the logs in case we get a similar issue?
Thanks, Gio'
[1] https://www.gnu.org/software/shepherd/manual/shepherd.html#Monitoring-Service
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65419: [Shepherd] Non-reponding service control fiber
2023-08-23 8:00 ` Giovanni Biscuolo
@ 2023-08-24 8:09 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-08-24 8:09 UTC (permalink / raw)
To: Giovanni Biscuolo; +Cc: 65419, Christopher Baines
Hi,
Giovanni Biscuolo <g@xelera.eu> skribis:
> I've had a look at /var/log/messages but nothing seems wrong except
> messages like this one:
>
>
> Aug 21 14:48:42 localhost shepherd[1]: 6 connections still in use after sshd-13752 termination.
> Aug 21 14:48:42 localhost shepherd[1]: Service sshd-13752 (PID 29977) exited with 255.
> Aug 21 14:48:42 localhost shepherd[1]: Service sshd-13752 has been disabled.
> Aug 21 14:48:42 localhost shepherd[1]: Transient service sshd-13752 terminated, now unregistered.
Yeah, I think it happened earlier but unfortunately the previously logs
got deleted (rottlog is not behaving as expected).
> Is it useful configuring the monitoring service [1] on milano-guix-1 to
> have useful data in the logs in case we get a similar issue?
It wouldn’t help in this case, but it’s still interesting to have it
around.
sudo herd eval root '(begin (use-modules (shepherd service monitoring)) (register-services (list (monitoring-service))))'
sudo herd start monitoring
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-24 8:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 9:38 bug#65419: [Shepherd] Non-reponding service control fiber Ludovic Courtès
2023-08-23 8:00 ` Giovanni Biscuolo
2023-08-24 8:09 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).