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

cachesize does not exceed 1000 entries



Folks,
I'm running openldap version 2.3.4 configured to use an ldap database with a proxycache backend. For whatever reason, I am unable to cache > 1000 entries. I must be missing something so obvious. Any ideas?


Cheers,
Robert


slapd.conf: database ldap suffix "dc=bnl,dc=gov" rootdn "cn=Manager,dc=bnl,dc=gov" rootpw {SSHA}stuffishere uri "ldap://ldapserver";

overlay pcache
proxycache bdb 100000 1 5000 3600
proxyattrset 0 cn uid uidnumber gidnumber gecos description homedirectory loginshell
proxytemplate (objectClass=) 0 3600
directory /var/lib/ldap
index objectClass eq,pres
cachesize 2000


DB_CONFIG:
set_cachesize 0 536870912 1

slapd logs when doing a query:
ENTRY ADDED/MERGED, CACHED ENTRIES=997
Aug 16 17:22:12 rldap04 slapd[4474]: ENTRY ADDED/MERGED, CACHED ENTRIES=998
Aug 16 17:22:12 rldap04 slapd[4474]: ENTRY ADDED/MERGED, CACHED ENTRIES=999
Aug 16 17:22:12 rldap04 slapd[4474]: ENTRY ADDED/MERGED, CACHED ENTRIES=1000
Aug 16 17:22:12 rldap04 slapd[4474]: STORED QUERIES = 1
Aug 16 17:22:12 rldap04 slapd[4474]: Added query expires at 1124230932
Aug 16 17:22:12 rldap04 slapd[4474]: Lock AQ index = 0
Aug 16 17:22:12 rldap04 slapd[4474]: TEMPLATE 0 QUERIES++ 1
Aug 16 17:22:12 rldap04 slapd[4474]: Unlock AQ index = 0 Aug 16 17:22:12 rldap04 slapd[4474]: Base of added query = ou=people,dc=rcf,dc=bnl,dc=gov
Aug 16 17:22:12 rldap04 slapd[4474]: conn=0 op=0 SEARCH RESULT tag=101 err=0 nentries=1000 text=
Aug 16 17:22:12 rldap04 slapd[4474]: conn=0 op=1 UNBIND
Aug 16 17:22:12 rldap04 slapd[4474]: conn=0 fd=10 closed