Problem
You might notice an issue with the listener cache on a backup/ slave server running as 32bit version.
Environment
root@ucs:~# ucr search listener/cache/mdb/maxsize
listener/cache/mdb/maxsize: <empty>
The maximum size of the cache database in bytes. On 64 bit systems the default is 2 GiB. On 32 bit systems the default is 1.9 GiB.
Setting the variable to a value above 1.9GiB does not have any affect as the maximum size is 1.9GiB and can not be extended.
Solution
Use a listener cache filter to synchronize only parts of the LDAP object in order to reduce the listener cache file size.
root@ucs:~# ucr search listener/cache/filter
listener/cache/filter: <empty>
LDAP filter string to prevent local caching
By setting this filter objects matching will not be synced to the local listener cache.
This example will not sync any object which is located in the OrganisationalUnit (ou) “remote-location”.
root@ucs:~# ucr set listener/cache/filter="ou=remote-location"