1834903 Members
2773 Online
110071 Solutions
New Discussion

Re: Message in dmesg !

 
SOLVED
Go to solution
Ivan Azuara
Regular Advisor

Message in dmesg !

Hi !

I was checking my server, and found a message using the command "dmesg", and show me the next:

file: table is full
file: table is full
file: table is full
file: table is full
file: table is full

Somebody know if i need to change some value in the kernel parameters ?

P.D. The server has HPUX 11.00/64..


Best Regards !
"Enjoy the life .."
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Message in dmesg !

You need to increase nfile.
If it ain't broke, I can fix that.
S.K. Chan
Honored Contributor

Re: Message in dmesg !

The max number of open files are exceeded. You can choose to increade "maxusers" parameter which would automatically increase "nfile". Use SAM for this.
Jeff Schussele
Honored Contributor

Re: Message in dmesg !

Hi Ivan,

By default the nfile value is derived from the following formula

((16*(nproc+16+maxusers)/10)+32+2*(npty+nstrpty+nstrtel)

So you could also increase the nfile value by increasing the maxusers value. This has the added benefit of increasing other kernel parameters - such as nproc - as well.

But check your kernel the nfile may also be set as a static value & un that case changing maxusers would have no effect.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
MANOJ SRIVASTAVA
Honored Contributor

Re: Message in dmesg !

After you do that you can still monitor using sar -v 2 5 to check the dynamic value of nfile and cron it for a day to know the saturation of these parameters and then tune them.


Manoj Srivastava