Operating System - HP-UX
1834514 Members
2173 Online
110068 Solutions
New Discussion

sh: ulimit: The specified value exceeds the user's allowable limit.

 
Venkat Karuppudayar
New Member

sh: ulimit: The specified value exceeds the user's allowable limit.

The following is from my system.
# uname -a
HP-UX hpux1 B.11.11 U 9000/800 1294588985 unlimited-user license
#
# ulimit -aH
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2015464
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) 8192
#
# ulimit -s 16384
sh: ulimit: The specified value exceeds the user's allowable limit.
#
# ulimit -d unlimited
ksh: ulimit: exceeds allowable limit
# ulimit -s unlimited
ksh: ulimit: exceeds allowable limit
#
Oracle Support recommended setting all the limits to unlimited. I get the above error. How do I set these values? Any help appreciated.
Thanks, Venkat
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: sh: ulimit: The specified value exceeds the user's allowable limit.

You are going to have to create a new kernel and increase maxssiz (and massiz_64bit) (stack) and maxdsiz (and maxdsiz_64bit) (data). A user can decrease ulimit but cannot increase it; in no cases can the ulimits exceed the hard limits set by the kernel tunables.

You can actually increase these values and create a new kernel using SAM. The fact that you must ask these questions is a rather strong indication that perhaps you shouldn't be the person doing them.
If it ain't broke, I can fix that.