cancel
Showing results for 
Search instead for 
Did you mean: 

set value of ulimit -n

SOLVED
Go to solution
Kuekuatsheu
Advisor

set value of ulimit -n

When I try to command:

ulimit -n unlimited

I get an error message that I am trying to force a value that exceeds my allowable limits. How do I overcome this? Which kernel parameter should I increase?

4 REPLIES
Dennis Handly
Acclaimed Contributor

Re: set value of ulimit -n

See maxfiles(5) and maxfiles_lim(5).
Note: You can't make it unlimited, just larger.
smatador
Honored Contributor

Re: set value of ulimit -n

I agree
The default for ulimit -n equals the value for maxfiles
Avinash20
Honored Contributor
Solution

Re: set value of ulimit -n

You cannot set it to unlimited.
To increase the value you need to tune the kernel parameter maxfiles

Check the man page of maxfiles for the maximum value allowed
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: set value of ulimit -n

Hi,

Also you have not assigned any points.
In future please refer
http://forums11.itrc.hp.com/service/forums/helptips.do?#33

to assign points to your threads
"Light travels faster than sound. That's why some people appear bright until you hear them speak."