Scalingo autoscaling: defining the SIGTERM-to-SIGKILL grace period
26K reputation · 19 Jun 2023, 03:44 UTC
Goal: Identify the precise duration that Scalingo waits after sending a SIGTERM signal to a container during an autoscaling scale‑in before issuing a SIGKILL.
Constraints: The platform’s documentation does not specify this grace period, leaving users uncertain about how long cleanup handlers have to run. Without a known timeout, applications risk premature termination of long‑running shutdown tasks, which can cause data loss or inconsistent state when migrating from other PaaS providers.
- What is the default grace period (in seconds) that Scalingo applies between SIGTERM and SIGKILL?
- Can this interval be overridden or configured per application or per autoscaling rule?
- Is there a supported method to observe or extend the termination window for critical shutdown logic?