Operating System - HP-UX
1835942 Members
2755 Online
110088 Solutions
New Discussion

Re: setting ulimit "data" sze

 
okcunix
Advisor

setting ulimit "data" sze

HPUX 11.11
How do I set the ulimit for "data" to a higher number? I have one set for 262 MB, but I need to up this to 2.05 GB.

Please advise
5 REPLIES 5
RAC_1
Honored Contributor

Re: setting ulimit "data" sze

You can not set the ulimit size of data (for that matter other values) more then what has been set for maxdsiz(for 32 bit programs) or madsiz_64bit (for 64 bit programs)

If that (maxdsiz/maxdsiz_64bit) has been set to 2.05 GB or more, you can set ulimit for data size as follows.

ulimit d "value"

I suppose the value is in bytes.

Anil
There is no substitute to HARDWORK
RAC_1
Honored Contributor

Re: setting ulimit "data" sze

Correction, the command should be as follows.

ulimit -d "value"

I suppose the value is in bytes.

Anil
There is no substitute to HARDWORK
Uday_S_Ankolekar
Honored Contributor

Re: setting ulimit "data" sze

Increasing the value of kernel parameter maxdsiz and maxdsize_64 (for 64bit)will allow you to increase the data value for ulimit

ulimit -a will show the current settings

-USA..

Good Luck..
okcunix
Advisor

Re: setting ulimit "data" sze

Hey Thanx-Amillion for the fast help.
I was afraid of that.
Okay, will cranking-up maxdsiz require a 'reboot'?
okcunix
Advisor

Re: setting ulimit "data" sze

Okay,
Nevermind, I got my answer already.
Thanx Again.