[Date Prev][Date Next]
Re: increasing cache size for recovery using slapadd how??????
I am trying to recover my openldap database
using slapadd, fo that I would like to increase the
cache size for faster recovery my DB_CONFIG file in
database directory looks like thisAs noted here http://www.openldap.org/faq/data/cache/893.html you must
run db_recover in order for new cache size settings to take effect. Of
course that's only needed for OpenLDAP 2.2 and older; in OpenLDAP 2.3
changing the DB_CONFIG file automatically triggers a db_recover operation.
set_cachesize 0 52428800 0
# Set temporary file creation directory.
I started my openldap server, but db_stat is not
reflecting the changes
# db_stat -m -h /usr/local/var/virtual-data
264KB 48B Total cache size.
1 Number of caches.
272KB Pool individual cache size.
0 Requested pages mapped into the process'
0 Requested pages found in the cache (0%).
3 Requested pages not found in the cac
what am I missing, is there any other parameter need
to increase the cache size, pls advice.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/