[Date Prev][Date Next]
Re: (ITS#6222) Add "unlimited" option for cachesize settings
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6222) Add "unlimited" option for cachesize settings
- From: email@example.com
- Date: Sat, 25 Jul 2009 05:21:24 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.17
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (184.108.40.206)
> Now that we have multiple cache sizes, it would be extremely useful,
> particularly with dncachesize, to be able to specify an "unlimited" setting, so
> that the 2.3 behavior can be easily replicated. Also so that people who have
> systems with plenty of RAM can just set it once.
Yeah, I guess it was kind of a bad idea to make the default 2.4 behavior
differ from 2.3 here. Fixed in HEAD.
> In particular, I've noticed in 2.3->2.4 upgrades, if dncachesize is particularly
> small in relation to the size of the database, slapd is essentially unusable.
> I'd rather see dncachesize default to unlimited if it isn't set (2.3 behavior),
> and people can tune it down from there if they need to do so. This allows slapd
> to remain usable without severely impacting the ability of slapd to function.
> It is so bad, that it becomes impossible to modify cn=config via ldap commands,
> and you have to stop slapd and manually hack the cn=config text files to return
> slapd to a usable state.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/