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

Re: Entry cache hit ratio and aggregated logging



On Monday 02 February 2009 16:09:49 kkalev wrote:
> Hello, i 'd like to ask a couple of questions for which i haven't been able
> to find any obvious answers:
> 1. Is there a way to know the entry cache (slapd.conf cachesize directive)
> hit ratio? I haven't been able to find any such element in the cn=monitor
> structure (although the admin can find the current size of the entry and
> idl cache).
> 2. Is there a way to aggregate logging and only post operation numbers
> every 1 minute in the log file? I am not actually interested in each query
> run on my ldap server (and if i need that i can just set the log-level to
> Stats in cn=config) but i would like to be able to keep statistics of the
> server operations. The ideal situation would be for the server to send a
> sum of the completed operations during a configurable time interval.

At least (2) is definitely available in the monitor backend, I think in 2.4, 
(1) may also ...

For example, I monitor all LDAP server's performance with Hobbit/Xymon and the 
script avaialble here:

http://staff.telkomsa.net/~bgmilne/hobbit/

Regards,
Buchan