Univention Bugzilla – Bug 52271
Make dispatch timeout for UMC-Web-Server configurable
Last modified: 2020-11-04 14:49:22 CET
Python notifier has so called "dispatchers" aka functions which are called in the main loop every MIN_TIMER seconds, which is especially for services with multiple main loops. Setting the MIN_TIMER from default 100 to 30 increases the performance of UMC under heavy load / many parallel (login) requests: Including the fix from Bug #52253 the number of logins per second increased from ~5.1 to ~7.5: Master 6 vCPUs, Slave 8 vCPUs, Mean time per portal login 0.141109539986 Number of logins per second: 7.08669307618
The dispatching interval may now be configured via the UCR-Variables: UMC-Web-Server: umc/http/dispatch-interval UMC-Server: umc/server/dispatch-interval The UMC-Server doesn't registers dispatchers but the interval is also used as the default timeout in the main loop during IDLE time. univention-management-console.yaml 72020907da80 | YAML Bug #52271 univention-management-console (11.0.5-6) ade91d371b75 | Bug #52271: make dispatcher interval configurable
Code: OK UCR description and default: OK YAML: OK
<https://errata.software-univention.de/#/?erratum=4.4x794>