We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #1045: Gracefully restart check_mk helpers in case of memory leak

ComponentCore & Setup
TitleGracefully restart check_mk helpers in case of memory leak
Date2014-07-10 11:41:01
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i5
LevelProminent Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

When using the Check_MK Micro Core in combination with inline SNMP then in certain rare situations the check_mk helper processes leak memory. We suspect the leak to be in the SNMP libs but this is just an assumption.

This fix now watches the size of each check_mk helper. If the memory usage (VM size) of the process grows by more then 50% compared to the size after the first 20 hosts being checked, then the helper silently restarts itself and leaves a message in var/log/check_mk/cmc-helper.log.