Pylint no-else-return refactoring: tenth (and so far last) set of files
[check_mk.git] / .werks / 2654
blobce56409f725142e5ccc2c8aa0b30cf25680ac06b
1 Title: logwatch: fixed high memory and cpu usage caused by too many unacknowledged messages
2 Level: 1
3 Component: checks
4 Compatible: compat
5 Version: 1.2.7i3
6 Date: 1444120268
7 Class: fix
9 Due to a change in werk 2414, the local copy of the monitored logfile continued to grow and was
10 parsed in every check cycle. With growing file size this could cause extreme cpu and memory load.
11 This fix is twofold:
12 a) The check now stops appending to the file once the filesize limit is reached. This was the behaviour
13 pre-2414 anyway
14 b) The configurable reclassification patterns are now only applied to old loglines once after each
15 change to the patterns.
17 Please note that this doesn't automatically truncate the copy of the logfile if it already exceeds the
18 size limit.