When I started nodeos, I got:

CHAINBASE: Failed to pin chainbase shared memory (of size 1024 MB) in RAM. Performance degradation is possible.

Memory is enough(more than 6GB available), so why is this? And what can I do?

  • Same happens after a reboot of your computer? Jul 11 '18 at 10:27
  • Yes, everytime. I am running node inside docker.
    – nanmu42
    Jul 12 '18 at 13:41
  • same issue...Did you guys able to resolve this issue?
    – cmr
    Jul 30 '18 at 9:03
  • see #4632.
    – nanmu42
    Jul 30 '18 at 9:06

TL;DR: Using docker cap_add option to add IPC_LOCK privilege resolves this issue.

This is actually a docker-related question.

Process in docker container needs IPC_LOCK privilege to pin memory, which means prohibiting its memory page being swapped into swap.

More info: #4632

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.