When doing db_verify it is failing after a few succeeded tests with a lot of errors of the same contents:
...
BDB5105 Verification of p0003_nGeneralNode_state succeeded.
p0003_nConnectionNode_pidx
db_verify: BDB2034 unable to allocate memory for mutex; resize mutex region
db_verify: BDB2034 unable to allocate memory for mutex; resize mutex region
db_verify: BDB2034 unable to allocate memory for mutex; resize mutex region
....
Sometimes mutex errors are accompanied with complaining about allocating memory:
db_verify: p0004_nAnotherNode_state: Cannot allocate memory
We have been trying to tune the different options in DB_CONFIG file with no impact on result of db_verify. The default settings there are:
set_lg_max 268435456
set_lg_regionmax 1048576
set_lg_bsize 1048576
set_cachesize 0 637534208 1
We've tried to increase cache size by factor 10 without any luck. Also we've tried to set different values to mutex_set_max - also this wasn't helpful.
Version of BDB is 4.7.25
So, please help me to understand what is going wrong. I can provide any further details if needed.