Operating System - HP-UX
1826414 Members
4292 Online
109692 Solutions
New Discussion

Configuring a new value for maxdsiz

 
SOLVED
Go to solution
Manjunath Shastry
Frequent Advisor

Configuring a new value for maxdsiz

I have to configure a Kernel Parameter to install an application, Ansys on HP-UX 11.0. The Kernel parameter is maxdsiz (maximum data segment size), this has to be set to a minimum value of 145 MB. When I try doing this using SAM, I get a dialogue box saying the formula value is 0xc0000000 and the calculated value is 3221225472. How do I set the parameter maxdsiz to 145 MB.


A Horse that kicks doesn 't pull
4 REPLIES 4
John J Read
Frequent Advisor
Solution

Re: Configuring a new value for maxdsiz


Your values show that your maxdsiz is already over 3GB.

3,221,225,472 ( bytes )

So.. you don't need to change anything since you are over 45MB.

If you really wanted to set it to 45MB, either hex or decimals work.
45000000 would be 45MB.

-jr
Pete Randall
Outstanding Contributor

Re: Configuring a new value for maxdsiz

Here's what SAM has to say about maxdsize:

"Acceptable Values:
maxdsiz for 32-bit processors:

Minimum: 0x400000 (4 Mbytes)
Maximum: 0x7B03A000 (approx 2 Gbytes)
Default: 0x4000000 (64 Mbytes)

maxdsiz_64bit for 64-bit processors:

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


It looks to me like you're already well over 145MB.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Configuring a new value for maxdsiz

Hi:

The value "0xC0000000" denotes hexadecimal. You can convert this to decimal thusly:

# echo "obase=10;ibase=16;C0000000"|bc

Correspondingly, if you want to find the hexadecimal value for 145MB do:

# echo "obase=16;145*1024*1024"|bc

...which yields:

9100000

For SAM you would specify 0x9100000 .

Regards!

...JRF...
Manjunath Shastry
Frequent Advisor

Re: Configuring a new value for maxdsiz


Thank you Gurus for your invaluable guidance. The current value for maxdsize is 3 GB, as such, I haven 't reconfigured the value and I have gone ahead and installed the application which is working fine.


A Horse that kicks doesn 't pull