New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #10226] Icinga2 reload timeout results in killing old and new process because of systemd #3440
Comments
Updated by mfriedrich on 2015-09-28 08:20:50 +00:00
|
Updated by mfriedrich on 2015-10-26 16:39:27 +00:00
Please try the suggested workaround in https://dev.icinga.org/issues/9312#note-8 |
Updated by dgoetz on 2015-10-27 07:18:37 +00:00 Already tried setting the systemd timeouts for start and stop, but it still times out after 60 seconds which is the timeout of icinga we discussed. |
Updated by mfriedrich on 2015-10-28 08:46:13 +00:00 Notes:
|
Updated by mfriedrich on 2015-10-28 08:46:28 +00:00
|
Updated by mfriedrich on 2015-10-29 08:55:19 +00:00
|
Updated by mfriedrich on 2015-11-03 09:41:22 +00:00
|
Updated by mfriedrich on 2015-11-25 16:17:53 +00:00
|
Updated by mfriedrich on 2015-12-15 16:57:30 +00:00
|
Updated by mfriedrich on 2015-12-16 15:00:00 +00:00
|
Updated by mfriedrich on 2015-12-16 15:05:03 +00:00
Applied in changeset 8b6d335. |
Updated by gbeutner on 2016-02-23 09:58:15 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10226
Created by dgoetz on 2015-09-28 08:15:55 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2015-12-16 15:05:03 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:58:15 +00:00 (in Redmine)
The reload mechanismen send the old process a SIGKILL signal if it fails to stop before timeout.
The old process normally changes the pidfile to contain the new processes pid, this does not happen if killed.
So systemd kills all processes in the cgroup matching the old pid including the new process which results in no active icinga 2 process.
So effectively a reload can result in a stopped monitoring
Attachments
Changesets
2015-12-16 14:57:59 +00:00 by mfriedrich 8b6d335
2016-02-23 08:16:01 +00:00 by mfriedrich 99efc7b
Relations:
The text was updated successfully, but these errors were encountered: