Bug 2111814

Summary: [SAP AMI only, Stratosphere] ] configure process resource limits [rhel-8.4]
Product: Red Hat Enterprise Linux 8 Reporter: Irina Gulina <igulina>
Component: ec2-imagesAssignee: Bohdan Khomutskyi <bkhomuts>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: bkhomuts, linl, pniahodk, toneata
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-09 07:39:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Irina Gulina 2022-07-28 08:56:57 UTC
Description of problem:
The below file should have different values, not 65526, but 1048576: 

$ sudo cat /etc/security/limits.d/99-sap.conf
@sapsys    hard    nofile   1048576
@sapsys    soft    nofile   1048576
@dba       hard    nofile   1048576
@dba       soft    nofile   1048576
@sapsys    hard    nproc    unlimited
@sapsys    soft    nproc    unlimited
@dba       hard    nproc    unlimited
@dba       soft    nproc    unlimited

Version: 
8.4 RHEL for SAP ami for Stratosphere

Comment 2 Irina Gulina 2022-08-03 07:27:46 UTC
Verified for ami-01fe08dc5c6257c5c in us-east-1 (RHEL-SAP-8.4.0_HVM-20220728-x86_64-0-Marketplace-GP2)

$ sudo cat /etc/security/limits.d/99-sap.conf
@sapsys    hard    nofile   1048576
@sapsys    soft    nofile   1048576
@dba       hard    nofile   1048576
@dba       soft    nofile   1048576
@sapsys    hard    nproc    unlimited
@sapsys    soft    nproc    unlimited
@dba       hard    nproc    unlimited
@dba       soft    nproc    unlimited