Module: check_mk
Branch: master
Commit: 2ca5483407964f78a19e3219d5273f8009357250
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2ca5483407964f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 29 12:33:25 2016 +0100
#3036 FIX Bulk discovery steps are now timing out short before HTTP request timeout
The bulk discovery could cause stability issues by consuming too much resources on
the monitoring server. This could be caused in case the single discovery steps take
longer than the configured timeout of the web server service the Check_MK GUI. In
case a request (discovery step) took longer than the request timeout, the browser
request was timing out and the next discovery step was started while the former
discovery process of Check_MK was still running. If this happened multiple times,
like several hundret times, this could consume all system memory and causing a lot
of CPU load which may result in an unstable monitoring server. Only a restart of
the whole sites web server could fix this situation.
---
.werks/3036 | 17 +++++++++++++++++
ChangeLog | 1 +
modules/automation.py | 20 +++++++++++++++++++-
modules/check_mk_base.py | 15 ++++++++++-----
modules/discovery.py | 7 +++++--
web/htdocs/html_mod_python.py | 5 +++++
web/htdocs/htmllib.py | 3 +++
web/htdocs/wato.py | 15 +++++++++++----
web/htdocs/watolib.py | 22 ++++++++++++++--------
9 files changed, 85 insertions(+), 20 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=2ca5483407…