I cannot find any documentation on getting nginx to do graceful shutdown on SIGTERM, or getting heroku to send SIGQUIT on restart. Am I missing something, or does everyone using nginx on Heroku just drop requests when they deploy?
Docs imply otherwise? > When the dyno manager restarts a dyno, the dyno manager will request that your processes shut down gracefully by sending them a SIGTERM signal. This signal is sent to all processes in the dyno, not just the process type.
-
-
Ahh you are right. That’s why it’s again in the after worker fork.
-
Right -- Which is why I'm not sure how to make this work with nginx, since it sets up its own signal handlers. Even if it inherits mine, it'll override them with its own
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.