Setting LDAP cache options
By default, the LDAP cache is configured to store 5000 entries and each entry is considered fresh for 3000 minutes. Change these options by editing the records.config file.
Steps
- Open the records.config file located in /opt/WCG/config.
-
Edit the following variables:
Variable Description proxy.config.ldap.cache.size Specify the number of entries allowed in the LDAP cache.
The default value is 5000. The minimum value is 256.
proxy.config.ldap.auth.ttl_value Specify the number of minutes that Content Gateway can store username and password entries in the LDAP cache. proxy.config.ldap.cache. storage_size Specify the maximum amount of space (in bytes) that the LDAP cache can occupy on disk.
When modifying this value, you must update the value of proxy.config.ldap.cache.size proportionally. For example, if you double the storage size, also double the cache size.
Modifying this variable without modifying proxy.config.ldap.cache.size causes the LDAP subsystem to stop functioning.
- Save and close the file.
- From the Content Gateway bin directory (/opt/WCG/bin), run content_line -L to restart the proxy on the local node or content_line -M to restart the proxy on all the nodes in a cluster.