Skip to content

Environment mapsize limit reached #134

@CHempel-esatus

Description

@CHempel-esatus

We ran the vlei-verifier version 0.1.3 in a Docker container we created ourselves and, after some time and regular verifications, discovered a problem with the database size limit.

When we tried to perform verifications, we always got the following error:
sys.exit(main()) ^^^^^^ File "/usr/local/var/vlei-verifier/src/verifier/app/cli/verifier.py", line 34, in main raise ex File "/usr/local/var/vlei-verifier/src/verifier/app/cli/verifier.py", line 29, in main directing.runController(doers=doers, expire=0.0) File "/keripy/venv/lib/python3.12/site-packages/keri/app/directing.py", line 665, in runController doist.do(doers=doers) File "/keripy/venv/lib/python3.12/site-packages/hio/base/doing.py", line 156, in do self.recur() # increments .tyme runs recur context ^^^^^^^^^^^^ File "/keripy/venv/lib/python3.12/site-packages/hio/base/doing.py", line 275, in recur tock = dog.send(self.tyme) # yielded tock == 0.0 means re-run asap ^^^^^^^^^^^^^^^^^^^ File "/keripy/venv/lib/python3.12/site-packages/hio/base/doing.py", line 568, in do self.done = self.recur(tyme=tyme) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/var/vlei-verifier/src/verifier/core/authorizing.py", line 391, in recur self.authn.processEscrows() File "/usr/local/var/vlei-verifier/src/verifier/core/authorizing.py", line 373, in processEscrows self.processPresentations() File "/usr/local/var/vlei-verifier/src/verifier/core/authorizing.py", line 143, in processPresentations add_state_to_state_history(self.vdb, aid, cred_state) File "/usr/local/var/vlei-verifier/src/verifier/core/utils.py", line 223, in add_state_to_state_history vdb.hst.pin(keys=(aid,), val=history_object) File "/keripy/venv/lib/python3.12/site-packages/keri/db/koming.py", line 260, in pin return (self.db.setVal(db=self.sdb, ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/keripy/venv/lib/python3.12/site-packages/keri/db/dbing.py", line 497, in setVal return (txn.put(key, val)) ^^^^^^^^^^^^^^^^^ lmdb.MapFullError: mdb_put: MDB_MAP_FULL: Environment mapsize limit reached

Only deleting the data under /usr/local/var/keri, which we persisted, solved the issue.
But then we needed to add the additional root of trust again.

We found no option to configure the maximum lmdb database size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions