Hi,
I have been searching for memory usage in the server. This
are the results:
389-ds
1.2.5 in a CentOS 5.5 64bits 4GB ram and 6GB swap
* The ns-slapd proccess reaches 11GB of virtual memory. pmap
shows multiple [anon] using the bigger part of that 11G virtual
memory. I think the [anon] are memory reservation from malloc
and mmap but I don't know what call this.
* Looking for cachememsize using this search for one of the
database
ldapsearch -H ldaps://localhost -x
-LLL -b "cn=monitor,cn=o_xxxx,cn=ldbm
database,cn=plugins,cn=config" -D "cn=Directory Manager" -W
"(objectclass=*)" | grep entrycache
Enter LDAP Password:
entrycachehitratio: 99
currententrycachesize: 49973691
maxentrycachesize: 125829120
currententrycachecount: 6521
maxentrycachecount: -1
I have prime that database searching all entries with ->
ldapsearch -H ldaps://localhost -x -LLL -b
"o=cabu,dc=sacyl,dc=es" -D "cn=directory manager" -W
"(objectclass=*)" 1.1 | grep dn: | wc -l
The result is 7610 entries in that database, so looking the
monitor again:
currententrycachesize: 59315175
maxentrycachesize: 125829120
currententrycachecount: 7611
The id2entry.db4 for that database is 59539456 so I guess I
can reduce the cachememsize from 125829120 to about 60000000
Correct me if I am wrong.
And the same for all the another database.
* Now dbcachesize:
ldapsearch -H ldaps://localhost -x
-LLL -b "cn=monitor, cn=ldbm database, cn=plugins,cn=config"
-D "cn=Directory Manager" -W "(objectclass=*)" | grep
dbcache
Enter LDAP Password:
dbcachehits: 1440910461
dbcachetries: 1440919648
dbcachehitratio: 99
dbcachepagein: 9187
dbcachepageout: 128041
dbcacheroevict: 9265
dbcacherwevict: 0
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users