|Component||Checks & Agents|
|Title||Periodic service discovery: Fixed scenario where process could get stuck|
|Check_MK Edition||Check_MK Raw Edition (CRE)|
|Level||1 - Trivial Change|
|Compatibility||Compatible - no manual interaction needed|
The process discovery (cmk --discover-marked-hosts) triggered by the cronjob had no timeout handling implemented. The python process could get stuck if the connection to the remote host was never closed. This could consume lots of memory over time, since the discovery process is triggered every 5 minutes.