Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Discrepancy between ulimit command and /etc/security/limits settings.

Status
Not open for further replies.
Mar 29, 2002
61
0
0
US
I have set the stack limit in /etc/security/limits for a user to 4194304, but if I su to that user and perform a ulimit -a, stack = 2097152. Is this normal? Do I need to set a higher hard limit on stack?
This is in AIX 6.1 TL6 SP3.
 
Hi kenwalters,

I'm not 100% sure but I think this could be normal ...

In the /etc/security/limits file it says:

Code:
"soft stack segment size in blocks"

(Note: It says "blocks" here)

Running ulimit -a it says:

Code:
stack(kbytes)

(Note: It says "kbytes" here)

Regards,
Thomas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top