Univention Bugzilla – Bug 50456
Wrong ucr variable mentioned in group cache chapter
Last modified: 2021-11-30 13:09:31 CET
http://docs.software-univention.de/performance-guide-4.4.html#group:cache "In the default setting, the group cache is regenerated every time changes are made to a group. This avoids cache effects whereby group memberships only become visible for a service after the next scheduled group cache rewrite (in the default setting after 15 minutes and after 15 seconds of inactivity in the Univention Directory Listener. In larger environments with a lot of group changes, this function should be deactivated by setting the Univention Configuration Registry variable nss/group/invalidate_cache_on_changes to false. This setting takes effect immediately and does not require a restart of the Univention Directory Listener." The ucr Variable mentioned here is ucr info nss/group/invalidate_cache_on_changes but on my system it seems to be this: ucr info nss/group/cachefile/invalidate_on_changes nss/group/cachefile/invalidate_on_changes: yes If this variable is activated and the group cache file has been enabled (variable: nss/group/cachefile), the cache file is automatically regenerated whenever a group is edited in the UCS management system. If this variable isn't set, the option is enabled. Categories: system-base Not a big deal, but causes trouble with a customer
---[univention-pam.univention-config-registry-variables]--- [nscd/group/invalidate_cache_on_changes] Description[de]=Ist diese Option aktiviert, wird bei jeder Änderung an einer Gruppe im UCS-Managementsystem durch ein Univention Directory Listener-Modul der NSCD-Gruppencache invalidiert. Description[en]=If this option is enabled, the NSCD group cache is invalidated through a Univention Directory Listener module every time a group is modified in the UCS management system. [nss/group/cachefile/invalidate_on_changes] Description[de]=Wenn diese Variable aktiviert ist und die Gruppen-Cachedatei (Variable: nss/group/cachefile) verwendet wird, wird bei jeder Gruppenänderung im UCS-Managementsystem die Cachedatei automatisch neu geschrieben. Ist die Variable nicht gesetzt, ist die Option aktiviert. Description[en]=If this variable is activated and the group cache file has been enabled (variable: nss/group/cachefile), the cache file is automatically regenerated whenever a group is edited in the UCS management system. If this variable isn't set, the option is enabled. --- Christina is right. The performance guide mentions the wrong variable. And the code confirms this as well.
JFYI: The Performance Guide of UCS 5 is already fixed. UCS 4 MR: https://git.knut.univention.de/univention/ucs/-/merge_requests/193
(In reply to Sönke Schwardt-Krummrich from comment #2) > JFYI: The Performance Guide of UCS 5 is already fixed. 4703ce9ae14 > UCS 4 MR: https://git.knut.univention.de/univention/ucs/-/merge_requests/193 OK