I understand that the motivation behind SIGTERM is to give the process time to process requests in other threads. However, in many cases SIGTERM might not be sufficient in killing hung requests.
We'd prefer SIGKILL over SIGTERM for a few additional reasons:
- When a request takes so long that it times out, something probably already went horribly wrong in the app, in which case we might not care about cleaning up or terminating gracefully.
- For multiprocess, single threaded applications, we don't need to care about processing requests in other threads.
Would you consider supporting a mechanism to send SIGKILL over SIGTERM?
I understand that the motivation behind SIGTERM is to give the process time to process requests in other threads. However, in many cases SIGTERM might not be sufficient in killing hung requests.
We'd prefer SIGKILL over SIGTERM for a few additional reasons:
Would you consider supporting a mechanism to send SIGKILL over SIGTERM?