1835087 Members
2474 Online
110073 Solutions
New Discussion

Re: maxfiles_lim

 
SOLVED
Go to solution
Rob Nowak
Occasional Contributor

maxfiles_lim

This is using HP11.

When I go into SAM to adjust maxfiles_lim from 2048 to 8096, it gives me the following error:

"The value specified for tunable parameter 'maxfiles_lim', '8096', evaluates to '8096' which is more than the maximum allowed value of '2048'"

Any idea if this limit of 2048 can be worked around? Maybe I have to adjust another tunable parameter first before this can be increased? Any help is appreciated.
right
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: maxfiles_lim

check nfile

live free or die
harry
Live Free or Die
Victor BERRIDGE
Honored Contributor
Solution

Re: maxfiles_lim

Hi,
Im afraid IMHO 2048 IS the actual limit of maxfiles
but this is for a user, so its enormous...
if you want the maximum open files for your box then its nfile youre looking for, there you can put down 40000 if its what you want...

All the best

Victor
Rob Nowak
Occasional Contributor

Re: maxfiles_lim

nfile is 30,420...which shouldn't be the problem?
right
Rob Nowak
Occasional Contributor

Re: maxfiles_lim

On a similar HP-UX system we have it set to 8096, so it can be set higher. I've compared every configurable/tunable parameter and changed them to be the same....this is the only one that won't change for me.
right
Victor BERRIDGE
Honored Contributor

Re: maxfiles_lim

I have a L1000 configured with:
Parameter: nfile
Current: 66638
Planned: (15*NPROC+2048)

Module: -
Version: -
Dynamic: No


...


All the best

S.K. Chan
Honored Contributor

Re: maxfiles_lim

I think this is another problem with SAM configuration. I bet if you manually configure your parameter it'll be fine. Take a look at /usr/conf/master.d/core-hpux.
# cd /usr/conf/master.d
# grep maxfiles core-hpux
Look for these lines ..
*range maxfiles<=2048
*range maxfiles_lim<=2048
Those are probably limiting you in SAM because SAM refers to "core-hpux" file for its limit. Change the above to ..
*range maxfiles<=8096
*range maxfiles_lim<=8096
and then try to configure it again in SAM. It should be fine.

John Poff
Honored Contributor

Re: maxfiles_lim

Hi,

It is fixed in a patch:

PHKL_24487:

( SR: 8606108859 DTS: JAGab81563 )
Using SAM, tunable kernel parameter maxfiles and
maxfiles_lim can not be set to higher than 2048.


JP

Victor BERRIDGE
Honored Contributor

Re: maxfiles_lim

Exactly,
It seem that in sam it is set to a maximum of 2048 even in the help...
Remember:maxfiles sets the soft limit for the number of files a process is allowed to have open simultaneously - So If you really want more you will have to configure a new kernel without sam, in this case the limit is far more than the value you are trying to enter (something like 50 000 ?)

Good luck

Victor