fintanr's weblog

Archives

« December 2009
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
31
   
       
Today

the links




Twitter Updates

    follow me on Twitter
















    20051108 Tuesday November 08, 2005

    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.
    (2005-11-08 06:25:00.0) Permalink Comments [1]

    Trackback URL: http://blogs.sun.com/fintanr/entry/directory_server_5_2_with
    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 10:13 PM GMT #

    Post a Comment:

    Name:
    E-Mail:
    URL:

    Your Comment:

    HTML Syntax: NOT allowed