Could not load mining kernel

The issue here is that Linux disallows obvious overcommits for MAP_ANONYMOUS by default. The Nock Stack mmaps 128GB which is too much for most systems to commit. Anybody affected by this issue should do sudo sysctl -w vm.overcommit_memory=1 and try again.

Notably this overcommit limit does not affect MAP_SHARED mappings, which is why we can map 1TB to LMDB in vere without issue.

I would PR this to the repo readme but I can’t. Here’s the commit Logan.

7 Likes