<?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 modifying nfile param in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049954#M136309</link>
    <description>I have a problem with my nfile maxing out around 90/95%... and I get many errors from my Patrol monitoring software.&lt;BR /&gt;&lt;BR /&gt;My current nfile is set at 59712...&lt;BR /&gt;&lt;BR /&gt;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...&lt;BR /&gt;&lt;BR /&gt;My current memory is 71.2GB... so I dont think it will be a problem...&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Aug 2003 16:02:28 GMT</pubDate>
    <dc:creator>Todd McDaniel_1</dc:creator>
    <dc:date>2003-08-15T16:02:28Z</dc:date>
    <item>
      <title>modifying nfile param</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049954#M136309</link>
      <description>I have a problem with my nfile maxing out around 90/95%... and I get many errors from my Patrol monitoring software.&lt;BR /&gt;&lt;BR /&gt;My current nfile is set at 59712...&lt;BR /&gt;&lt;BR /&gt;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...&lt;BR /&gt;&lt;BR /&gt;My current memory is 71.2GB... so I dont think it will be a problem...&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2003 16:02:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049954#M136309</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-08-15T16:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: modifying nfile param</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049955#M136310</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Well, if you need it, increase it.  You've done the math -- given your current usage, ~65-75% utilization leaves a comfortable cushion.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 15 Aug 2003 16:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049955#M136310</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-08-15T16:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: modifying nfile param</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049956#M136311</link>
      <description>With that much memory, 80K for nfile should be absolutely no problem. If you are still tied to the formula based upon NPROC, I would clobber the formula and plug the numerical value in directly. Your box sounds like it really doesn't "fit" the default computation method. It is also possible that a given process might be opening many files so you might need to bump up maxfiles as well.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2003 16:09:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049956#M136311</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-08-15T16:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: modifying nfile param</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049957#M136312</link>
      <description>Okaym I will go ahead and increase the param to 80k.&lt;BR /&gt;&lt;BR /&gt;Maybe you can explain what "useful"means in this statement from the description from maxfiles kernel parm...&lt;BR /&gt;&lt;BR /&gt;quote:&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;end quote...&lt;BR /&gt;&lt;BR /&gt;My maxfiles is 2048&lt;BR /&gt;My maxfiles_lim is 1024&lt;BR /&gt;My ninode is 37332&lt;BR /&gt;&lt;BR /&gt;Should I also increase maxfiles_lim or only maxfiles parm?</description>
      <pubDate>Fri, 15 Aug 2003 16:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049957#M136312</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2003-08-15T16:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: modifying nfile param</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049958#M136313</link>
      <description>In this context, "useful" means that the per process number of file descriptors can come into play only if there are sufficient files and inodes left to accomodate the request.&lt;BR /&gt;&lt;BR /&gt;Suppose 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. &lt;BR /&gt;&lt;BR /&gt;Ulimit allows a process to increase the number of allowed files up to the "hard" limit value. The initial value is the "soft" limit.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Aug 2003 16:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049958#M136313</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-08-15T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: modifying nfile param</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049959#M136314</link>
      <description>Hi (againi):&lt;BR /&gt;&lt;BR /&gt;First, 'maxfiles' is also called the "soft limit" defining the maximum number of files a process can open.  This boundry can be increased.&lt;BR /&gt;&lt;BR /&gt;'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.&lt;BR /&gt;&lt;BR /&gt;'nfile' imposes the overall, system-wide limitation on the maximum number of files that can be open simultaneously, regardless of any per-process limits.&lt;BR /&gt;&lt;BR /&gt;Hence, you want the following relationship:&lt;BR /&gt;&lt;BR /&gt;nfile &amp;gt; maxfiles_lim &amp;gt; maxfiles&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 15 Aug 2003 16:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/modifying-nfile-param/m-p/3049959#M136314</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-08-15T16:30:36Z</dc:date>
    </item>
  </channel>
</rss>

