Directory Server 5.2 with less than 2Gb Entry Cache
By fintanr on Nov 08, 2005
Part two of my notes on the 2005Q4 release of the Java Enterprise System. This one is not so much of a workaround, more of an information piece. The Directory Server folks have been hard at work further increasing the performance of the Directory Server, and one of these improvements was a change in the way the entry cache is calculated. A side effect of this is that for rigs with an entry cache of less than 2Gbs you could encounter a performance degradation. The workaround for this is very simple, just set the environment variable SUN_SUPPORT_SLAPD_DEFPOOL=true and restart your directory server. i.e for an ldap deployment called ds,
# cd /var/opt/mps/serverroot/slapd-ds # SUN_SUPPORT_SLAPD_DEFPOOL=true; export SUN_SUPPORT_SLAPD_DEFPOOL # ./start-slapdThis is also documented in the Sun Java System Directory Server 5.2 2005Q4 Release Notes.