Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add vm.max_map_count item at config.ini or system.ini #432

Closed
2 tasks
chendelin1982 opened this issue Nov 30, 2023 · 1 comment
Closed
2 tasks

add vm.max_map_count item at config.ini or system.ini #432

chendelin1982 opened this issue Nov 30, 2023 · 1 comment
Labels
bug Type label, something isn't working

Comments

@chendelin1982
Copy link
Contributor

Describe the bug

vm.max_map_count 是 Linux 内核参数,它定义了一个进程可能拥有的最大内存映射区域数量。这个参数的默认值可能因系统而异,但在许多系统上,它的默认值是 65530。

But some application need more large value

  • Elastic
  • opensearch
@chendelin1982 chendelin1982 added the bug Type label, something isn't working label Nov 30, 2023
@chendelin1982
Copy link
Contributor Author

use Busybox container to modify for temp solution

  busybox:
    image: busybox
    command: /bin/sh -c "sysctl -w vm.max_map_count=262144"
    privileged: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type label, something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant