Jorgen Lundman wrote:
No real reason, tried various different settings but to no real advantage. Now I have: Filesystem size used avail capacity Mounted on swap 19G 7.7G 11G 42% /tmp # grep cache DB_CONFIG set_cachesize 8 0 1 # time /usr/local/BerkeleyDB.4.8/bin/db_stat -d id2entry.bdb real 6m6.099s # time cp id2entry.bdb /dev/null real 0m0.040s (It's not on disk)
Now repeat the db_stat call and see how long it takes the 2nd time. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/