In this article
For supported notify service types, the service documentation requires the first EXTEND_TIMEOUT_USEC message before the original TimeoutStartSec expires. Once beyond the original limit, messages must continue within the stated interval until READY=1 completes startup. The notification value uses its documented time units and describes the continuing extension window. A running status reporter, an extended manager deadline and useful loading progress are different facts. The protocol controls.
An inference service cannot reliably rescue an expired startup deadline by sending an extension after the manager has already timed it out. The systemd extension protocol has a first-arrival deadline and a continuing cadence. A long model initialization needs to follow that protocol rather than treat one occasional progress message as permission to wait indefinitely.
The service-manager contract
For supported notify service types, the service documentation requires the first EXTEND_TIMEOUT_USEC message before the original TimeoutStartSec expires. Once beyond the original limit, messages must continue within the stated interval until READY=1 completes startup. The notification value uses its documented time units and describes the continuing extension window. A running status reporter, an extended manager deadline and useful loading progress are different facts. The protocol controls manager waiting; it does not establish that the initialization algorithm will eventually finish.
Implementation details
Preserve effective startup timeout, notify support, sender attribution and extension intervals in the launch record. Schedule the first extension with a justified margin and keep the required continuing cadence observable. Bound the application’s own initialization policy rather than making every stalled operation extend forever. On initialization failure, report the actual outcome instead of continuing extensions from an unrelated heartbeat. Do not use READY merely to escape a timeout before the application’s defined initialization milestone. Keep restart behavior separate so a missed extension can be diagnosed as a protocol-timing failure rather than an unexplained model crash.
A constructed validation case
Use a disposable notify service with controlled initialization delay. Exercise timely first extension, a first extension arriving too late and a missed subsequent interval. Observe manager state and the application’s own initialization result independently. Add a successful path that finishes with the intended readiness notification. Acceptance requires the documented extension sequence and visible timeout outcomes, not a claim that every long load should succeed or that a periodic message proves useful progress. Preserve the actual timing configuration rather than inferring it from a final active state.
Recovery limits
This check validates a startup waiting protocol, not request deadlines or continued service liveness. Model loading quality and operational recovery still need separate evidence. Keep those policies distinct so extending cold-start time does not silently weaken the meaning of a ready inference worker.
Primary references
systemd systemd.service documented interface; systemd sd_notify documented interface.
This is a proposed service-lifecycle validation, not an executed Retrivium benchmark. Preserve the implementation version and unresolved outcomes; interface documentation does not establish the availability or correctness of an inference service.
Related reading
Startup, readiness and liveness for a slow-loading model server; Golden inference API fixtures: test the contract rather than prose.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.