Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #10449: ps: cleanup counters of processes which do not exist anymore

Component Checks & agents
Title ps: cleanup counters of processes which do not exist anymore
Date Oct 30, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0p6 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks