SIGKILL

The signal that ends a process immediately; it cannot be caught or ignored.

In more detail

The process gets no chance to clean up, which can leave temporary files or half-written data behind. Send it only after SIGTERM has failed. The exit code is 137 (128 + 9).

Examples

If a process does not exit soon after SIGTERM, the platform escalates to SIGKILL, which cannot be caught, so shutdown work must be quick.
The kernel ends the process without running any cleanup handler, which can leave temporary files, locks or half-written data behind. Reserve it for a process that did not respond to SIGTERM within a reasonable time. The shell reports exit status 137.
target=42 sig=KILL why=timeout cleanup=none records an escalation after a timeout.

Related terms

Taught in

References

Certification courses