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 #10449: ps: cleanup counters of processes which do not exist anymore

ComponentChecks & Agents
Titleps: cleanup counters of processes which do not exist anymore
Date2019-10-30 08:50:09
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p6,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

The new section ps_lnx was introduced in version 1.6.0. Unfortunately, counters of processes which do not exist anymore were not cleaned up for this section. This may lead to slowly growing files in tmp/check_mk/counters for hosts with the ps_lnx section. Since the check helpers have to parse this files on a regular basis this leads to an increased CPU load.

It's worth to note that counters only accumulate if you use process monitoring and only if the PIDs of these processes change frequently. If you do not use process monitoring or the PIDs of your monitored processes do not change, you are not affected by this issue.