dlite
dlite copied to clipboard
setting vm.max_map_count
I am trying to run ELK from the sebp/elk image, but I am having trouble setting sysctl -w vm.map_max_count in dlite.
It works with release 1.1.4, but not with 2.0.0-beta9
Bug Reports
-
dlite version in use (run
dlite --version
): dlite version 2.0.0-beta9 -
expected behavior: vm.max_map_count should equal 262144 in the container.
-
actual behavior: vm.max_map_count equals 65530 in the container
-
steps to reproduce Init dlite with 4g memory (the memory is strictly not necessary) $ ssh local.docker $ sudo sysctl -w vm.max_map_count=262144 vm.max_map_count=262144
Or set vm.max_map_count=262144 in /etc/sysctl.conf and run sysctl -p
$ git clone [email protected]:CarstenHoyer/dlite-issue.git $ cd dlite-issue $ docker-compose up
Notice vm.max_map_count in the output from the container.
Feature Requests
If possible, please explain why this is working in dlite 1.1.4 but not in the latest 2.x release Or even better - make a fix for it :)