1830899 Members
2800 Online
110017 Solutions
New Discussion

File Table Overflow

 

File Table Overflow

I am getting a " File table overflow" error when I tried to open any application form my HP server, I am running HPUX 10.20 on a K-class server. Any body know the reson, and how to fix it. Please
no personal quote
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: File Table Overflow

It sounds like you have maxed out your nfile kernel parameter.

The only way to fix this is to increase the nfile kernel parameter, rebuild the kernel and reboot.

If you have glance installed you can try to use glance to check the current nfile usage.
Jeff Schussele
Honored Contributor

Re: File Table Overflow

Hi Raghuram,

You're running out of nfile entries. nfileLE is a kernel parameter specifying how many files may be open at one time.

The proper way to increase the value is to increase the maxusers value as nfile is derived as a formula based on maxusers.

So increase the maxusers & nfile will go up as well.

This will require a reboot.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
S.K. Chan
Honored Contributor

Re: File Table Overflow

The error means you have exceeded the maximum number of open files allowed on your system. Increase "nfile" will help. Run ..
# glance -t
and take a look at the "nfile" utilization (the %high) and you should see it's probably almost hit the upper limit.
Tom Maloy
Respected Contributor

Re: File Table Overflow

The kernel has a number of internal table structures, including a file table. When you run out of room in that table, you get a file table overflow.

The table size is controlled by a kernel parameter, nfile. You can check your current system performance with

sar -v

This will show you the file table size - current and maximum - and the number of overflows. For example:

00:00:01 text-sz ov proc-sz ov inod-sz ov file-sz ov
00:20:01 N/A N/A 350/3220 0 0/3924 0 6268/30906 0
00:40:01 N/A N/A 340/3220 0 0/3924 0 6258/30906 0
01:00:01 N/A N/A 371/3220 0 0/3924 0 6321/30906 0

This system has 30906 entries in the file table, and 6268 were in use at 00:20:01.

You will probably have to tune that kernel parameter with SAM, which will include a reboot.

Make sure that you have a good backup of the kernel before the reboot.

Tom
Carpe diem!
Sajid_1
Honored Contributor

Re: File Table Overflow

Hello,

a) Normally this indicates the problem with 'nfile' value. You need to increase this.
b) Check the patch levels and apply the latest.
c) Run GlancePlus and find out application resource usage
learn unix ..
MANOJ SRIVASTAVA
Honored Contributor

Re: File Table Overflow

Sajid_1
Honored Contributor

Re: File Table Overflow

This document tells the same error:
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000024603134

Doc ID - A4222348
learn unix ..
Jose Mariano Bueno
Occasional Contributor

Re: File Table Overflow

I have the same problem, but I am not able to run anything (ls, sam, sar, cp, mv, not even shutdown)

I am running HP-UX IIi on a rp5430 server.

Any advise????

Re: File Table Overflow

Hi Mario
The OS you're using it's HP-UX 11i?
what user are you using? probably needs privileges or requires to review the PATH variable to check the access to the commands.
"Never quit", that's what a Terminator does.