Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In linux for a typical reboot/restart what is the standard amount of time given for a process to shutdown once given the term signal before the system kills it?

share|improve this question

migrated from stackoverflow.com Jul 4 '11 at 2:13

This question came from our site for professional and enthusiast programmers.

1 Answer 1

For the upstart(7) init(8) replacement, each task can specify its own timeout with the timeout keyword. If the task doesn't specify a timeout, then a default is used:

/**
 * JOB_DEFAULT_KILL_TIMEOUT:
 *
 * The default length of time to wait after sending a process the TERM
 * signal before sending the KILL signal if it hasn't terminated.
 **/
#define JOB_DEFAULT_KILL_TIMEOUT 5
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.