﻿# Find the service start limit behind a silent restart stop

Read restart intent and start eligibility separately, preserving the original model startup failure before resetting counters.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-linux-systemd-restart-limit/
Language: en

A failing model service restarts repeatedly and then stops trying, although Restart remains configured. Restart policy and start-rate limiting are separate mechanisms. Once the unit exhausts its permitted starts within the configured interval, another automatic attempt can be refused without changing the underlying startup failure.

## Preserve the first failure

Read the initial exit or startup error before focusing on the final start-limit result. A bad path, incompatible runtime or unavailable artifact may have caused every attempt. The limit explains why retries stopped, not why the application failed. Keep the invocation sequence so a later supervisory message does not replace the original diagnostic evidence.

## Read both policies

Inspect Restart and its delay together with StartLimitIntervalSec and StartLimitBurst from the effective unit configuration. Drop-ins and manager defaults can affect the result. The documented start limit also applies to starts beyond automatic Restart attempts, including manual ones. Repeatedly pressing start during diagnosis can therefore change the same budget being investigated.

## Distinguish waiting from eligibility

A restart delay is an interval before an eligible retry; a start limit is a restriction on permitting further starts. Passing time alone should not be interpreted as a guarantee that the manager will schedule a fresh attempt without another activation trigger. Read the current unit state and configured activation sources instead of assuming the model will recover whenever the original dependency returns.

## Treat counter reset as an action

Resetting failed state can clear the relevant rate counter, but it does not repair the application. Capture evidence and correct the known failure before planning another bounded activation. Disabling rate limits can turn a configuration error into repeated artifact loading, log bursts or resource churn. Keep the retry behavior proportionate to the failure being handled.

## Verify contrasting failures

Use a disposable service that intentionally fails, then compare a corrected start with an unchanged failure after the documented counter behavior. Observe attempts and invocation identities. Acceptance means the restart and eligibility policies explain the sequence. It does not establish successful model readiness, dependable dependency recovery or a safe policy for infinitely retrying an expensive initialization path.

## Primary references

[systemd Unit Configuration](https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html).

[systemd Service Configuration](https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html).

[Journal Query Interface](https://www.freedesktop.org/software/systemd/man/latest/journalctl.html).

Related reading: [GPU autoscaling: a free card is not a ready replica](/journal/autoscaling-gpu-cold-start/); [Reproducible inference stacks: preserving a GPU pilot’s result](/journal/software-stack-reproducibility/).
