Predictable Service Restarts and Timeout Budgeting in systemd

2026-10-04 · 3 min read · linux, systemd

Long-lived network daemons often drain active UDP or multiplexed streams when receiving SIGTERM. By default, systemd waits up to 90 seconds before escalating to SIGKILL.

Checklist Before Restarting

Validate configuration files offline before stopping the live process, keep database backups outside active WAL directories, and verify listening sockets with ss -tulnp once the unit reports active.