Sample Header Ad - 728x90

What is the delay between SIGTERM and SIGKILL on shutdown?

9 votes
2 answers
12834 views
When a Unix-like system is shut down normally, e.g. using halt, shutdown, poweroff etc. or the GUI equivalents, it will try to exit all processes gracefully first by emitting a SIGTERM signal to them. After some time it will send SIGKILL to the programs which are still running. How long is that delay? How much time do programs have to exit gracefully? If this is different between systems, I'd like to know the specific default setting for Ubuntu server. EDIT: Is it Systemd's 90s of delay as described here ?
Asked by Hugo G (360 rep)
Feb 26, 2019, 06:49 AM
Last activity: Jul 9, 2024, 04:35 PM