Operating System - HP-UX
1830044 Members
5421 Online
109998 Solutions
New Discussion

ulimit exceeds the allowed limit

 
Adarsh Gupta
New Member

ulimit exceeds the allowed limit

Hi,

I need to increase my data limit. when I try following I get error.

# ulimit -d 4194303
sh: ulimit: The specified value exceeds the user's allowable limit.

Can you please help!
Thanks
Adarsh
7 REPLIES 7
Sanjiv Sharma_1
Honored Contributor

Re: ulimit exceeds the allowed limit

T G Manikandan
Honored Contributor

Re: ulimit exceeds the allowed limit

By default the ulimit has the maximum limit.
check your /etc/profile .login .profile files for any ulimit specification there.

Revert on the output of
#ulimit -aS
#ulimit -aH
T G Manikandan
Honored Contributor

Re: ulimit exceeds the allowed limit

I got the problem

check the value of maxdsiz on the kernel.
If that is going to be less than the value specified,then you cannot do that.
you should make sure that the value is higher.
Adarsh Gupta
New Member

Re: ulimit exceeds the allowed limit

I checked /etc/profile .login .profile and there are no entries for ulimit to change the default.

I am new to unix, so can you please help me checking maxdsiz on kernal?

Thanks
Adarsh
RAC_1
Honored Contributor

Re: ulimit exceeds the allowed limit

You will have to do that as root.

kmtune -lq maxdsiz

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: ulimit exceeds the allowed limit

I really thing the last answer deserved a bunny btw.

sam

kernel configuration

Configurable parameters
find maxdsize

actions

modify configurable parameter

mine is set to 2063835136

actions

process new kernel

Answer the questsions yes, especially the one about BACKING up the old kernel.

This will move the kernel into production requiring a reboot of the machine.

SEP


Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Adarsh Gupta
New Member

Re: ulimit exceeds the allowed limit

Great stuff. I changed the parameter and it worked.

Thanks a bunch toSEP and everyone for helping me out on this.

Adarsh