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

RE: pcache + back-sql



>
>
>> >
>> >
>> >> Does anyone have an example of using the pcache overlay with
>> back-sql?
>> >> Here's the relevant section of my slapd.config:
>> > I've found the problem I think, I had the "overlay pcache" in the
>> global
>> > section, rather than in the "database sql" section.At least it's not
>> > crashing now, I'm still trying to convince myself that repeated
>> requests
>> > are being served from the cache.
>>
>> did you read (and understand) slapo-pcache(5)? only queries matching
>> configured templates (filter + requested attributes) are cached. Use
>> "pcache" logging subsystem to track whether caching occurs.
>>
>> p.
>>
> Yes, I've read that manual page and configured templates. 
> I've also got the monitoring backend working, and I can see that caching
> is happening.
> Can you point me to documentation about the pcache logging subsystem?

slapd -d pcache

Indeed, I can't find any mention of it in obvious places (slapo-pcache(5),
admin guide under pcache overlay, loglevel directive in slapd.conf(5) or
slapd-config(5)).  I suggest you file a request for documentation update.

p.