Operating System - HP-UX
1752796 Members
5609 Online
108789 Solutions
New Discussion юеВ

vmunix: file: table is full

 
SOLVED
Go to solution
Franky Leeuwerck
Frequent Advisor

vmunix: file: table is full

I took an ascii dump from an Ingres database on a HP-UX 10.20 machine.
After that I see this message appearing in the /var/adm/syslog/syslog.log file :
beksaunx vmunix: file: table is full

Doesn't look healthy to me ? What can I do ?

Franky
12 REPLIES 12
Thierry Poels_1
Honored Contributor
Solution

Re: vmunix: file: table is full

dag Franky ;)

check "sar -v 2 2" & you'll find that "file-sz" has hit its limit. Increase kernel parameter "nfile" if required.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Patrick Wallek
Honored Contributor

Re: vmunix: file: table is full

This is due to the file table filling up. This is controlled by the kernel parameter nfile.

If you are seeing this on a regular basis, you probably need to increase nfile.

Remember that increasing any kernel parameter requires a reboot in order for the change to take effect.
James R. Ferguson
Acclaimed Contributor

Re: vmunix: file: table is full

Hi Franky:

Your kernel parameter 'nfile' needs to be increased. This parameter limits the number of open files you can have, system-wide. You can follow it with 'sar -v 5 10' which will report 10 samples, 5-seconds apart for your file (nfile) table among others. See the man pages for 'sar' for more information.

You can also track 'nfile' utilization with the [t]able action in 'glance'.

For more information on 'nfile', see:

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

Regards!

...JRF...
Mark van Hassel
Respected Contributor

Re: vmunix: file: table is full

Hi Franky,

You reached the maximum number of open files limit. Increase the nfile kernel parameter using SAM-kernel configuration-configurable parameters.
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us
Wim Rombauts
Honored Contributor

Re: vmunix: file: table is full

Thierry is correct.

And since you will need to modify the kernel anyway, sar -v also shows the inode table. if that seems rather full, increase it also. You can't open enough files if you can't open enough inodes. It' not a one to one relationship, but it may be a good idea to consider an increase of the ninode kernel parameter.
Deshpande Prashant
Honored Contributor

Re: vmunix: file: table is full

HI
Looks like time to increase the kernel parameter "nfile"

You may want to check this out.

http://us-support.external.hp.com/cki/bin/doc.pl/sid=4879bc6610e5e91382/screen=ckiSearchResults?mode=id&searchString=KNC032597004

Thanks.
Prashant.
Take it as it comes.
Franky Leeuwerck
Frequent Advisor

Re: vmunix: file: table is full

Thanks all for the quick replies
What does it mean if the system bounces upon this limit ? Get streams disconnected causing possible inconsistency ? Or does it only slow the processes down ?

Franky
Thierry Poels_1
Honored Contributor

Re: vmunix: file: table is full

hey Wim,

the ninode kernel parameter is a bit tricky. This paramater only reflects to HFS filesystems; on HPUX11 this is only /stand which is a very small filesystem. So on most system ninode can be or should be set relatively low (1000-2000). A ninode usage of 100% will/should not hurt system usage.

regards,
Thierry.
go for it Belgium ;))
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Franky Leeuwerck
Frequent Advisor

Re: vmunix: file: table is full

This is the output of the sar command.

# sar -v 2
16:28:56 text-sz ov proc-sz ov inod-sz ov file-sz ov
16:28:58 N/A N/A 117/276 0 476/476 0 719/800 0
16:29:00 N/A N/A 117/276 0 476/476 0 719/800 0
#