Sun Java System Calendar Server 6 2005Q4 Administration Guide

Tuning the LDAP SDK Cache

There are a couple of parameters that control how long an item stays in the cache, and how large the cache can be.

To tune the cache, edit one or more of the parameters as shown in the following table:

Table 21–2 ics.conf Parameters for Configuring the LDAP SDK Cache

Parameter  

Description and Default Value  

service.ldapmemcachettl

This is not currently implemented. You must manually remove the contents of the ldap_cache directory and then restart Calendar Server.

If service.ldapmemcache is "yes", this parameter is used to set the maximum number of seconds that an item can be cached. If “0”, there is no limit to the amount of time that an item can be cached. The default is “30”.

service.ldapmemcachesize

If service.ldapmemcache is "yes", this parameter is used to set the maximum amount of memory in bytes that the cache will consume. If “0”, the cache has no size limit. The default is “131072”.