From ae4a5f38aae33f31a6dde4670328c936b7f74989 Mon Sep 17 00:00:00 2001 From: Olivier Norture Date: Sat, 16 May 2026 09:37:25 +0000 Subject: [PATCH] fix max_map_count to allow higher value than 524288 --- overlay/etc/cont-init.d/11-setup_sysctl_values.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/etc/cont-init.d/11-setup_sysctl_values.sh b/overlay/etc/cont-init.d/11-setup_sysctl_values.sh index 761989e4..7c9a3da1 100644 --- a/overlay/etc/cont-init.d/11-setup_sysctl_values.sh +++ b/overlay/etc/cont-init.d/11-setup_sysctl_values.sh @@ -3,7 +3,7 @@ print_header "Configure some system kernel parameters" -if [ "$(cat /proc/sys/vm/max_map_count)" -ge 524288 ]; then +if [ "$(cat /proc/sys/vm/max_map_count)" -le 524288 ]; then if [ -w "/proc/sys/vm/max_map_count" ]; then print_step_header "Setting the maximum number of memory map areas a process can create to 524288" echo 524288 > /proc/sys/vm/max_map_count