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?
Can I actually blog SIGTERM getting sent to that process? Doesn't it get sent to all processes? I guess nginx will inherit my signal handlers if it's done via execve won't it
-
-
It only gets sent to the primary process that was booted (I think). And then it’s expected that the primary process sends it to children.
-
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.
- 3 more replies
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.