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

Re: (ITS#6176) cachesize vs dncachesize

h.b.furuseth@usit.uio.no wrote:
> Full_Name: Hallvard B Furuseth
> Version: 2.4.16
> OS:
> URL: http://www.openldap.org/lists/openldap-software/200906/msg00021.html
> Submission from: (NULL) (
> Submitted by: hallvard
> The referred openldap-software message says:
>> From: Howard Chu<hyc@symas.com>
>> dncachesize must always be>= cachesize
> This is not documented, neither in manpage nor admin guide.
> Also slapd should preferably catch attempts to set them wrong, and
> either adjust them or fail the change.  That's so for many config
> options, but more important for interactions between options.

The details here are unimportant. Since entry cache items hang off of dncache 
items, the only consequence of a "wrong" configuration here is that the entry 
cache could only ever grow to the size of the dncache.

At any rate, the code has been patched to set dncachesize >= cachesize, and 
the manpage updated correspondingly, but there's no critical problem without 
this patch.
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/