Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You receive timeout errors from the Apache after 110 seconds in several places in Checkmk, e.g., the 'Background Jobs' page.
Additionally, you are experiencing fluctuating overall memory consumption and observe high memory consumption by Apache processes. The overall fluctuation might be up to 10 GB, and the Apache processes might be bigger than 300 MB, which would be a normal size.

...

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

  1. Log into the affected site omd su

    site 

    mysite 

    Code Block
    languagebash
    themeRDark
    root@linux~# omd su mysite


  2. Stop the site omd stop 

    Code Block
    OMD[mysite]:~ omd stop


  3. Make sure the site is completely stopped

  4. Remove the contents of ~/var/check_mk/background_jobs/: rm -rf ~/var/check_mk/background_jobs/
    Code Block
    OMD[mysite]:~ rm -rf ~/var/check_mk/background_jobs/


  5. Start the site omd start

     

    Code Block
    OMD[mysite]:~ omd start


  6. Observe the memory consumption and verify there are no more timeouts

...