Skip to content

Commit

Permalink
Increase vm.max_map_count to match AL2 setting
Browse files Browse the repository at this point in the history
This increases the vm.max_map_count to match the value configured in
Amazon Linux so we have a consistent value and user experience across AL
and Bottlerocket.

Signed-off-by: Sean McGinnis <[email protected]>
  • Loading branch information
stmcginnis committed Aug 17, 2022
1 parent 7555622 commit 9294570
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/release/release-sysctl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ net.core.bpf_jit_harden = 2
# Increase inotify limits to allow for a greater number of containers
fs.inotify.max_user_instances = 8192
fs.inotify.max_user_watches = 524288

# Increase virtual memory to allow for larger workloads
vm.max_map_count = 524288

0 comments on commit 9294570

Please sign in to comment.