Re: changing ulimit (839 Views)
Reply
Regular Advisor
Posts: 321
Registered: ‎07-22-2006
Message 1 of 2 (844 Views)

changing ulimit

Hello All...

 

I had dooubt, How to change the ulimite value of an user;

 

Following is an current ulimit of a particular user:

zcmadm> ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         1048576
stack(kbytes)        8192
memory(kbytes)       unlimited
coredump(blocks)     4194303
nofiles(descriptors) 2048

 

I need to change it to;

Proposed Value
============
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 8192
memory(KBytes) unlimited

 

Please suggest me how to proceed.

Highlighted
Acclaimed Contributor
Posts: 26,109
Registered: ‎03-06-2006
Message 2 of 2 (839 Views)

Re: changing ulimit

>How to change the ulimit value of an user?

data(kbytes) unlimited
stack(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 8192

 

You can change coredump with the ulimit command.

The others need to use kctune(1m) to change the values of kernel parms:

maxdsiz(5) & maxdsiz_64bit(5), maxssiz(5) & maxssiz_64bit(5), maxfiles(5), maxfiles_lim(5)

 

Note: You can't make the sizes unlimited, you can only increase the kernel parms.

Note: Making maxssiz too large will decrease maxdsiz.

Note: The *_64bit forms must be bigger than the 32 bit limit.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.