note 323816 - user limits on aix

2
07.04.2010 Page 1 of 2 SAP Note 323816 - User limits on AIX Note Language: English Version: 9 Validity: Valid Since 16.05.2008 Summary Symptom Several different errors could result - file too large, core file is truncated, tp or R3trans run out of memory allocation, Segmentation fault in installation process More Terms ulimit limits Cause and Prerequisites Limits set to small due to old or incorrect documentation Solution In AIX, there are limits set on each user for the following: core file size, cpu time per process, data (heap) size per process, file size, stack size and number of open file descriptors. There is a file which holds these limits per user, and also the defaults for the system - /etc/security/limits. There are also hard and soft limits for each setting. Hard limits are set by the system admin. The user can change the soft limits, up to the limit of the hard limits. In this file there is a stanza for the default limits, and also one for each user. The default limits are the systemwide limits, as well as the values which get set when a user is created, if no other value is set. When the system is installed, this file is created with default soft limits. These can be viewed in /etc/security/limits. If the hard limits are not explicitly stated, then they default to the limits specified in the comment at the top of the file. If the hard limits are explicitly stated for a user, then please ensure that they are set equal to or higher than the soft limits specified below. If the hard limits are not stated for a user, but they are explicitly stated in the default stanza, then please ensure that they are set equal to or higher than the soft limits specified below. For all users associated with R/3 - the <sid>adm, sid, etc. - the limits should be set to the following: Soft CPU = -1 Soft CORE file size = 2097151 (this is the default) Soft FILE size = -1 Soft DATA segment size = -1 Soft STACK size = -1 This can be done in one of two ways: 1. Using smit - enter the command "smitty". Select: Security & Users, -> Users -> Change/Show Characteristics of a User. 2. Edit the /etc/security/limits directly using a normal editor like vi. You can change the default values, but if values are also defined for the users, you must remove them or change them also. For DB2 32bit Installations, please read related note 365314 which describes special settings for db2 environments.

Upload: thiago-boito

Post on 12-Mar-2015

524 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Note 323816 - User Limits on AIX

07.04.2010 Page 1 of 2

SAP Note 323816 - User limits on AIX

Note Language: English Version: 9 Validity: Valid Since 16.05.2008

Summary

SymptomSeveral different errors could result - file too large, core file istruncated, tp or R3trans run out of memory allocation, Segmentationfault in installation process

More Termsulimit limits

Cause and PrerequisitesLimits set to small due to old or incorrect documentation

SolutionIn AIX, there are limits set on each user for the following:core file size, cpu time per process, data (heap) size per process,file size, stack size and number of open file descriptors. There is afile which holds these limits per user, and also the defaults for thesystem - /etc/security/limits. There are also hard and soft limits foreach setting. Hard limits are set by the system admin. The user canchange the soft limits, up to the limit of the hard limits. In this filethere is a stanza for the default limits, and also one for eachuser. The default limits are the systemwide limits, as well as thevalues which get set when a user is created, if no other value is set.When the system is installed, this file is created with default softlimits. These can be viewed in /etc/security/limits. If the hard limitsare not explicitly stated, then they default to the limits specified inthe comment at the top of the file. If the hard limits are explicitlystated for a user, then please ensure that they are set equal to orhigher than the soft limits specified below. If the hard limits are notstated for a user, but they are explicitly stated in the default stanza, then please ensure that they are set equal to or higher than the softlimits specified below.

For all users associated with R/3 - the <sid>adm, sid, etc. - thelimits should be set to the following:

Soft CPU = -1Soft CORE file size = 2097151 (this is the default)Soft FILE size = -1Soft DATA segment size = -1Soft STACK size = -1

This can be done in one of two ways:

1. Using smit - enter the command "smitty". Select: Security & Users, -> Users -> Change/Show Characteristics of a User.2. Edit the /etc/security/limits directly using a normal editor like vi. You can change the default values, but if values are also defined for the users, you must remove them or change them also. For DB232bit Installations, please read related note 365314 which describesspecial settings for db2 environments.

Page 2: Note 323816 - User Limits on AIX

07.04.2010 Page 2 of 2

SAP Note 323816 - User limits on AIX

Header Data

Release Status: Released for CustomerReleased on: 16.05.2008 15:45:12Master Language: EnglishPriority: Correction with medium priorityCategory: Installation informationPrimary Component BC-OP-AIX IBM AIX

Secondary Components:BC-INS-UNX Installation Unix

The Note is release-independent

Related Notes

Number Short Text

1437105 Operating system limits for SAP instances

1300536 Inst.NetWeaver 7.0 EHP1 SR1/Business Suite 7 SR1-UNIX

1249364 Inst. SAP NetWeaver based on Kernel 7.11 - UNIX

1169801 Inst.NetWeaver 7.0 EHP1/Business Suite 7 - UNIX

1147109 Heap memory shortage

1094599 Inst.NW 7.0 SR3/Business Suite 2005 SR3-UNIX/Oracle

972263 Inst.NW 7.0(2004s)SR2/Business Suite 2005 SR2-UNIX/Oracle

966416 Inst. SAP NetWeaver based on Kernel 7.10 - UNIX

769918 DB2-z/OS: Upgrade to 6.20 with 6.40 kernel

365314 DB2 UDB for AIX: User Limits for db2<sid>/<sid>adm

179141 INST: 4.6B R/3 Inst. on UNIX - OS Dependencies

137480 INST: 4.5B R/3 Inst. on UNIX- OS Dependencies

100125 INST: 4.0B R/3 Inst. on UNIX- OS Dependencies

Attributes

Attribute Value

Operating system AIX