Univention Bugzilla – Bug 35021
Heavy load on server: Opening new module in UMC causes errors
Last modified: 2020-06-22 14:30:03 CEST
From the logs: 30.05.14 10:47:11.021 DEBUG_INIT ... 30.05.14 10:47:23.657 SSL ( INFO ) : Server listening to connections This is 12 seconds from "init" to "ready". Too much for the UMC-server which tells the user that communication with the module process failed. Opening the module a second time worked fine (new module process, this time only 1 second from "init" to "ready").
hm, what's the problem more concrete? which module? how to reproduce?
I do not know which module (appcenter?). Should not really matter. The problem is the too-fast error message "connection to module process failed" although the module is fine, just slow. Not sure whether this is a server or module issue. But the result is a useless opened module and a disappointed user. Hard to reproduce. I guess a huge IO load is necessary.
I think if a python module import takes 12 seconds something is wrong in the design of the module. The appcenter e.g. opens itself and directly checks for a license: Failed to load license information: {'desc': "Can't contact LDAP server"} If this would be done in the Instance.init() method everything would be more fine.
I see this very often for the appcenter and udm module.