- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- modifying nfile param
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
08-15-2003 09:02 AM
08-15-2003 09:02 AM
My current nfile is set at 59712...
I know that nfile requires a very small amount of memory for its reservation so I am looking at increasing my nfile to 80k-100k...
My current memory is 71.2GB... so I dont think it will be a problem...
Just wanted advice about my choice of an arbitrary value of 80k... I was picking it based on being at almost 50-60k and increasing by 30% so that I would fall somewhere around 62.5-75%... Probably around 69% at my current running number of nfiles used during peak time.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 09:08 AM
08-15-2003 09:08 AM
Re: modifying nfile param
Well, if you need it, increase it. You've done the math -- given your current usage, ~65-75% utilization leaves a comfortable cushion.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 09:09 AM
08-15-2003 09:09 AM
Re: modifying nfile param
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 09:17 AM
08-15-2003 09:17 AM
Re: modifying nfile param
Maybe you can explain what "useful"means in this statement from the description from maxfiles kernel parm...
quote:
To be useful, the value assigned to maxfiles must be less than the value of maxfiles_lim. maxfiles_lim is useful only if it does not exceed the limits imposed by nfile and ninode.
end quote...
My maxfiles is 2048
My maxfiles_lim is 1024
My ninode is 37332
Should I also increase maxfiles_lim or only maxfiles parm?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 09:26 AM
08-15-2003 09:26 AM
SolutionSuppose that nfile = 3000, and 2000 were in use. If maxfiles were 2048, a new process couldn't open more than 1000 files because that's all the global resources available.
Ulimit allows a process to increase the number of allowed files up to the "hard" limit value. The initial value is the "soft" limit.
By the way, if your ninode valus is large, you can safely reduce it to about 1000-1200 or so -- and save resources. Ninode only applies to hfs filesystems and I'll bet your only hfs filesystem is /stand. You can build very, very complex kernels with "only" 1000 files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2003 09:30 AM
08-15-2003 09:30 AM
Re: modifying nfile param
First, 'maxfiles' is also called the "soft limit" defining the maximum number of files a process can open. This boundry can be increased.
'maxfiles_lim' is the upper point, on an individual, per-process-basis, to which a process can grow the boundry for the maximum number of files. It's called teh "hard-limit" for the process.
'nfile' imposes the overall, system-wide limitation on the maximum number of files that can be open simultaneously, regardless of any per-process limits.
Hence, you want the following relationship:
nfile > maxfiles_lim > maxfiles
Regards!
...JRF...