Skip to content

Prefer sending SIGKILL over SIGTERM to a process #177

@katyho

Description

@katyho

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions