Join our Newsletter — 33% off our NHI Course
Home› Glossary› Architecture & Implementation› Liveness probe
Architecture & Implementation

Liveness probe

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Architecture & Implementation

A liveness probe checks whether a process is still functioning and should be restarted if it is not. It is useful for crash detection, but it does not prove the service is ready to serve requests or that its internal state is consistent.

What a liveness probe actually tells you

A liveness probe is a health check for process survival, not service correctness. It answers a narrower question than readiness: whether the workload is still running well enough to justify keeping it alive, and whether the platform should restart it when it appears stuck, wedged, or crashed.

That distinction matters because a process can be “live” while still being unusable, misconfigured, partially degraded, or serving corrupt state. Liveness is therefore a failure-detection mechanism, not a guarantee of application health.

Why liveness probes are used in orchestration

In container and platform orchestration, liveness probes help systems recover from self-inflicted failures that an operator might otherwise notice only after an outage. They support automatic restarts when a process deadlocks, hangs, or fails in a way that does not exit cleanly.

Used well, they improve availability by turning certain classes of stalled workload into self-healing events. Used poorly, they can create restart loops, hide deeper defects, or make an application appear more resilient than it really is.

How liveness differs from readiness and startup checks

Liveness, readiness, and startup checks serve different control points. A readiness check answers whether the workload can safely receive traffic. A startup check gives slow-starting software time to initialise. A liveness probe is the last of the three to care about ongoing survival once the process is meant to be running.

That separation prevents a common operational mistake: using liveness to decide whether a service should receive requests. If a probe is too strict, it can restart a service that is merely busy or temporarily unhealthy. If it is too lenient, it can leave a broken process running indefinitely.

What makes liveness probes effective or misleading

The probe must reflect a failure mode that restart can actually fix. A probe that only checks a trivial local endpoint may say “healthy” while the service is stuck in a broken state, unable to reach dependencies, or failing internally in ways that need intervention rather than restart.

For that reason, liveness probes are most useful when they are tuned to detect true process failure, not business logic failure. They work best as one signal in a broader resilience design that includes logging, metrics, and alerting so operators can distinguish a restart-worthy fault from a deeper application defect.

Risk and Threat Considerations

Liveness probes can become an availability dependency if they are too aggressive, too shallow, or too easy to satisfy. The main risk is not that the probe fails, but that it restarts healthy workloads, misses a silently broken service, or masks an underlying compromise by treating the symptom as a recoverable crash.

Failure mechanism: A misaligned probe can trigger restart storms, conceal partial failure, or repeatedly revive a process without addressing the state corruption, dependency failure, or adversarial persistence that caused the problem.

Impact: The result can be degraded uptime, noisy incident response, loss of diagnostic evidence, and delayed detection of service corruption or malicious interference.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.IR-04 — Backups of InformationLiveness probes support service resilience and recovery behavior.
DE.CM-01 — Networks and network services are monitored to detect potential cybersecurity eventsProbe failures and restart loops are part of operational detection and monitoring.
Recommendation — Align restart behavior with recovery objectives so stalled workloads return safely. Monitor probe-triggered restarts as operational signals of instability or compromise.
NIST SP 800-53 Rev 5SI-4 — System MonitoringLiveness probes are a runtime monitoring control for failed or hung processes.
SC-23 — Session AuthenticityProbe-based recovery can affect service continuity and trust in active sessions.
Recommendation — Use system monitoring to detect stalled services and trigger recovery actions. Preserve session integrity when restarts are triggered by health-check failures.
CIS Controls v8CIS-8 — Audit Log ManagementProbe restarts and failures should be visible in logs for diagnosis and review.
CIS-12 — Network Infrastructure ManagementHealth checks are part of reliable platform operations across managed infrastructure.
Recommendation — Log probe outcomes and restart events so operators can investigate recurring failures. Standardize health-check behavior across platforms to reduce fragile service recovery.

Practitioner Guidance

Why practitioners should care: Treat liveness as a restart signal, not a trust signal. The probe should be simple enough to reflect actual process survival, but not so simplistic that it keeps a broken workload running indefinitely.

What to watch for: If a workload restarts frequently, stays “live” while users experience failure, or only recovers after manual intervention, the probe design is probably too weak, too strict, or aimed at the wrong failure mode.

Practitioner takeaway: Use liveness to recover from hangs and crashes, then rely on readiness, observability, and post-incident review to answer whether the service is truly fit to serve traffic.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org