HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Ulimit value more than 4 Gb

 
Vijaykumar_1
Valued Contributor

Setting Ulimit value more than 4 Gb

Hi Experts,


I have a query regarding ulimit values and i need to set the mxdsize value to 4 GB.

Im running Hp-UX 11.11 and my current vaues are as below..

Parameter: maxdsiz
Current: 0x40000000
Planned: 0X40000000
Default: 0x10000000
Minimum: -
Module: -
Version: -
Dynamic: No

Parameter: maxdsiz_64bit
Current: 0x80000000
Planned: 0X80000000
Default: 0x0000000040000000
Minimum: -
Module: -
Version: -
Dynamic: No


Can anyone suggest me how much this"0x40000000" shows and what should be the modified value ?
5 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: Setting Ulimit value more than 4 Gb

Hi Vijay Kumar

Check the below Thread

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1257307796816+28353475&threadId=1063391

Tks,
Johnson
Problems are common to all, but attitude makes the difference
Steven Schweda
Honored Contributor

Re: Setting Ulimit value more than 4 Gb

Is your problem that you don't know how to
convert a hexadecimal value ("0x40000000") to
a decimal value, and back?

man dc

rux # echo '16 i 40000000 p' | dc
1073741824

Looks to me like 1GiB.

Want 4GiB in hex?

rux # echo '16 o 16 i 40000000 4 * p' | dc
100000000


(If you need to ask this, should you be
changing kernel parameters?)


> Check the below Thread
> [...]

When citing a Forum thread URL, it can be
helpful to omit the "XX" in
"forumsXX.itrc.hp.com", and the whole
"admit=aaaa+bbbb+cccc" parameter. (Leave the
"threadId=dddd" part.)
Vijaykumar_1
Valued Contributor

Re: Setting Ulimit value more than 4 Gb

Thanks for the reply..My issue got solved..
Vijaykumar_1
Valued Contributor

Re: Setting Ulimit value more than 4 Gb

Closing the thread..Thanks for all who replied

Re: Setting Ulimit value more than 4 Gb

Can anyone suggest me how much this "0x40000000"

Instead of using dc(1), you can use the real shell directly:
typeset -i10 x=16#40000000; echo $x

>what should be the modified value?

You can just type in 4 Gb in decimal.

Your maxdsiz_64bit is only 2 Gb, so you'll have to increase that too.