[kwlug-disc] Server reboot time ...
Chris Irwin
chris at chrisirwin.ca
Mon Oct 6 17:09:06 EDT 2025
On Mon, Oct 6, 2025, at 16:30, Khalid Baheyeldin wrote:
> But the first entry of "wait online" is kind of suspicious.
> It may mean that 2 minutes of the current boot is wasted
> until the network is up (however that is assessed).
I don't believe either the systemd or NetworkManager wait-online services are blocking for interactive sessions. The system may be interactive (at least on the console, but maybe not for ssh) by the time that completes.
Those services exist so that services can depend on them as a guarantee there is some or all network connectivity before starting. On laptops, that might be *after* you log in, and wifi can connect.
> Great point. I have anecdotally noticed this over the years, but
> never got to measuring them, because once the server is live,
> the reboots are rare (sometimes we go 500 days without a reboot).
Have you actually put eyes on the server's console while it's booting?
I have a server that takes about 5 minutes from power-on until it actually starts grub. I'm not sure systemd-analyze can pull firmware times from the system to identify pre-boot delays.
--
*Chris Irwin*
email: chris at chrisirwin.ca
web: https://chrisirwin.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20251006/3a8e9a26/attachment-0001.htm>
More information about the kwlug-disc
mailing list