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

Re: restricting slapd memory consumption



Buchan Milne wrote:

/me notes that it would be nice to have more detail on the entry cache available via back-monitor, such as the number of entries in the cache, and the amount of entry cache that is used ...

Something like

bash-3.1$ ldapsearch -x -H ldap://:9011 -b 'cn=Databases,cn=Monitor' \
	'(objectclass=olmBDBDatabase)' @olmBDBDatabase
# extended LDIF
#
# LDAPv3
# base <cn=Databases,cn=Monitor> with scope subtree
# filter: (objectclass=olmBDBDatabase)
# requesting: @olmBDBDatabase
#

# Database 1, Databases, Monitor
dn: cn=Database 1,cn=Databases,cn=Monitor
objectClass: monitoredObject
objectClass: olmBDBDatabase
olmBDBEntryCache: 0
olmBDBDNCache: 0
olmBDBIDLCache: 0
olmDbDirectory: /home/masarati/Ldap/tests/testrun/db.1.a/

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------