This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: log a message when reaper max time is reached #3159
this is still logged to icinga.debug, but in favor of letting the user know in the first place, we'll spit a warning to syslog as well. reaching the max reaper time means - core is not capable of processing the checkresult list in memory, it gets longer and longer, and ever since stashing checkresults onto this list does not happen by just adding it (O(1)) at the end, but sorting the list by date, it will cause worst case (O(n), decreasing overall performance just by the reaper not being able to process more checkresults. while this won't solve the issue, it will at least warn the user directly that the reaper runs into performance issues. the current reaped checkresult counter will be logged as well, in order to get an idea what's going on. further performance analysis may then be required by the user. refs #3159
- Loading branch information