Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

db_verify returns error: "unable to allocate memory for mutex; resize mutex region"

user9947572Dec 11 2013 — edited Dec 16 2013

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 13 2014
Added on Dec 11 2013
1 comment
1,828 views