...
This can be due to files and folders in the ~/var/check_mk/background_jobs/ directory, which extend a certain amount and size. Typically, there should be 10 to 15 files and folders, and the size should be below 1 GB. If you exceed that amount, something might be off.
Solution
Log into the affected site omd su mysite
Code Block language bash theme RDark root@linux~# omd su mysite
.
Stop the site omd stop
Code Block language bash theme RDark OMD[mysite]:~ omd stop
.
- Make sure the site is completely stopped
. Remove the contents of ~/var/check_mk/background_jobs/: rm -rf ~/var/check_mk/background_jobs/
Code Block language bash theme RDark OMD[mysite]:~ rm -rf ~/var/check_mk/background_jobs/
.
Start the site omd start
Code Block language bash theme RDark OMD[mysite]:~ omd start
.
- Observe the memory consumption and verify there are no more timeouts
...