Directory Server 5.2 with less than 2Gb Entry Cache
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-slapd
I have some experience with that.
It does indeed restrain memory usage.
Unfortunately it seems also to cause random server crashes (not too often, just once a month or so ;-).
Is this feature fully tested in all environments ?
Posted by
Michal Kurowski
on January 02, 2006 at 10:13 PM GMT
#
Posted by Michal Kurowski on January 02, 2006 at 10:13 PM GMT #