Increase vm.max_map_count in sap-netweaver profile

Resolves: RHEL-32124
This commit is contained in:
Pavol Žáčik 2024-05-03 11:29:26 +02:00
parent 490fd4e6da
commit b54f76cae6
No known key found for this signature in database
GPG Key ID: 5B5640AB63D575DE
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 04ead944fdf640ed986331179e533542efc934c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
Date: Mon, 8 Apr 2024 11:03:47 +0200
Subject: [PATCH] sap-netweaver: increased vm.max_map_count
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Resolves: RHEL-31757
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
---
profiles/sap-netweaver/tuned.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/sap-netweaver/tuned.conf b/profiles/sap-netweaver/tuned.conf
index a1cfd17..81c4d44 100644
--- a/profiles/sap-netweaver/tuned.conf
+++ b/profiles/sap-netweaver/tuned.conf
@@ -10,4 +10,4 @@ include=throughput-performance
kernel.sem = 32000 1024000000 500 32000
kernel.shmall = 18446744073692774399
kernel.shmmax = 18446744073692774399
-vm.max_map_count = 2000000
+vm.max_map_count = 2147483647
--
2.44.0

View File

@ -35,7 +35,7 @@
Summary: A dynamic adaptive system tuning daemon
Name: tuned
Version: 2.22.1
Release: 4%{?prerel1}%{?dist}
Release: 4%{?prerel1}%{?dist}.1
License: GPLv2+
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}/%{name}-%{version}%{?prerel2}.tar.gz
# RHEL-8 specific recommend.conf:
@ -99,6 +99,8 @@ Patch0: tuned-2.22.0-rhel-8-profiles.patch
Patch1: tuned-2.21.0-sd-load-balance.patch
# epyc-eda TuneD profile only for RHEL-8 (see RHEL-27528 for details)
Patch2: tuned-2.22.1-profile-epyc-eda.patch
# Update vm.max_map_count in the sap-netweaver profile (see RHEL-32124 for details)
Patch3: tuned-2.22.1-sap-vm-max-map-count.patch
%description
The tuned package contains a daemon that tunes system settings dynamically.
@ -571,6 +573,10 @@ fi
%config(noreplace) %{_sysconfdir}/tuned/ppd.conf
%changelog
* Fri May 3 2024 Pavol Žáčik <pzacik@redhat.com> - 2.22.1-4.1
- sap-netweaver: increase vm.max_map_count
resolves: RHEL-32124
* Wed Mar 13 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 2.22.1-4
- release bump due to broken c8s
related: RHEL-27528