|Link to this page: http://wiki.scn.sap.com/wiki/x/hgNnFQ|
To explain the cause of differences between OS and SAP limits and help to set them correctly.
What limit is setup on OS level for SAP system administrator user (sidadm) and what is known for SAP in fact? What steps are necessary to set them in a correct way? We'll check this.
What limit is setup on OS level for SAP system administrator user (sidadm)?
This can be checked this way:
- login by sidadm user
- run ''ulimit -a' or 'limit' command (depends on the shell - sh, bash, csh, ksh, etc...)
What limit is known for SAP in fact?
There are two cases.
- The same as on OS level
- Other (usually lower) than on OS level - in this case e.g. Too many open files error could occur
How could be the limit different?
The limit is determined by sapstartsrv process. This is started automatically while OS boot by sapinit script. As this is executed by root, root's limit is taken instead of sidadm's.
- install newest sapinit
- add limit.<...>=<value> parameter in /usr/sap/sapservices
- restart sapstartsrv