cancel
Showing results for 
Search instead for 
Did you mean: 

ulimit error

SOLVED
Go to solution
Rommel T. Misa_2
Frequent Advisor

ulimit error

I am trying to install Oracle BI on my rx7640 server with 4 cores and 8 GB RAM running HP-UX. When I increase my ulimits I get the following error:

# ulimit -n unlimited
sh: ulimit: The specified value exceeds the user's allowable limit

What kernel parameter should I tweak to overcome this? Any advise will help.

Thanks!
5 REPLIES
Shinji Teragaito_1
Respected Contributor

Re: ulimit error

It seems to me the same question was recently posted. Please refer to the following thread.

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

Regards,
Rommel T. Misa_2
Frequent Advisor

Re: ulimit error

We already set maxfiles and maxfiles_lim to maximum values but when we did so, our kernel got corrupted and we had to restore from Ignite. :(

Rommel
Patrick Wallek
Honored Contributor
Solution

Re: ulimit error

So don't set those to their maximum values.

You **SHOULD** set them to another value, but you need to stop and think a bit first.

The maximum value is likely way too large on most systems.

Rommel T. Misa_2
Frequent Advisor

Re: ulimit error

Thanks for the input. Is there a way to compute for the "just enough" value for maxfiles and maxfiles_lim to accommodate the ulimit value requested?
Dennis Handly
Acclaimed Contributor

Re: ulimit error

>Is there a way to compute for the "just enough" value for accommodate the ulimit value requested?

Start with 4096 and see if the application aborts? 10K may be a reasonable number.

You can use glance to see how many files are open.
On 11.31, there is pfiles(1).