<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: nfile increase in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246979#M470488</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SEP: The formula designers did not use real world data when making their calculations.&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 14 Jul 2010 20:54:04 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-07-14T20:54:04Z</dc:date>
    <item>
      <title>nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246968#M470477</link>
      <description>Hi all,&lt;BR /&gt;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). &lt;BR /&gt;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.&lt;BR /&gt;Thanks in advance to all those who reply.&lt;BR /&gt;&lt;BR /&gt;07:47:51 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov&lt;BR /&gt;07:47:52   N/A   N/A 611/4116  0  3309/34976 0  14946/22693 0&lt;BR /&gt;11:37:50   N/A   N/A 670/4116  0  3442/34976 0  18027/22693 0</description>
      <pubDate>Thu, 08 Jul 2010 13:59:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246968#M470477</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-08T13:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246969#M470478</link>
      <description>Hi Mauro:&lt;BR /&gt;&lt;BR /&gt;Increase 'nfile' as noted.  There is very little overhead to inflating the value.  Note that:&lt;BR /&gt;&lt;BR /&gt;nfile &amp;gt;= 2*maxfiles_lim&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 08 Jul 2010 14:05:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246969#M470478</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-07-08T14:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246970#M470479</link>
      <description>Thanks JRF,&lt;BR /&gt;Yeah, my maxfiles_lim is 2048 so I should be ok by increasing it as I've mentioned.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro</description>
      <pubDate>Thu, 08 Jul 2010 14:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246970#M470479</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-08T14:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246971#M470480</link>
      <description>BTW,&lt;BR /&gt;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.&lt;BR /&gt;I am running HPUX 11.11 with 32GB RAM.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro</description>
      <pubDate>Tue, 13 Jul 2010 21:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246971#M470480</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-13T21:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246972#M470481</link>
      <description>Scratch my last question...I don't think that telnet/tty streams allowed would be an issue.&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro</description>
      <pubDate>Tue, 13 Jul 2010 21:47:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246972#M470481</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-13T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246973#M470482</link>
      <description>&amp;gt;I don't think that telnet/tty streams allowed would be an issue.&lt;BR /&gt;&lt;BR /&gt;Right, probably not related.  But if they are close to the limit, you might want to do both at once.</description>
      <pubDate>Tue, 13 Jul 2010 22:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246973#M470482</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-07-13T22:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246974#M470483</link>
      <description>One last question on this. As stated earlier, my current nfile setting is 22693. Not sure why my predecessor would have set it this way (I mean why not 22K or 20K), so I'm wondering, is there any correlation to another kernel that I'm not aware of? (other than the &lt;BR /&gt;nfile &amp;gt;= 2*maxfiles_lim that JRF previously mentioned).&lt;BR /&gt;As far as I know, I should be able to just set my nfile to 40K.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jul 2010 19:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246974#M470483</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-14T19:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246975#M470484</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;A formula like:&lt;BR /&gt;&lt;BR /&gt;((16*(Nproc+16+MaxUsers)/10)+32+2*(Npty+Nstrpty)&lt;BR /&gt;&lt;BR /&gt;...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.&lt;BR /&gt;&lt;BR /&gt;Interestingly, in the case of 'nfile' in 11.31 and later, this kernel parameter is being obsolesced:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02266682/c02266682.pdf" target="_blank"&gt;http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02266682/c02266682.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Jul 2010 19:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246975#M470484</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-07-14T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246976#M470485</link>
      <description>Thanks for your input JRF...always valuable.&lt;BR /&gt;Ok then, I'm just going to set it to 40K and go on with life.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;Mauro</description>
      <pubDate>Wed, 14 Jul 2010 19:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246976#M470485</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-14T19:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246977#M470486</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Sorry I missed this one. The formula designers did not use real world data when making their calculations.&lt;BR /&gt;&lt;BR /&gt;Myself and Bill Hassell recommend removing formulas from the Kernel and setting real world values.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 14 Jul 2010 20:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246977#M470486</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-07-14T20:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246978#M470487</link>
      <description>Thanks SEP,&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro</description>
      <pubDate>Wed, 14 Jul 2010 20:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246978#M470487</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-14T20:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246979#M470488</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SEP: The formula designers did not use real world data when making their calculations.&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Jul 2010 20:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246979#M470488</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-07-14T20:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246980#M470489</link>
      <description>Sorry...just noticed I quoted the machine as being an rp7440...the machine I was talking about is an rp4440...PA-RISC, HPUX 11.11. I assume this changes nothing and I can proceed with changing the said nfile to a flat 40K value.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro</description>
      <pubDate>Fri, 16 Jul 2010 17:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246980#M470489</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-16T17:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246981#M470490</link>
      <description>With regards to Kernel Formulas.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;There may be exceptions, or formulas you can not bypass. I will let Bill speak for himself if he chooses to weigh in.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 16 Jul 2010 18:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246981#M470490</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-07-16T18:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246982#M470491</link>
      <description>Thanks SEP...will review the ppt. &lt;BR /&gt;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. &lt;BR /&gt;Seems like a pretty "safe" way to go.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Mauro&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2010 18:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246982#M470491</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-16T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246983#M470492</link>
      <description>Way too much discussion about this parameter -- it needs to be larger than you'll ever need. Make it 50000 or 75000. I have seen 11.11 running just fine with nfile well over one million (do to a very bad application design but it works). The upside is that nfile=75000 means your applications will without file descriptor limitations (assuming no major changes to the environment) and the downside is that the kernel will be a few megs larger.&lt;BR /&gt; &lt;BR /&gt;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.</description>
      <pubDate>Sat, 17 Jul 2010 21:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246983#M470492</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-07-17T21:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: nfile increase</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246984#M470493</link>
      <description>Increased the parameter as mentioned without incident. &lt;BR /&gt;&lt;BR /&gt;Thanks to all who contributed.&lt;BR /&gt;&lt;BR /&gt;Mauro</description>
      <pubDate>Wed, 28 Jul 2010 19:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nfile-increase/m-p/5246984#M470493</guid>
      <dc:creator>Mauro Livi</dc:creator>
      <dc:date>2010-07-28T19:55:52Z</dc:date>
    </item>
  </channel>
</rss>

