[systemd-devel] Antw: [EXT] emergency shutdown, don't wait for timeouts
Reindl Harald
h.reindl at thelounge.net
Mon Jan 4 19:15:47 UTC 2021
Am 04.01.21 um 20:06 schrieb Phillip Susi:
>
> Reindl Harald writes:
>
>> topic missed - it makes no difference if it can hold the power 3
>> minutes, 3 hours or even 3 days at the point where it decides "i need to
>> shutdown everything because the battery goes empty"
>
> It is that point that really should be at least 3 minutes before power
> fails. As long as the battery lasts for at least 3 minutes, then the
> monitoring daemon should easily be able to begin the shutdown when 3
> minutes remain.
>
> I'm not sure that forcibly killing services to quickly shut down is
> really much better than the sudden power loss you are trying to avoid
i have seen "user manager" instances hanging for way too long and way
more than 3 minutes over the last 10 years
machines where a regulayr reboot normally takes 5 seconds until ping
responds again after type "reboot"
there is a large scale between "wait virtually forever" and "quickly
shutdown everything without any sense"
More information about the systemd-devel
mailing list