From b54f76cae6ffd59468167393169fa77dcb95637f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavol=20=C5=BD=C3=A1=C4=8Dik?= Date: Fri, 3 May 2024 11:29:26 +0200 Subject: [PATCH] Increase vm.max_map_count in sap-netweaver profile Resolves: RHEL-32124 --- tuned-2.22.1-sap-vm-max-map-count.patch | 28 +++++++++++++++++++++++++ tuned.spec | 8 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tuned-2.22.1-sap-vm-max-map-count.patch diff --git a/tuned-2.22.1-sap-vm-max-map-count.patch b/tuned-2.22.1-sap-vm-max-map-count.patch new file mode 100644 index 0000000..8d7eb08 --- /dev/null +++ b/tuned-2.22.1-sap-vm-max-map-count.patch @@ -0,0 +1,28 @@ +From 04ead944fdf640ed986331179e533542efc934c7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= +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 +--- + 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 + diff --git a/tuned.spec b/tuned.spec index 6bd6ee6..f05404f 100644 --- a/tuned.spec +++ b/tuned.spec @@ -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 - 2.22.1-4.1 +- sap-netweaver: increase vm.max_map_count + resolves: RHEL-32124 + * Wed Mar 13 2024 Jaroslav Škarvada - 2.22.1-4 - release bump due to broken c8s related: RHEL-27528