Skip to content
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 #7046] service icinga2 stop - sometimes doesn't terminate icinga2 completely #1943

Closed
icinga-migration opened this issue Sep 1, 2014 · 7 comments
Labels
bug Something isn't working

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/7046

Created by mhoyer on 2014-09-01 13:39:31 +00:00

Assignee: (none)
Status: Rejected (closed on 2014-11-24 14:04:08 +00:00)
Target Version: (none)
Last Update: 2014-11-24 14:04:08 +00:00 (in Redmine)

Icinga Version: 2.0.2

I have no good idea about this but in fact there are sometimes processes left over after executing "service icinga2 stop". No errors is being reported and the pid file is also deleted afterwards. The process doesn't terminate even after some minutes of waiting.

~ $ sudo service icinga2 stop
Stopping Icinga 2: .Done

~ $ ps aux | grep icinga
icinga 30125 0.0 0.2 577772 4896 ? Ssl 11:38 0:00 /usr/sbin/icinga2 --no-stack-rlimit -c /etc/icinga2/icinga2.conf -d -e /var/log/icinga2/error.log -u icinga -g icinga

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-09-01 13:41:43 +00:00

Is this reproducible with 2.1.0?

@icinga-migration
Copy link
Author

Updated by mhoyer on 2014-09-01 13:49:18 +00:00

Not yet, I'm not sure how to reproduce this in a reproducible way ;-). Will test this for 2.1.0 next days.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-09-05 13:05:18 +00:00

  • Target Version set to 2.1.1
  • Estimated Hours set to 2

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-09-08 13:47:00 +00:00

  • Status changed from New to Feedback
  • Assigned to set to mhoyer

I don't see how that could possibly happen. Right now we're sending a SIGINT signal and wait up to at least 30 seconds to see if the process terminates on its own. If it doesn't we're sending a SIGKILL signal which should definitely terminate the Icinga 2 process.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-09-12 13:11:04 +00:00

  • Target Version deleted 2.1.1

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-10-11 17:40:51 +00:00

Any feedback?

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-11-24 14:04:08 +00:00

  • Status changed from Feedback to Rejected
  • Assigned to deleted mhoyer

@icinga-migration icinga-migration added the bug Something isn't working label Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant