cancel
Showing results for 
Search instead for 
Did you mean: 

how to set data limit to 2GB ?

ng_7
Regular Advisor

how to set data limit to 2GB ?

hi experts,

I would like to change the value of data paramether to 2GB

I am using this command
ulimit -d 2097152

but I get Error :
app:/prod/applprod/prodcomn/admin/log# ulimit -aS
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 359800
stack(kbytes) 262144
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048

app:/prod/applprod/prodcomn/admin/log# ulimit -d 2097152
sh: ulimit: The specified value exceeds the user's allowable limit.

thanks

regards
ng
2 REPLIES
OFC_EDM
Respected Contributor

Re: how to set data limit to 2GB ?

There's some other parameters that affect ulimit (see threads below).

See these threadshttp://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=892976

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1211257

The Devil is in the detail.
GabrielHuerta
Occasional Advisor

Re: how to set data limit to 2GB ?

In order to change data limit,
You must change the kernel parameter maxdsiz.
good luck.