From e3a63ca8f24b42d58572192465fde84ffc248b69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Wed, 1 Feb 2023 08:53:25 +0100
Subject: [PATCH] fix: implements system parameter suggestions from ExL SC
 06626566

---
 tasks/oracle/configure_system_limits.yml | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/tasks/oracle/configure_system_limits.yml b/tasks/oracle/configure_system_limits.yml
index da7ceb0..8f8eae5 100644
--- a/tasks/oracle/configure_system_limits.yml
+++ b/tasks/oracle/configure_system_limits.yml
@@ -1,6 +1,9 @@
 ---
-# all settings as suggested in SupportCase 00909505 "JDBCConnectionException:
-# Cannot open connection [Rosetta 6.3.0.0]"
+# all settings as suggested in 
+# - SupportCase 00909505 "JDBCConnectionException:
+#   Cannot open connection [Rosetta 6.3.0.0]"
+# - SupportCase 06626566 "Revalidation Process kills
+#   performance, ingests and Oracle [Rosetta 7.3.0.2]"
 
 - name: set PAM Limits (man 5 limits.conf)
   ansible.builtin.blockinfile:
@@ -19,10 +22,10 @@
       @exlibris hard memlock 4194304
       @dba soft nofile 65000
       @dba hard nofile 65000
-      @dba soft nproc 16384
-      @dba hard nproc 16384
-      @dba soft memlock 33554432
-      @dba hard memlock 33554432
+      @dba soft nproc 32768
+      @dba hard nproc 32768
+      @dba soft memlock 34603008
+      @dba hard memlock 34603008
   notify: activate kernel parameter changes
 
 - name: set Kernel parameters (man 5 sysctl.conf)
@@ -43,6 +46,9 @@
       fs.aio-max-nr = 3145728
       fs.file-max = 6815744
       # Use 65GB, about 95% of total RAM 68G
-      kernel.shmmax = 69793218560
-      kernel.shmall = 17039360
+      #kernel.shmmax = 69793218560
+      #kernel.shmall = 17039360
+      # use 61GB, about 89,7% of total RAM 68G as of SC 06626566
+      kernel.shmmax=65498251264
+      kernel.shmall=15990784
   notify: activate kernel parameter changes
-- 
GitLab