Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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.