alternateplanet

June 20, 2008

How to find values of Soft Resource Limit Stack and set it (on AIX)

Filed under: BASIS — Tarun @ 9:21 am

While installing SAP on AIX you get a Condition not met error for Soft Resource Limit Stack Size.

You now want to set the Soft Resource Limit Stack to unlimited.

You can see the current values by typing:

ulimit -S -a to view soft limits
and
ulimit -H -a to view hard limits

Example output:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000

To set the value:

You can either modify the file /etc/security/limits (as root)

Procedure:

vi /etc/security/limits
Add lines:
stack_hard = -1
stack_soft = -1

for the users you want the limits set/unset for.

or follow the smitty interactive procedure.

Type smitty user
Select Change / Show Characteristics of a User
Type User NAME
Press Enter

Set
Soft STACK size [-1]
and
Hard STACK size [-1]

-1 = unlimited

OK and exit.

Restart prerequisites run or continue SAP Install

How to find whether your install is Unicode or not

Filed under: BASIS — Tarun @ 9:17 am

Logon as adm
run: disp+work -version

Look for the compilation mode in the result. Example below

——————–
disp+work information
——————–

kernel release 700

kernel make variant 700_REL

compiled on AIX 2 5 005DD9CD4C00

compiled for 64 BIT

compilation mode UNICODE

compile time Oct 29 2006 20:39:06

update level 0

patch number 83

source id 0.083

———————
supported environment
———————

database (SAP, table SVERS) 700

operating system
AIX 1 5
AIX 2 5
AIX 3 5

Powered by WordPress