1851744 Members
2573 Online
104062 Solutions
New Discussion

set ulimit

 
asce
Occasional Advisor

set ulimit

OS version:HPUX 11.11
kernal paramter :
maxdsiz 0x40000000 - 0X40000000
maxdsiz_64bit 8589934592 - 8589934592
maxssiz 0x8000000 - 0X8000000
maxssiz_64bit 0x40000000 - 0X40000000
dracc2#[/]ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 4096

now , I want to modify to
data(kbytes) unlimited
stack(kbytes) 419434

How much to change value of maxdsiz,maxssiz or how to change ulimit value?
Thanks!
2 REPLIES 2
Jeeshan
Honored Contributor

Re: set ulimit

HI

Chek this link

http://docs.hp.com/en/B2355-90906/B2355-90906.pdf
a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: set ulimit

You can't really change maxdsiz to unlimited. You can only change it to 1048576, the value of maxdsiz.

To increase maxdsiz, you will have to link your applications differently, with -N. And/or to use chatr +q3p enable +q4p enable

>stack(kbytes) 419434

This is WAY too big! Setting this that large will effectively decrease maxdsiz by that amount.