Operating System - HP-UX
1829961 Members
2019 Online
109998 Solutions
New Discussion

Unable to increase nfile and other kernel params after update-ux

 
CITEC HP TEAM
Frequent Advisor

Unable to increase nfile and other kernel params after update-ux

Running HP-UX 11.11, used Update-UX to bring it to the Dec 2006 release. Now I am getting error:

vmunix: file: table is full

I have tried to increase nfile - rebuild the kernel with mk_kernel and reboot, but the new value is not applied.

I have also attempted to change the maxusers, but the same issue applies.

Any suggestions?

Thanks.
Belinda
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: Unable to increase nfile and other kernel params after update-ux

>I have tried to increase nfile - rebuild the kernel with mk_kernel and reboot

You used kmtune(1m) then mk_kernel?
Jeeshan
Honored Contributor

Re: Unable to increase nfile and other kernel params after update-ux

HI

how did you set the parameters? did you use SAM? You can change the kernel parameter easily from SAM.

the calculation of nfile parameter is '(15 * NPROC + 2048)'.
Note that the recommended setting for nproc, to which nfile refers in its formula, is '4096'

Do not increase nfile by a small amount as this will require many, many reboots. There is no practical limit for nfile.


a warrior never quits
CITEC HP TEAM
Frequent Advisor

Re: Unable to increase nfile and other kernel params after update-ux

I have tried to set nfile via sam, but get error:

Error: One or more tunable parameters violates an interdependency rule. SAM expects the following expression(s) to be true:

semmnu <= (nproc-4)

I have also tried to change it via kmtune:

kmtune -s nfile=1200

kmtune -q nfile
Parameter Current Dyn Planned Module Version
===============================================================================
nfile 910 - 1200


Then run mk_kernel and then rebooted - but the Planned value is never applied.

Jeeshan
Honored Contributor

Re: Unable to increase nfile and other kernel params after update-ux

uhhhh

>>Error: One or more tunable parameters violates an interdependency rule. SAM expects the following expression(s) to be true:

semmnu <= (nproc-4)


the error is easily guide you to the findings. if you wanna change parameter nfile, it depends on nproc parameter value and the calculation I stated above.
and nproc value must be set as stated above error.
a warrior never quits
Dennis Handly
Acclaimed Contributor

Re: Unable to increase nfile and other kernel params after update-ux

>violates an interdependency rule.
semmnu <= (nproc-4)

You may want to fix this and retry sam. What are the values of those two?

1200 is probably way too small for nfile.
CITEC HP TEAM
Frequent Advisor

Re: Unable to increase nfile and other kernel params after update-ux

Yes I have also tried to change nproc, but get the same error in sam: semmnu <= nproc-4

nproc is currently set to (20+8*maxusers)

So I tried to increase maxusers and still get the error: semmnu <= nproc-4

So it seems to be a vicious circle at the moment.
Jeeshan
Honored Contributor

Re: Unable to increase nfile and other kernel params after update-ux

post your current kernel parameter value of
1. semmnu
2. maxusers
3. nrpoc
4. nfile

it'd be highlighten more precisely.
a warrior never quits
CITEC HP TEAM
Frequent Advisor

Re: Unable to increase nfile and other kernel params after update-ux

Cracked it.

semmnu was not set to nproc-4, it was a number not the formula.

I had not changed this parameter, but once I set it to this formula I was able to set maxusers and the other params ok.

I was interpreting the error message incorrectly.

Thanks for the assistance. Points posted.