{"action":"opened","issue":{"url":"https://api.github.com/repos/phusion/baseimage-docker/issues/242","labels_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/242/comments","events_url":"https://api.github.com/repos/phusion/baseimage-docker/issues/242/events","html_url":"https://github.com/phusion/baseimage-docker/issues/242","id":99082303,"number":242,"title":"Override Default KILL_PROCESS_TIMEOUT","user":{"login":"nritholtz","id":5275179,"avatar_url":"https://avatars.githubusercontent.com/u/5275179?v=3","gravatar_id":"","url":"https://api.github.com/users/nritholtz","html_url":"https://github.com/nritholtz","followers_url":"https://api.github.com/users/nritholtz/followers","following_url":"https://api.github.com/users/nritholtz/following{/other_user}","gists_url":"https://api.github.com/users/nritholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/nritholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nritholtz/subscriptions","organizations_url":"https://api.github.com/users/nritholtz/orgs","repos_url":"https://api.github.com/users/nritholtz/repos","events_url":"https://api.github.com/users/nritholtz/events{/privacy}","received_events_url":"https://api.github.com/users/nritholtz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-04T23:19:00Z","updated_at":"2015-08-04T23:19:00Z","closed_at":null,"body":"I am currently running delayed_job as a svc in runit. However by default when shutting down delayed_job via SIGTERM, it sends a shutdown sequence that allows all \"in process\" jobs to finish before shutting down the process.\r\n\r\nTo allow this behavior to work in the case of a `docker stop`, I have written a `control/t` script to send a `kill -15` and wait till process finishes or 60 seconds pass (whichever comes first), in which case it will then send a `kill -9`.\r\n\r\nHowever, I'm finding that about 10 seconds in the container exits with an exit code 137. Is it possible that this is due to the KILL_PROCESS_TIMEOUT? In which case is there some way to override it?"}}