1834674 Members
2461 Online
110069 Solutions
New Discussion

Re: maxdsiz 64 bit

 
SOLVED
Go to solution
Andrew Luis Arruza
Frequent Advisor

maxdsiz 64 bit

HP-UX 11.0
Manugistics told our developers that I can set the maxdsiz to a -1 which would disable all limits and allow the system to allocate memory as it want.
I am NOT able to set maxdsiz_64bit to a -1.
Has anyone been able to do this or can you give me any suggestions.
As always, point will be assigned.
Thanks, Andy
It is, after all, a matter of survival!!
6 REPLIES 6
Pete Randall
Outstanding Contributor
Solution

Re: maxdsiz 64 bit

Andy,

From SAM help on configurable parameters:
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)

From that, I would have to say no.

Pete

Pete
Jeff Schussele
Honored Contributor

Re: maxdsiz 64 bit

Hi Andrew,

Think they're pulling your leg.
The min value is 0x40000
Besides I wouldn't want any vendor or developer having "free rein" to set whatever size data segment they want. Heck they'd probably take it ALL.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sanjay_6
Honored Contributor

Re: maxdsiz 64 bit

Hi Andrew,

I don't think "-1" is an acceptable value for maxdsiz_64bit,

http://docs.hp.com//hpux/onlinedocs/os/KCparam.MaxDsiz.html

Hope this helps.

Regds
MANOJ SRIVASTAVA
Honored Contributor

Re: maxdsiz 64 bit

Hi Andrew


No that paramter cannot have value as negative or -1 .

You may like to read this ;



http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxDsiz.html


Manoj Srivastava
A. Clay Stephenson
Acclaimed Contributor

Re: maxdsiz 64 bit

You have received a state of the art stupid answer. You never want to defeat maxdsiz. This would allow a rogue process to grab all the resources on a box and bring it to its knees.
You certainly would not want a process to be able to allocate as much VIRTUAL memory as it could as this would instantly lead to huge amount of paging. As a sys admin, you need to decide how big that you will allow a single process to grow and still leave headroom for other processes. You then set maxdsiz (and its 64bit cousin) to these values.
If it ain't broke, I can fix that.
Andrew Luis Arruza
Frequent Advisor

Re: maxdsiz 64 bit

The replies have certainly backed up what my research found--and you provided me with additional 'ammunition.'
Thanks to all.
It is, after all, a matter of survival!!