Skip to content

setting vm.max_map_count #225

Description

@CarstenHoyer

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 git@github.com: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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions