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

(ITS#7693) ProxyCache Problems

Full_Name: Mike Teichler
Version: 2.4
OS: Windows 7
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I have an Issue with the ProxyCache on OpenLDAP (2.4.23-32.el6_4.1)[CentOS 6]
which should Cache the Queryanswers from an OpenLDAP ( 2.3.43-12.el5_7.9)[CentOS
5] Server.

The Problem isn't the Proxy but the Cache. When I do a query, i get the right
But if I look into the LDAP.log with locklevel=2048,
I always get the Strings:


and if I shutdown the Server where the Proxy get its Informations it doesn't
answers to the same query.

My Konfiguration: 

In: /etc/openldap/slapd.d/olcDatabase={1}ldap/olcOverlay={0}pcache.ldif

dn: olcOverlay={0}pcache
objectClass: olcOverlayConfig
objectClass: olcPcacheConfig
olcOverlay: {0}pcache
olcPcache: bdb 100000 30 1000 3600
olcPcacheAttrset: 0 objectClass gidNumber mail cn uid displayName uidNumber ou
olcPcacheTemplate: "(objectClass=)" 0 3600
olcPcachePosition: tail
olcPcacheMaxQueries: 10000
olcPcacheValidate: FALSE
structuralObjectClass: olcPcacheConfig
entryUUID: 3a14c15c-ab42-1032-824e-7d8dac3932bf
creatorsName: cn=config
createTimestamp: 20130906131604Z
olcPcacheOffline: FALSE
olcPcachePersist: TRUE
entryCSN: 20130910133719.273176Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20130910133719Z

In:  /etc/openldap/slapd.d/olcDatabase={1}ldap/olcOverlay={0}pcache/olcDatabase={0}bdb.ldif

dn: olcDatabase={0}bdb
objectClass: olcBdbConfig
objectClass: olcPcacheDatabase
olcDatabase: {0}bdb
olcDbDirectory: /var/lib/ldap
olcDbCacheSize: 10000
olcDbConfig: {0}        #
olcDbConfig: {1}        # Set the database in memory cache size.
olcDbConfig: {2}        #
olcDbConfig: {3}        set_cachesize   0       524288000        1
olcDbNoSync: FALSE
olcDbDirtyRead: FALSE
olcDbIDLcacheSize: 0
olcDbIndex: objectClass eq
olcDbIndex: cn pres,eq,sub
olcDbIndex: uid pres,eq,sub
olcDbIndex: mail pres,eq,sub
olcDbIndex: displayName pres,eq,sub
olcDbLinearIndex: FALSE
olcDbMode: 0600
olcDbSearchStack: 16
olcDbShmKey: 0
olcDbCacheFree: 1
olcDbDNcacheSize: 0
structuralObjectClass: olcBdbConfig
entryUUID: 3a14cbde-ab42-1032-824f-7d8dac3932bf
creatorsName: cn=config
createTimestamp: 20130906131604Z
entryCSN: 20130906131604.110178Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20130906131604Z

If you need more Informations please ask.

best regards,
M. Teichler