Hi,

when trying to use the pcache overlay for an MDB database instance, it seems to work, at least some first test search seem to be significantly improved but then the slapd process without anything in the logs (no segfault at least). Unfortunately it is not possible to restart the slapd process either, as it also soon dies after starting.

The config used looks something like the following:

dn: olcOverlay={0}pcache,olcDatabase={1}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcPcacheConfig
olcOverlay: {0}pcache
olcPcache: mdb 1000 1 1000 100
olcPcacheAttrset: 0 bn attribute1 attribute2 objectClass
olcPcacheTemplate: "(&(|(objectClass=)(objectClass=))(bn=))" 0 120
olcPcacheTemplate: "(bn=)" 0 120

dn: olcDatabase={0}mdb,olcOverlay={0}pcache,olcDatabase={1}mdb,cn=config
objectClass: olcMdbConfig
objectClass: olcPcacheDatabase
olcDatabase: {0}mdb
olcDbDirectory: /data/pcache
olcDbIndex: objectClass eq
olcDbIndex: bn  pres,eq,sub


Is pcache supposed to work as an overlay for mdb database? Or does it only work 
with an ldap backend db?

Thanks,
Norbert

Reply via email to