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
This is also documented in the Sun Java System Directory Server 5.2 2005Q4 Release Notes.
Comments:

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 02:13 PM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

fintanr

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today