1847343 Members
2388 Online
110264 Solutions
New Discussion

File table overflow

 
Franklin
Occasional Contributor

File table overflow

Hello.

This is my problem.
In the Console Terminal, show this message:
File table overflow
13 REPLIES 13
Pete Randall
Outstanding Contributor

Re: File table overflow

You need to increase the nfiles kernel parameter.

Pete

Pete
BFA6
Respected Contributor

Re: File table overflow

Hi,

There are probably also messages in /var/adm/syslog/syslog.log

You need to increase the kernel parameter nfiles.

Regards,

Hilary
Ashwani Kashyap
Honored Contributor

Re: File table overflow

Increase the "nfile" kernel paramater . YOu will need a reboot after compiling the kernel with the new values .
Jerome Baron
Respected Contributor

Re: File table overflow

Hi,

This message indicates that you have exceeded the maximum number of
open files allowed on the system. To correct this problem, you must
increase the value of the kernel parameter "nfile".

You can folow links for more information about kernel parameter :
http://www.docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
http://www.hp-partners.com/edaweb_public/html/technical_support/tuning.html

Regards,
Jerome
MANOJ SRIVASTAVA
Honored Contributor

Re: File table overflow

do a sar-v 2 10 to monitor the same after you increase it , this will help in finetuning the value.


Manoj Srivastava
Franklin
Occasional Contributor

Re: File table overflow

OS 10.20
Message error:
File table overflow
Some recomendatios.
increase your nfile
How do this?

I have lisence to 32 users
Sandip Ghosh
Honored Contributor

Re: File table overflow

Go to SAM--Kernel Parameters--configurable kernel parameters-----Select nfile----press TAB --go to the Action menu --change it as per requirement. Recreate the kernel. It will automatically reboot after recreation.

Sandip
Good Luck!!!
Franklin
Occasional Contributor

Re: File table overflow

in my system, the value num_clients = 0
is this correct yes or no?
i can increase this value?
Pete Randall
Outstanding Contributor

Re: File table overflow

Where are you seeing num_clients=0?

Pete

Pete
Franklin
Occasional Contributor

Re: File table overflow

in the formula.IN SAM((NPROC+16+MAXUSERS)+32+(2*NPTY)+(10*NUM_CLIENTS))

WHERE:
NPROC=60
MAXUSERS=32
NPTY=60
NUM_CLIENTS=0
Pete Randall
Outstanding Contributor

Re: File table overflow

Is that the formula for nfiles? I don't see num_clients on any of my machines.

The usual approach is to increase MAXUSERS, which will, in turn, increase NPROC and NFILES and any other appropriate parameters. That's the point of the formulas. I know you said you have a 32 user license, but don't worry about that - you can increase MAXUSERS to whatever you want, regardless of your license.

Pete

Pete
Sanjeev Kohli_1
Advisor

Re: File table overflow

U need to increase the nfile kernel parameter for this problem .
After increasing the kernel parameter u need to check with the sar -v 5 (secs.) 5 (no. of times u need the information to be displayed)

Normally we increase 20% of the present value and check. If the message is still getting displayed then we increase it again .


Sanjeev





Sanjeev Kohli
T G Manikandan
Honored Contributor

Re: File table overflow

As admins have suggested increase maxusers which will inturn increase nfile which should solve your problem.

There is no need to increase the parameter num_clients

num_client

*//

The "num_clients" kernel parameter is used to parameterize other tunables
whose values need to be adjusted based on the number of clients in
a cluster (e.g., nflocks).
The value of "num_clients" does not have to exactly match the number
of clients in the cluster, it just needs to be greater than the number of
installed clients minus 10 (for example, if there are 30
installed clients, the value of "num_clients" should equal 20 or more),
and can safely be larger without constraint (within reason--
setting "num_clients" to 100 when there will only be 10 installed
clients is wasteful of server memory, but setting it to 50 when
there are only 30 installed clients is reasonable).
When SAM is used to add clients to a cluster, it will check the
current setting of "num_clients" and compare it to the new number
of installed clients. If the value of "num_clients" is greater than
the number of installed clients, this is OK. If the number of installed
clients is greater than the value of "num_clients," but not by more
than 10 clients, SAM will generate an informational message to the
effect that "num_clients" is OK, though less than the current number
of installed clients, and if the cluster is going to become larger
it may be necessary to increase the value of "num_clients." If the
number of installed clients exceeds the value of "num_clients" by
more than 10, SAM generates a more strongly worded message, telling
the user that the value of this parameter needs to be increased
before booting the new clients.
In the latter two cases above, SAM provides the option to enter
a new value for "num_clients." If a new value is specified,
SAM will update the server's kernel and reboot the server

*//


Thanks