Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

changing ulimit

Highlighted
Indrajit Bhagat
Regular Advisor

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.

1 REPLY
Dennis Handly
Acclaimed Contributor

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.