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

Re: bdb/hdb cachesize calculation

--On Monday, July 12, 2010 5:01 PM +0200 openldap-ml@stresst.net wrote:

Attached to this message you'll find a quick and dirty bash script that
should determine the cachesize for an in-production bdb/hdb backend by
taking dn2id and id2entry as well as all existing indexes into account.

Internally the script calls the db_stat tool in combination with the
formulas found in the 2.4 admin guide under:

Are you trying to determine the size of the cache in use, or what the size of the cache should be? If it is the latter, you just use the du -c -h output of *.bdb. If it is the former, it sounds like your script isn't calculating the right data.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration