Changing the cache size
If you've added more RAM to the server, you can manually increase the BerkeleyDB cache size, using the RAM to cache ratios described above as your guideline. This can also help improve LDAP performance.
To change the BerkeleyDB cache size in either Mac OS X Server version 10.3 or 10.4, open the file /var/db/openldap/openldap-data/DB_CONFIG in your preferred text editor, and edit the file by typing one of the corresponding values below:
- For 4 MB: set_cachesize 0 4194304 1
- For 16 MB: set_cachesize 0 16777216 1
- For 32 MB: set_cachesize 0 33554432 1
- For 64 MB: set_cachesize 0 67108864 1
Save the file, then restart the server to apply your change.