[389-devel] Please review: [Bug 627738] The cn=monitor statistics entries for the dnentry cache do not change or change very rarely

Noriko Hosoi nhosoi at redhat.com
Sat Aug 28 00:16:13 UTC 2010


  https://bugzilla.redhat.com/show_bug.cgi?id=627738

https://bugzilla.redhat.com/attachment.cgi?id=441634&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=441634&action=edit

These are not the fixes for the subject of this bug (I'm not yet convinced that the subject is a bug...), but found while looking into the dn cache.

Description:
1) id2entry_add_ext replaces an dn instance in the dn cache even if
    the DN value is identical.  Replace it only when they don't match.
    File:  ldap/servers/slapd/back-ldbm/id2entry.c

2) Modifying the dn cache related labels:
     dnEntrycachehits
     dnEntrycachetries
     dnEntrycachehitratio
     dnCurrententrycachesize
     dnMaxentrycachesize
     dnCurrententrycachecount
     dnMaxentrycachecount
    ===>
     dncachehits
     dncachetries
     dncachehitratio
     currentdncachesize
     maxdncachesize
     currentdncachecount
     maxdncachecount
    File:  ldap/servers/slapd/back-ldbm/monitor.c



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6646 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20100827/62d18104/attachment.bin 


More information about the 389-devel mailing list