On Thu, Dec 22, 2022, at 12:35 PM, Ben Cotton wrote:
https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.
== Summary == A downstream configuration change to reduce the systemd unit timeout from 2 minutes to 15 seconds.
A problem I've seen in the past is that timeouts like this have very different effects on slow/heavily loaded systems. For example, an OpenStack environment that has relatively slow storage (or a public cloud environment without provisioned IOPS). Or a bare metal server that is loaded to the limit.
The effect of a 15 second timeout in those scenarios is wildly different from that of a relatively idle desktop system with a SSD or modern NVMe drive.
DBus for example defaults to a 25 second timeout on method calls, and I've seen problems like the above there.
Ideally, we'd have a mechanism to define timeouts like this somehow relative to system speed (throughput) not simple wall clock time.
That said, I think the simplest is for this change to only apply to desktop systems.