Operating System - HP-UX
1819806 Members
2774 Online
109607 Solutions
New Discussion юеВ

How To set "ulimit" values to Unlimited

 
Muthyala
Frequent Advisor

How To set "ulimit" values to Unlimited

Hi

My current output value for ulimit -a is

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 3802048
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 5240


I want to set above all values to unlimited.Please let me know how to do this.

TIA
Sri
3 REPLIES 3
John Poff
Honored Contributor

Re: How To set "ulimit" values to Unlimited

One way to do it (if you are running the POSIX shell) is to use the 'unlimited' keyword with the 'ulimit' command.

To set your data area to unlimited, this might work:

ulimit -d unlimited

assuming that you don't have hard limits set to stop you. Try 'man sh-posix' and look at ulimit.

JP
Dennis Handly
Acclaimed Contributor

Re: How To set "ulimit" values to Unlimited

>I want to set above all values to unlimited.

You can't. data, stack and nofiles are limited by the corresponding kernel parms. (I'm not sure about coredump.)

See maxdsiz, maxssiz, maxfiles and maxfiles_lim.
whiteknight
Honored Contributor

Re: How To set "ulimit" values to Unlimited

Sri,

See this link.

http://www12.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00905065-6

WK
Problem never ends, you must know how to fix it