Am 28.12.2022 um 15:23 schrieb Neal Gompa
<ngompa13(a)gmail.com>:
On Wed, Dec 28, 2022 at 9:13 AM Peter Boy <pboy(a)uni-bremen.de> wrote:
>
>
>
>> Am 28.12.2022 um 13:34 schrieb Neal Gompa <ngompa13(a)gmail.com>:
>>
>> On Wed, Dec 28, 2022 at 7:25 AM Frank Crawford <frank(a)crawford.emu.id.au>
wrote:
>>>
>>> ...
>>>
>>> I'd also note that this has always been configurable, it is just now
>>> suggesting a different value from the default.
>>
>> I would also suggest that if you're shutting down/rebooting a server,
>> then you really want that to be done sooner rather than later, so
>> stuff getting killed as it shuts down if it doesn't do it normally
>> after SIGTERM is probably fine, because they're likely hung.
>>
>> Waiting a half hour for a system to reboot is not acceptable.
>
> Indeed, but it is not acceptable because the configuration of the timeout is too
long, but because there is probably something earnestly going wrong. And as a server
admin, I would like to decide myself to wait patiently and hope, to evaluate the issue, or
to pull the plug. I don't want to leave that to a stupid timeout.
>
>
>> 15 or 30 seconds is probably fine, even for servers, because of the
>> nature of how systemd processes this timeout. It's per service being
>> shut down, rather than a global timeout.
>
> Yeah, *probably* fine, maybe not. We don’t know, just guess. And as the saying goes:
better safe than sorry.
>
> And the 2 mins are empirically obviously a safe solution.
>
Is it? If the end result is the same, it doesn't matter whether it's
30 seconds or 2 minutes.
Yes indeed. But it’s the sysadmin who decides to reset after those "15 or 30"
secs. And that makes a difference.
And mind you, it is not the common case that a standalone server with maybe a few VMs and
a moderate workload needs those 10 minutes quoted here for shutdown. It is the exception
and an urgent reason to take a serious look not at the 10 mins but at the server.
For desktops, it's probably a different tradeoff.
--
Peter Boy
https://fedoraproject.org/wiki/User:Pboy
pboy(a)fedoraproject.org
Timezone: CET (UTC+1) / CEST (UTC+2)
Fedora Server Edition Working Group member
Fedora docs team contributor
Java developer and enthusiast