WebUI is very slow

Hi,
I am running check_mk 2.1.0p11.cre (upgraded from 1.x version to 2.x) on HPE server with Xeon(R) Gold 6248R CPU. (96 CPU cores!!)
My check_mk is monitoring 377 host with 6300 services. CPU load is almost 2-12

I want to know if is normal. I think it should more faster than is !

On your system not the cpu load is the problem. I would look here first at the Apache performance data.
You can also take a look at the log file of the CMK webinterface. → ~/var/log/web.log

TNX for your reply. BTW I recently upgrade my sever HW.

image

I also increase number of apache node! But UI is still slow. when I want to apply changes it takes almost 20sec to load the activate pending changes page!
image

All looks normal from the performance side. Was there anything inside the “~/var/log/web.log”?
Most problems i had with the GUI where timeout problems to connected LDAP/AD servers or some problems with GUI extensions left from older versions. All these problems you should see inside the log file.

I don’t have any error in web.log now . but these errors are related to almost 10 days ago. maybe I have miss configuration:


2022-09-10 12:34:04,217 [40] [cmk.web 19091] http://192.168.0.10/mysite/check_mk/login.py/mysite/check_mk/login.py MKLDAPException: The distinguished name of the container object, which holds the user objects to b
e authenticated, is not configured. Please fix this in the <a href="wato.py?mode=ldap_config">LDAP User Settings</a>.
2022-09-10 12:34:22,216 [40] [cmk.web 19291] http://192.168.0.10/mysite/check_mk/login.py/mysite/check_mk/login.py MKLDAPException: The distinguished name of the container object, which holds the user objects to b
e authenticated, is not configured. Please fix this in the <a href="wato.py?mode=ldap_config">LDAP User Settings</a>.
2022-09-10 13:45:20,145 [30] [cmk.web.automations 20378] 'check_mk --automation restart' returned 'An error occurred: Other restart currently in progress. Aborting.
'
2022-09-10 13:45:20,146 [40] [cmk.web.automations 20378] Error running 'check_mk --automation restart' (exit code 1)
2022-09-10 13:45:20,146 [40] [cmk.web.site[mysite] 20378] error activating changes
Traceback (most recent call last):
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1560, in _do_run
    configuration_warnings = self._do_activate()
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1838, in _do_activate
    configuration_warnings = self._call_activate_changes_automation()
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 1849, in _call_activate_changes_automation
    return execute_activate_changes(domain_requests)
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/activate_changes.py", line 2060, in execute_activate_changes
    warnings = get_config_domain(domain_request.name)().activate(domain_request.settings)
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/config_domains.py", line 74, in activate
    return {"restart": restart, "reload": reload,}[
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/check_mk_automations.py", line 255, in restart
    _automation_serialized("restart", args=hosts_to_update),
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/check_mk_automations.py", line 60, in _automation_serialized
    cmdline, serialized_result = check_mk_local_automation_serialized(
  File "/omd/sites/mysite/lib/python3/cmk/gui/watolib/automations.py", line 134, in check_mk_local_automation_serialized
    raise local_automation_failure(
cmk.utils.exceptions.MKGeneralException: Error running automation call <tt>restart</tt> (exit code 1), error: <pre>An error occurred: Other restart currently in progress. Aborting.
</pre>
2022-09-10 14:14:02,666 [40] [cmk.web 20965] http://192.168.0.10/mysite/check_mk/wato.py/mysite/check_mk/wato.py MKConfigLockTimeout: Couldn't lock the Checkmk configuration. Another process is running that holds this lock. In order for you to be able to perform the desired action, you have to wait until the other process has finished. Please try again later.
2022-09-10 14:18:56,103 [40] [cmk.web 2839] http://192.168.0.10/mysite/check_mk/wato.py/mysite/check_mk/wato.py MKConfigLockTimeout: Couldn't lock the Checkmk configuration. Another process is running that holds this lock. In order for you to be able to perform the desired action, you have to wait until the other process has finished. Please try again later.
2022-09-10 14:47:01,800 [40] [cmk.web 25263] http://192.168.0.10/mysite/check_mk/login.py/mysite/check_mk/login.py MKLDAPException: The distinguished name of the container object, which holds the user objects to be authenticated, is not configured. Please fix this in the <a href="wato.py?mode=ldap_config">LDAP User Settings</a>.
2022-09-10 14:48:26,598 [40] [cmk.web 2839] http://192.168.0.10/mysite/check_mk/sidebar_snapin.py/mysite/check_mk/sidebar_snapin.py?names=tactical_overview,master_control&since=1662804816&_ajaxid=1662805062 error rendering master control for site mysite

If there are no actual error messages than i don’t know.

OK. TNX for your info