i have a timeout problem on our 1.6 CEE with CMC when activating changes.
If I want to activate the changes via WATO it runs 99% in a timeout.
“Your request timed out after 110 seconds. This issue may be related to a local configuration problem or a request which works with a too large number of objects. But if you think this issue is a bug, please send a crash report.”
Remedy or that the changes are taken over.
Only helps:
cmk -R as site user
followed by a cmk -O
finally discard changes via WATO
and WATO’s clean again.
However, I can not understand where this problem comes from ?
I have this Problem since 1.6 from beta till now p7.
I also have made a new VM with a clean install, just the site i have transfered with backup - restore
Perhaps anybody have an Idee howto fix it or howto investigate where the problem comes from.
Time needed [cmc_all_hosts]: 20.15 sec
Time needed [cmc_groups]: 0.00 sec
Time needed [cmc_groups]: 0.00 sec
Time needed [cmc_groups]: 0.00 sec
Time needed [cmc_stringlist]: 0.00 sec
Time needed [cmc_contactlists]: 0.00 sec
Not importing state from Nagios, /omd/sites/main/var/nagios/retention.dat not found.
/omd/sites/main/var/check_mk/core/config written.
Try aquire lock on /omd/sites/main/var/check_mk/stored_passwords
Got lock on /omd/sites/main/var/check_mk/stored_passwords
Releasing lock on /omd/sites/main/var/check_mk/stored_passwords
Released lock on /omd/sites/main/var/check_mk/stored_passwords
OK
Packing config…Try aquire lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
Got lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
Releasing lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
Released lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
OK
Restarting monitoring core…OK
and the output from cmk -O
Time needed [cmc_all_hosts]: 5.68 sec
Time needed [cmc_groups]: 0.00 sec
Time needed [cmc_groups]: 0.00 sec
Time needed [cmc_groups]: 0.00 sec
Time needed [cmc_stringlist]: 0.00 sec
Time needed [cmc_contactlists]: 0.00 sec
Not importing state from Nagios, /omd/sites/main/var/nagios/retention.dat not found.
/omd/sites/main/var/check_mk/core/config written.
Try aquire lock on /omd/sites/main/var/check_mk/stored_passwords
Got lock on /omd/sites/main/var/check_mk/stored_passwords
Releasing lock on /omd/sites/main/var/check_mk/stored_passwords
Released lock on /omd/sites/main/var/check_mk/stored_passwords
OK
Packing config…Try aquire lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
Got lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
Releasing lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
Released lock on /omd/sites/main/var/check_mk/base/precompiled_check_config.mk.orig
OK
Reloading monitoring core…OK
How many cores has your machine?
A load between 30 and 47 is really demanding for the system.
After you activate the config on the command line i would only remove the file with not activated changes.
A discard changes inside WATO can lead to an “unwanted” or “older” state of your configuration.
The files with the changes you find inside “~/var/check_mk/wato/”.
I had only problems activating changes from web after i modified or installed a new check.
Then a onetime “cmk -R” was needed. After this web activation worked without problem.
Inside WATO you have the web server between and this leads to the timeout problem.
The activation is running in the background and also completes only the web server gets no response in time and as a result the WATO is not resetting the pending changes.