Operating System - HP-UX
1834518 Members
2013 Online
110068 Solutions
New Discussion

Does "getconf OPEN_MAX" refer to the maxfiles?

 
SOLVED
Go to solution
thijs lankhorst_1
Frequent Advisor

Does "getconf OPEN_MAX" refer to the maxfiles?

Hi

I have been asked to change the OPEN_MAX value to 4096 instead of 200 as it is currently. I just want to know if the value returned form the following command: getconf OPEN_MAX, refers to maxfiles. I believe it is but wanted to be sure.
If this is true i believe i have to change the maxfiles_lim to 4096 as well as it is currently 2048?

Your help and views on this will be much appreciated.
7 REPLIES 7
Joseph Loo
Honored Contributor

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

hi,

to confirm:

# kmtune -q maxfiles

regards.
what you do not see does not mean you should not believe
thijs lankhorst_1
Frequent Advisor

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

Thanks,

the command has the same value as OPEN_MAX. So this confirms that OPEN_MAX is exactly the same as maxfiles? And i do need to up the value of maxfiles_lim at the same time i guess?

Eric Antunes
Honored Contributor

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

Hi,

getconf OPEN_MAX returns the maxfiles (Soft File Limit Per Process) kernel parameter value.

Best Regards,

Eric Antunes

Each and every day is a good day to learn.
thijs lankhorst_1
Frequent Advisor

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

Thanks Eric,

Is it true as well that i dont have to up the value of maxfiles_lim but by not doing it it would in affect limit the maxfiles value to 2048 although set to 4096?
Joseph Loo
Honored Contributor
Solution

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

hi,

u may like to read this thread for a better understanding:

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

regards.
what you do not see does not mean you should not believe
thijs lankhorst_1
Frequent Advisor

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

Thnaks Joseph, Eric.

Think this has answered all my questions.
Hope you have both a nice day.
Eric Antunes
Honored Contributor

Re: Does "getconf OPEN_MAX" refer to the maxfiles?

Hi,

You can and may want maxfiles < maxfiles_lim! See Bill Hassel's comment in this thread:

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

Best Regards,

Eric Antunes
Each and every day is a good day to learn.