[Date Prev][Date Next]
Can cachesize be too big?
Is it possible to have a BerkeleyDB cache size (set by set_cachesize in
DB_CONFIG) be TOO big? For example, if the cachesize is greater than
physical memory? Or for that matter, total system memory (swap + physical)?
We have two identical machines with 2GB of physical memory and 2GB of swap
Both machines running OpenLDAP 2.1.25 + BerkeleyDB 4.1.25-1
Machine A is rock solid, whereas Machine B craps out daily (some instances
will shoot up to 100% cpu, prompting a kill and db_recover).
Would the fact that the total amount of cachesize required for Machine B is
greater than the total amount of memory on the system be a possible culprit?
I don't think I have ever actually seen the memory usage reach max capacity
(or even close), so I would guess no, but is it a possibility?
// Diplomacy is the art of saying 'nice doggy'
// until you can find a rock.