[389-users] Tuning 389 DS

Rich Megginson rmeggins at redhat.com
Mon Aug 2 18:04:09 UTC 2010


Juan Asensio Sánchez wrote:
> Hi
>
> I am trying to tune the performance of the Directory Server. We have 
> increased the memory for the database cache and for each database 
> entry cache. These are the new values:
>
> cn=config, cn=ldbm database, cn=plugins, cn=config
> nsslapd-dbcachesize: 838860800 (~800MB)
>
> cn=*,cn=ldbm database, cn=plugins, cn=config
> nsslapd-cachememsize: 125829120 (~120MB)
>
> We have 27 databases, and the servers have 16 GB of RAM, so the server 
> should be able to handle all that memory (800 + 120*27 = 4040MB). But 
> when I go to the monitoring section of the management console, the 
> database cache says the hit ratio is 99% (this is OK according to the 
> documentation, near 100%), but the entry cache is 0%, that is very far 
> for 100% that the documentation recomends (see screenshots attached). 
> Am I confused or the configuration is not correct?
When you start out with an empty cache, the cache hit ratio will be 0 
until entries get into the cache and are pulled from the cache rather 
than the database.

Try doing a search like ldapsearch ... -b "basesuffixofdatabase" 
"objectclass=*"
>
> Regards.
>
> * http://www.redhat.com/docs/manuals/dir-server/8.1/admin/memoryusage.html
> * 
> http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Monitoring_Server_and_Database_Activity-Monitoring_Database_Activity.html
> * 
> http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Monitoring_Server_and_Database_Activity-Monitoring_Server_Activity.html#tab.Global_Database_Cache_Information
> * 
> http://www.redhat.com/docs/manuals/dir-server/8.1/admin/Monitoring_Server_and_Database_Activity-Monitoring_Server_Activity.html#Monitoring_Server_Activity-Monitoring_the_Server_from_the_DS_Console
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users




More information about the 389-users mailing list