Operating System - HP-UX
1822124 Members
3772 Online
109640 Solutions
New Discussion

Unable to change the maxfiles kernel parameter! pls help!!

 
rveri
Super Advisor

Unable to change the maxfiles kernel parameter! pls help!!

Hi I am unable to change the maxfiles parameter to 2048 , currently its 200.

I am trying thru SAM , its giving the follwoing error , for other dependencies value to be set ,

--------------------------------------
Error: One or more tunable parameters violates an interdependency ¦ ¦
¦¦ NO¦ rule. SAM expects the following expression(s) to be true: ¦ ¦
¦¦ ¦ ¦ ¦
¦¦ ¦ ncallout >= nkthread ¦ ¦
¦¦ ¦ msgmap <= (msgtql+2) ¦ ¦
¦¦ +-¦ semmap <= (semmni+2) ¦ ¦
¦¦ ¦C¦ semmnu <= (nproc-4)
---------------------------

Please suggest , how to do that,

Than
6 REPLIES 6
Amit Dixit_2
Regular Advisor

Re: Unable to change the maxfiles kernel parameter! pls help!!

Hi,
You need to tune other paramaters before you can change the maxfiles parameter.

Just Check which all parameters are related with maxfiles.

Thanks,
Amit.
rveri
Super Advisor

Re: Unable to change the maxfiles kernel parameter! pls help!!

Hi ,

When I am trying to tune other parameters according to the formula , its giving other dependencies errror .

Pls help/suggest how to do , or how to do through command line.

Thank you,

Veri.
-------
Paul_481
Respected Contributor

Re: Unable to change the maxfiles kernel parameter! pls help!!

Hi rveri,

Just follow the instructions SAM give you. You need to satisfy every interdependency.

Change all the interdependent parameter as required.

Regards,
Paul
Devender Khatana
Honored Contributor

Re: Unable to change the maxfiles kernel parameter! pls help!!

Hi,

Possibally you have put uncalculated values for some parameters having remove the formula which automatically calculates the value depending on other dependant paramaters. Can you attach the output of "kmtune -l".

HTH,
Devender
Impossible itself mentions "I m possible"
Devesh Pant_1
Esteemed Contributor

Re: Unable to change the maxfiles kernel parameter! pls help!!

I would suggest using what SAM is telling you
1. Check you nproc value first
2. Change semmnu 4 less than the nproc
3. Check your semmni value
4. Change semmap to be equal to semmni for now
5. Check msgtql abd make msgmap equal to that
6. Check nkthread and change ncallout to be higher than that.

this should let you go past the error you are getting
But this is not the entire solution, this is just so that you can change your maxfiles. I would suggest making a copy of your existing kernel values and then finally tuning the values per your requirement.

Devesh
Suraj Singh_1
Trusted Contributor

Re: Unable to change the maxfiles kernel parameter! pls help!!

Hi,

maxfiles parameter is not dependent on any of the parameters appearing in error message. I was just curious what went wrong that SAM is giving those errors.

Do what Devesh has suggested, and you should be able to remove those errors.

The only parameter which maxfiles depends on is maxfiles_lim:
"maxfiles must be less than or equal to maxfiles_lim"

Regards
What we cannot speak about we must pass over in silence.