all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Csepp <raingloom@riseup.net>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: 65306@debbugs.gnu.org
Subject: bug#65306: [shepherd] ntpd throws shepherd out of the loop
Date: Tue, 15 Aug 2023 13:13:50 +0200	[thread overview]
Message-ID: <87ttt0mu4g.fsf@riseup.net> (raw)
In-Reply-To: <464a337f57514620ffcae1e426a376c6d034a4e8.camel@gmail.com>


Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> Hi Guix,
>
> I have a laptop that's a little stuck in the past… more accurately
> January of 2020 thanks to what I believe to be an empty CMOS battery. 
> As of recently (maybe it dates back longer, but I first experienced it
> two weeks ago and just now got to debugging it a little), Shepherd gets
> stuck at 100% CPU usage "early" on first boot.  I can prevent this
> issue by getting the system time "close enough" to the actual time
> before the NTP sync, but see the first sentence.  Not having a network
> connection also works, but that's somewhat unpractical.  Also, the high
> CPU usage still occurs if a sync is done later.  I have yet to
> encounter the bug post hibernation, but I also wish not to.  There
> doesn't appear to be anything particular interesting in the logs
> either.
>
> Cheers

This sounds like an issue with slow incremental system time updates,
although I don't understand why that would cause Shepherd to hang, but
maybe the NTP service is configured to only report itself as initialized
once it has finished synchronizing, which defeats the point of
incremental updating.
There is probably a config setting to tell ntpd to perform the update in
a single step, at least I know chrony has one.

ps.: don't wait until the battery starts leaking to replace it




  reply	other threads:[~2023-08-15 11:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-15  5:18 bug#65306: [shepherd] ntpd throws shepherd out of the loop Liliana Marie Prikler
2023-08-15 11:13 ` Csepp [this message]
2023-08-15 14:27 ` Timotej Lazar
2023-09-02 20:44   ` Ludovic Courtès
2023-09-02 21:41     ` Liliana Marie Prikler
2023-09-03 19:58       ` Ludovic Courtès
2023-09-04  5:46     ` Timotej Lazar
2023-09-08 16:50       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttt0mu4g.fsf@riseup.net \
    --to=raingloom@riseup.net \
    --cc=65306@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.