rhel-system-roles-sap/sap-preconfigure-#92-db1ed07c66286edbee756ed3504649975d333306.patch
2021-01-12 17:09:06 +01:00

42 lines
1.5 KiB
Diff

commit db1ed07c66286edbee756ed3504649975d333306
Author: Bernd Finger <bfinger@redhat.com>
Date: Wed Aug 19 10:30:21 2020 +0200
issue #92: changed nofile from 32800 to 65536 as per recent changes to SAP note 2002167
diff --git a/tasks/sapnote/2002167/05-process-resource-limits.yml b/tasks/sapnote/2002167/05-process-resource-limits.yml
index a116cbf..324dd9b 100644
--- a/tasks/sapnote/2002167/05-process-resource-limits.yml
+++ b/tasks/sapnote/2002167/05-process-resource-limits.yml
@@ -5,26 +5,26 @@
- debug:
msg: "SAP note 2002167 Step 5: Process Resource Limits"
-- name: Set the hard and soft limit for the max number of open files per process (nofile) to 32800 for group sapsys
+- name: Set the hard and soft limit for the max number of open files per process (nofile) to 65536 for group sapsys
pam_limits:
dest: /etc/security/limits.d/99-sap.conf
domain: "@sapsys"
limit_item: nofile
limit_type: "{{ line_item }}"
- value: "32800"
+ value: "65536"
with_items:
- hard
- soft
loop_control:
loop_var: line_item
-- name: Set the hard and soft limit for the max number of open files per process (nofile) to 32800 for the database group
+- name: Set the hard and soft limit for the max number of open files per process (nofile) to 65536 for the database group
pam_limits:
dest: /etc/security/limits.d/99-sap.conf
domain: "@{{ sap_preconfigure_db_group_name }}"
limit_item: nofile
limit_type: "{{ line_item }}"
- value: "32800"
+ value: "65536"
with_items:
- hard
- soft