Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

changing ulimit

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.

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.