Zero Downtime Deploys: What happens to any pending request in the old app after it receives SIGKILL

Just reading render notes on Zero Downtime Deploys

After the new app is deployed and healthy, it mentions the following

  • We terminate the old version at this point by sending your app a SIGTERM signal. Most web servers automatically intercept SIGTERM and shut down gracefully. There is a grace period of 30 seconds to shut everything down. If your app is still up after 30 seconds, it is shut down via a SIGKILL signal.

After the old app receives SIGTERM, what happens to the pending request if they don’t finish by the time SIGKILL is sent?

Hi there,

If your app is still up after 30 seconds, it is shut down via a SIGKILL signal

This line is key, if the service is still up then it will receive a SIGKILL

Regards,

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.