Operating System - HP-UX
1825766 Members
2613 Online
109687 Solutions
New Discussion

Re: vmunix: file: table is full ?

 
SOLVED
Go to solution
Gary Yu
Super Advisor

vmunix: file: table is full ?

Hi experts,

One of our HPUX boxes is a heavy loaded test machine, sometimes I can only login as root user, all 'su - username' failed, I checked the syslog, there were some entries said " vmunix: file: table is full", after I stopped some applications or reboot the machine, it back to normal again.

So what kernel parameter is(are) related with this system error message?

Thanks!
7 REPLIES 7
G.Kumar
Frequent Advisor

Re: vmunix: file: table is full ?

Increase kerenel parameter nfile.

GK
Patrick Wallek
Honored Contributor
Solution

Re: vmunix: file: table is full ?

That would be the nfile parameter, which if you use the default formula is controlled by maxusers, nproc, npty and nstrpty.

http://docs.hp.com/hpux/onlinedocs/os/KCparam.Nfile.html

http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
A. Clay Stephenson
Acclaimed Contributor

Re: vmunix: file: table is full ?

Hi Gary:

That one is 'nfile'; it is also common for 'nproc' to need increasing as well.

Clay
If it ain't broke, I can fix that.
linuxfan
Honored Contributor

Re: vmunix: file: table is full ?

Hi Gary,

Looks like you are running out of nfile parameter

Increase the value either using SAM or manually
Will need a reboot

-Ramesh
They think they know but don't. At least I know I don't know - Socrates
Santosh Nair_1
Honored Contributor

Re: vmunix: file: table is full ?

Gary,

Most likely you're running into the nfile kernel parameter limit. This parameter controls the number file handles that the kernel can have open at any given point in time.

You can use sam to set the kernel parameter or use kmtune -s nfile, mk_kernel and kmupdate and reboot the machine.

-Santosh
Life is what's happening while you're busy making other plans
James R. Ferguson
Acclaimed Contributor

Re: vmunix: file: table is full ?

Hi Gary:

My colleagues have pointed you to the kernel parameter and documentation you need to review.

You can use 'sar -v' to monitor critical, kernel tables like 'nfile' by looking at the column "file-sz". This shows the current, maximum and number of times an overflow has occured.

# sar -v 5 10

...will sample every 5-seconds, ten times.

If you have 'glance' you can also track table utilization by toggling the [t] menu.

Regards!

...JRF...
Lai Chun Yip
New Member

Re: vmunix: file: table is full ?

Are there any cases that some files are opened, utilized few nfiles, but cannot be released forever? eg if a process dead unexpectly, is it possible the 'nfile' hold by the proc cannot be released? cause the nfile accumulated and reach the limit

thanks
Lai Chun Yip