- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Maximum value of nfile, kernel parameter
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:01 AM
06-18-2002 02:01 AM
I???ve a SuperDome with 11 Cpu and 12386304 kbytes of Ram.
There is Oracle Server 7.3.4.0, and DCE 1.8.
There are four Application Server and many clients dce which are connecting
to this DB Server.
In attachement there is an Oracle Instance Summary.
our clients say that they had connecting problems, so we
changed our nfile parameter, that it was 12186.
We changed our kernel parameters:
Nfile=17123
Maxusers=1024
Npty=1024
Nproc=8212
My question is:
Is there a maxumum limit to nfile parameter?
I would like to know this value
if so, should I have other kind of problems upgrading this value of nfile?
Currently we are changing this value with small steps, waiting for
our clients interaction, maybe we should take it to the maximum in only one step,
I appreciate suggestions to this way of proceeding,
Regards, Angelo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:08 AM
06-18-2002 02:08 AM
Re: Maximum value of nfile, kernel parameter
nfile
nfile defines the maximum number of files that can be open simultaneously, system-wide, at any given time.
Acceptable Values:
Minimum 14
Maximum Memory limited
Default
((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)
Specify integer value or use integer formula expression. For more information, see Specifying Parameter Values.
Description
nfile defines the maximum number files that can be open at any one time, system-wide.
It is the number of slots in the file descriptor table. Be generous with this number because the required memory is minimal, and not having enough slots restricts system processing capacity.
you can also check this link for details for kernel param : http://docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html
and there is no problem to increase the vaule of the nfile in your computer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:10 AM
06-18-2002 02:10 AM
Re: Maximum value of nfile, kernel parameter
A relevant thread:-http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc26d7bb04b5cd611abdb0090277a778c,00.html
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:11 AM
06-18-2002 02:11 AM
Re: Maximum value of nfile, kernel parameter
The limit for 'nfile' is memory-limited. The memory required to track large values is small, so you can increase this without problem. By default, the value is computed as:
((16*(nproc+16+maxusers)/10)+32+2*(npty+nstrpty+nstrtel)
If you wish to disregard the foumula and specify a hard-value, that too is acceptable.
Remember that you can use 'sar -v' or 'glance's table metrics to monitor 'nfile'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:11 AM
06-18-2002 02:11 AM
SolutionThe maximum is limited by the available memory. You can give a very large number because the required memory is minimal.
Every process uses at least three file descriptors per process and each process requires two pipes per process.
If you have glanceplus installed, you can check the current number of file descriptors being opened from the system tables and monitor its usage (an alternative way is to use adb).
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:18 AM
06-18-2002 02:18 AM
Re: Maximum value of nfile, kernel parameter
In addition to the kernel parameters you mentioned, related parameters you would want to verify would be maxfiles, maxfiles_lim and maxuprc.
While nfile is meant system-wide, maxfiles set the soft limit (and maxfiles_lim the hard limit) for the number of files a process is allowed to have open simultaneously.
nproc defines the maximum number of simultaneous processes on the system. maxuprc defines the maximum number of simultaneous processes available to each user on the system. Because the Oracle userid is used to start up multiple processes (a huge number especially in Oracle dedicated server architecture), then it is important for you to increase maxuprc along with nproc. maxuprc's max is nproc - 4.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2002 02:54 AM
06-18-2002 02:54 AM
Re: Maximum value of nfile, kernel parameter
Regards,
Trond