Univention Bugzilla – Bug 37046
setup/apps/query takes 8 minutes
Last modified: 2017-01-17 17:01:40 CET
Since the global appcenter the following command takes 8 minutes in a environment with 200 memberservers: time umc-command -U Administrator -P univention setup/apps/query -f wizard user 0m0.328s sys 0m0.072s real 8m35.766s Doing this request blocks (only tested in chromium) the HTTP connection so that no further request is answered until the request was answered. So nothing is possible in UMC anymore then. I am not sure how critical this is because this command is only executed in the setup wizard. But I could imagine that this command is not the only one. Maybe some more in the appcenter? The logfile is full of these entries for every computer object which exists: 25.11.14 15:46:58.670 ADMIN ( INFO ) : Set primary group = cn=Computers,cn=groups,dc=test,dc=intranet 25.11.14 15:46:58.671 ADMIN ( INFO ) : zoneNames: [('test.intranet', ['1.250.3.19'])] 25.11.14 15:46:58.672 ADMIN ( INFO ) : results: ['zoneName=test.intranet,cn=dns,dc=test,dc=intranet'] 25.11.14 15:46:58.672 ADMIN ( INFO ) : dnsEntryZoneForward: [['zoneName=test.intranet,cn=dns,dc=test,dc=intranet', '1.250.3.19']] 25.11.14 15:46:58.672 ADMIN ( INFO ) : simpleComputer: dnsEntryZoneReverse: [['zoneName=250.1.in-addr.arpa,cn=dns,dc=test,dc=intranet', '1.250.3.19']] 25.11.14 15:46:58.672 ADMIN ( INFO ) : simpleComputer: dnsEntryZoneAlias: [] 25.11.14 15:46:58.673 ADMIN ( INFO ) : primary group number = 5007
Created attachment 6479 [details] patch Attached a patch. give app.to_dict() only the local hostname (instead of querying every host). Would it be also okay to pass an empty list (worked at least in my test). @Dirk: what do you think about the patch?
The code was changed via Bug #40102 and is probably resolved!? *** This bug has been marked as a duplicate of bug 40102 ***