[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: how to set entry cache

I know cachesize <integer>
           Specify the size in entries of the in-memory entry cache
           maintained by the BDB backend database instance.  The default is
           1000 entries.
but I didn't know how large in byte is one entry or one index.so I didn't know how to set cachesize in slapd.conf due to my machine memory.

----- Original Message ----- 
From: "Quanah Gibson-Mount" <quanah@stanford.edu>
To: "çåå" <luozhijian@huawei.com>; <openldap-software@OpenLDAP.org>
Sent: Thursday, April 28, 2005 1:32 AM
Subject: Re: how to set entry cache

> --On Wednesday, April 27, 2005 5:30 PM +0800 çåå 
> <luozhijian@huawei.com> wrote:
> > And the FAQ didn't say how to set cachesize and index cache size in
> > slapd.conf?
> I suggest reading the slapd.conf man page, which details what those 
> parameters are.  There is no "right" setting for them, other than what you 
> determine as being right for your needs.
> --Quanah
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITSS/Shared Services
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
> "These censorship operations against schools and libraries are stronger
> than ever in the present religio-political climate. They often focus on
> fantasy and sf books, which foster that deadly enemy to bigotry and blind
> faith, the imagination." -- Ursula K. Le Guin