- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nfile increase
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
07-08-2010 06:59 AM
07-08-2010 06:59 AM
Quick question, we have an RP7440 running HPUX 11.11, and in looking at a sar -v (below) it seems as though it may be time for me to increase the nfile kernel setting. Our limit is 22693 and though it usually operates at about 14K, I've seen it go above 18K as shown below).
Seems to me that I can safely increase to say 35K or 40K since I have plenty of memory on this machine. Nproc setting seems to be fine. Just wanted to get your 2 cents.
Thanks in advance to all those who reply.
07:47:51 text-sz ov proc-sz ov inod-sz ov file-sz ov
07:47:52 N/A N/A 611/4116 0 3309/34976 0 14946/22693 0
11:37:50 N/A N/A 670/4116 0 3442/34976 0 18027/22693 0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:10 AM
07-08-2010 07:10 AM
Re: nfile increase
Yeah, my maxfiles_lim is 2048 so I should be ok by increasing it as I've mentioned.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2010 02:17 PM
07-13-2010 02:17 PM
Re: nfile increase
If I increase nfile to 40K as mentioned above, is it a good idea to increase npty, nstrpty and nstrtel? All those are set to 60. I'd rather not change a bunch of kernels at once, so I was thinking just changing nfile.
I am running HPUX 11.11 with 32GB RAM.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2010 02:47 PM
07-13-2010 02:47 PM
Re: nfile increase
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2010 03:43 PM
07-13-2010 03:43 PM
Re: nfile increase
Right, probably not related. But if they are close to the limit, you might want to do both at once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 12:09 PM
07-14-2010 12:09 PM
Re: nfile increase
nfile >= 2*maxfiles_lim that JRF previously mentioned).
As far as I know, I should be able to just set my nfile to 40K.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 12:18 PM
07-14-2010 12:18 PM
Re: nfile increase
A formula like:
((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)
...used to be used to establish a value for 'nfile'. These antics are deprecated and now a simple value is used. The parameter limits the number of slots in a kernel table representing open files. The memory overhead for each slot is very small and hence there is very little penalty to you for inflating the 'nfile' value.
Interestingly, in the case of 'nfile' in 11.31 and later, this kernel parameter is being obsolesced:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02266682/c02266682.pdf
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 12:20 PM
07-14-2010 12:20 PM
Re: nfile increase
Ok then, I'm just going to set it to 40K and go on with life.
Thanks again
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 01:15 PM
07-14-2010 01:15 PM
Re: nfile increase
Sorry I missed this one. The formula designers did not use real world data when making their calculations.
Myself and Bill Hassell recommend removing formulas from the Kernel and setting real world values.
I agree with the decision to go 40K for now. Glance can be used to monitor high water marks so you can proactively set these values.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 01:19 PM
07-14-2010 01:19 PM
Re: nfile increase
Yeah I've been watching it and it's gotten to about 75%-80% of nfile. I'll increase it as discussed and keep an eye on it.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 01:54 PM
07-14-2010 01:54 PM
Re: nfile increase
> SEP: The formula designers did not use real world data when making their calculations.
Really? I think not. The formula were an attempt to constrain interrelated settings to consistent values and scales thereby lifting some of the human choices that would lead to needless resource consumption when one parameter was grossly inflated but otherwise limited by a second related parameter's value.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2010 10:49 AM
07-16-2010 10:49 AM
Re: nfile increase
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2010 11:41 AM
07-16-2010 11:41 AM
Re: nfile increase
I'm part of the Bill Hassell school on this. He explains it much better than I. His course on system building, which is on one of my websites as a ppt file specifically recommends ripping out the formulas.
There may be exceptions, or formulas you can not bypass. I will let Bill speak for himself if he chooses to weigh in.
Regards,
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2010 11:50 AM
07-16-2010 11:50 AM
Re: nfile increase
Bottom line in my case is that I should be able to change it to a specific value (i.e 40K) as it currently set to something which I feel is too low. Like I said, I'll set it and monitor and if needs be, I'll adjust it.
Seems like a pretty "safe" way to go.
Thanks
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2010 02:00 PM
07-17-2010 02:00 PM
Re: nfile increase
An example of a bad formula is ninode. IT should have a value in the 2-10k range. Lots of systems have crazy values like 50k or 100k due to a useless formula.HP-UX systems range from a simple D-class box with 256MB of RAM to a superdome with 64 procesors and 256 GB of RAM. The formula design was done more than a decade ago and it wasn't right then... Requirements for a simple web server are very different than for a PeopleSoft or SAP server. So as a sysadmin, you look at the overall environment, review the application and database requirements and then monitor limits with tools like sar, ipcs and glance.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010 12:55 PM
07-28-2010 12:55 PM
Re: nfile increase
Thanks to all who contributed.
Mauro