Showing results for 
Search instead for 
Did you mean: 


Go to solution
Carme Torca
Super Advisor



I have one server with limit nfiles.

10:26:03 text-sz ov proc-sz ov inod-sz ov file-sz ov
10:26:04 N/A N/A 570/5120 0 2272/16384 0 32538/32778 0
10:26:05 N/A N/A 570/5120 0 2272/16384 0 32538/32778 0
10:26:06 N/A N/A 570/5120 0 2273/16384 0 32539/32778 0
10:26:07 N/A N/A 570/5120 0 2272/16384 0 32538/32778 0

I have to increase this value.
But, Is it posible to known what files are open in one moment?
And another question, I have to increase some more value?

Users are not too bad ;-)
Steven E. Protter
Exalted Contributor

Re: nfiles

Shalom Carme,

glance/gpm is an add in performance monitor. Its on your application cd's and can be installed on a 60 day trial basis.

It has a nice resource monitor that can show high water marks on important resources.

If you have to increase the value anyway, there seems to be no need to look at the current values.

If you are bumping the limit you'll see error messages indicating that files can not be openned.

/var/adm/syslog/syslog.log and you may see this within your applications as well.

The lsof utility is a great for seeing what files are openned where.

I've had a lot of trouble with the depot version and recommend downloading the tar file all the co and pre requisites and compiling.

If you are nitting the nfiles limit its hard to tell how high to increase it because your system isn't running right and you can't tell how many files it reallly wants open.

Another one to watch is maxuprc

It controls the maximum number of files open from any one user and is more likely to make trouble. It defaults to 75 and I commonly have to bump it up to 200 to run mid range oracle/application servers.

Steven E Protter
Owner of ISN Corporation
Eric Antunes
Honored Contributor

Re: nfiles

Hi Carme,

I think you should decrease ninode since it seems oversized: 4096 for starting and monitor "sar -v" again.

My nfile parameter is equal to (15*NPROC+2048). If you use this formula you will get a nfile equal to 78848.

Best Regards,


Each and every day is a good day to learn.