Hi all,
Sometimes my sladd process take more than 100% CPU and I don't know why. Searching on google I foud nsome tips about tunning but I don't understand some part of the article (set_cachesize chapter) ( http://www.openldap.org/doc/admin23/tuning.html)
openldap 2.3.43 with BDB db-4.2.52 on Redhat Enterprise Linux 5.3
Some output :
db_stat -d dn2id.bdb 53162 Btree magic number. 9 Btree version number. Flags: duplicates, little-endian 2 Minimum keys per-page. 4096 Underlying database page size. 2 Number of levels in the tree. 1588 Number of unique keys in the tree. 3159 Number of data items in the tree. 5 Number of tree internal pages. 19000 Number of bytes free in tree internal pages (7% ff). 51 Number of tree leaf pages. 113150 Number of bytes free in tree leaf pages (46% ff). 10 Number of tree duplicate pages. 18790 Number of bytes free in tree duplicate pages (54% ff). 0 Number of tree overflow pages. 0 Number of bytes free in tree overflow pages (0% ff). 0 Number of pages on the free list.
db_stat -d id2entry.bdb 53162 Btree magic number. 9 Btree version number. Flags: little-endian 2 Minimum keys per-page. 16384 Underlying database page size. 2 Number of levels in the tree. 792 Number of unique keys in the tree. 792 Number of data items in the tree. 1 Number of tree internal pages. 13792 Number of bytes free in tree internal pages (16% ff). 117 Number of tree leaf pages. 717074 Number of bytes free in tree leaf pages (63% ff). 0 Number of tree duplicate pages. 0 Number of bytes free in tree duplicate pages (0% ff). 25 Number of tree overflow pages. 276539 Number of bytes free in tree overflow pages (32% ff). 4 Number of pages on the free list.
anyone can help me for tuning mu openldap DB ?
thanks
Stéphane Purnelle
----------------------------------- Stéphane PURNELLE Admin. Systèmes et Réseaux Service Informatique Corman S.A. Tel : 00 32 (0)87/342467