1748089 Members
5137 Online
108758 Solutions
New Discussion юеВ

Re: ulimit settings !

 
SOLVED
Go to solution
Raj D.
Honored Contributor

Re: ulimit settings !

Seems you visited the wrong link :

Here it is :

http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html

And max can be set as follows:
maxdsiz_64bit for 64-bit processors:

Minimum
0x400000 (4 Mbytes)
Maximum
4396972769279
Default
0x4000000 (64 Mbytes)

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Patrick Wallek
Honored Contributor

Re: ulimit settings !

maxdsiz_64bit for 64-bit processors:

Minimum
0x400000 (4 Mbytes)
Maximum
4,396,972,769,279 bytes = 4 TB
Default
0x4000000 (64 Mbytes)

http://docs.hp.com/en/939/KCParms/KCparam.MaxDsiz.html

rveri
Super Advisor

Re: ulimit settings !

Thanks all ,

Here is the ulimit -a output:of our hpux 11.11

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

so I guess :

'data' shows --> maxdsiz_64bit value.
'stack' shows --> maxssiz_64bit value.

maxdsiz_64bit values is = 0x80000000 = 2147483648= 2GB , But its showing 1GB. ??

Also maxssiz_64bit value is :
maxssiz 0x12c00000 - 0X12C00000
maxssiz_64bit 0x40000000 - 0X40000000

But its showing : 307MB in ulimit. ??
Seems its showing the 32bit parameters (ie. maxssiz and maxdsiz) ...

Little Confusing.. it should show the 64 bit parameter , as the OS is 64bit.

Can any one explain.. little bit..

thanks,


Raj D.
Honored Contributor

Re: ulimit settings !

ulimit is shows data value for maxdsiz , and stack value for maxsiz values, if it is 64 bit OS it will use the maxdsiz_64bit and maxdsiz_64bit values.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Patrick Wallek
Honored Contributor

Re: ulimit settings !

You've got to keep in mind though that just because the OS is 64-bit, not all processes are 64-bit.

If you run a 32-bit program, then the program will use the parameters from maxssiz, maxdsiz and maxtsiz.

If the program is 64-bit, then it will use the 64-bit parameters - maxdsiz_64, maxssiz_64 and maxtsiz_64.
rveri
Super Advisor

Re: ulimit settings !

Thanks Patrick , thanks all....