Lock table is out of available lock entries
637288Nov 29 2009 — edited Nov 30 2009Hi,
I'm using BDB 4.8 via Berkeley DB XML. I'm adding a lot of XML documents (ca. 1000) in one transaction and get "Lock table is out of available lock entries". My locks number is set to 100000 (it's too much but still...).
I know that I probably should not put so many docs in the same transaction, but why BDB throws "not enough locks" error? Aren't 100000 locks enough? (I also tried to set 1 million for testing purposes)
As a side effect question, may I change the number of locks after environment creation (but before opening it)?
P.S. Hope it's not offtop on this forum
Thanks in advance,
Vyacheslav