Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Arango logs: "process is near the maximum number of memory mappings. current: 628544, maximum: 512000."

Tags:

arangodb

On a single instance, running on a 8 core VM, we see the following log entry:

process is near the maximum number of memory mappings. current: 628544, maximum: 512000. it may be sensible to increase the maximum number of mappings per process

Arango did not crash so far but what do we have to do to tune the system?

like image 475
ralf Avatar asked Oct 20 '25 17:10

ralf


1 Answers

You will need to run sysctl -w 'vm.max_map_count=2048000' before running arangodb. Do not forget to make this setting permanent.

For more info have a look into the documentation: https://www.arangodb.com/docs/stable/administration-reduce-memory-footprint.html

like image 127
Simon Grätzer Avatar answered Oct 22 '25 14:10

Simon Grätzer