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, 2018 at 10:27
  • Yes, everytime. I am running node inside docker.
    – nanmu42
    Jul 12, 2018 at 13:41
  • same issue...Did you guys able to resolve this issue?
    – cmr
    Jul 30, 2018 at 9:03
  • see #4632.
    – nanmu42
    Jul 30, 2018 at 9:06

1 Answer 1


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 and acknowledge you have read our privacy policy.

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