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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ulimit

Status
Not open for further replies.
Jun 15, 2004
26
US
Hello All. When you do a ulimit -a (AIX 5.2), does memory line (32768 KB) mean that is how much memory one process can use up? Also, how can you change that limit? I tried doing a ulimit -m 65536 but when I log out/in the number goes back to the original number. Thanks for your help.
 

update /etc/security/limits or add the ulimit -m command to your profile.
 
Would just add the following line to my limits file under the user I want it to be for (lets say root):

memory = 65536


 
I think the 'IBM recommended' way would be to change the rss attribute with chuser -

xxxx1234(root)# lsuser -a rss user1
user1 rss=65536
xxxx1234(root)# su - user1
xxxx1234(user1)# ulimit -m
32768

xxxx1234(root)# chuser rss=131072 user1
xxxx1234(root)# su - user1
xxxx1234(user1)# ulimit -m
65536

rss is in 512 byte blocks
ulimit -m is in kbytes
 

The IBM-recommended way is no more than a frontend to edit /etc/security/limits file...

--Trifo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top