<?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 maxfiles &amp;amp; maxfiles_lim kernel parameter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565338#M227220</link>
    <description>maxfiles - Soft limit on how many files a single process can have opened or locked at any given time.&lt;BR /&gt;&lt;BR /&gt;maxfiles_lim - Hard limit on how many files a single process can have opened or locked at any given time&lt;BR /&gt;&lt;BR /&gt;As per the definition, maxfiles_lim &amp;gt;= maxfiles..Is this correct ??&lt;BR /&gt;&lt;BR /&gt;Is there an HP document to support this statement .&lt;BR /&gt;&lt;BR /&gt;Thanks for the assistance.</description>
    <pubDate>Thu, 16 Jun 2005 09:40:20 GMT</pubDate>
    <dc:creator>Nikhil Dubey</dc:creator>
    <dc:date>2005-06-16T09:40:20Z</dc:date>
    <item>
      <title>maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565338#M227220</link>
      <description>maxfiles - Soft limit on how many files a single process can have opened or locked at any given time.&lt;BR /&gt;&lt;BR /&gt;maxfiles_lim - Hard limit on how many files a single process can have opened or locked at any given time&lt;BR /&gt;&lt;BR /&gt;As per the definition, maxfiles_lim &amp;gt;= maxfiles..Is this correct ??&lt;BR /&gt;&lt;BR /&gt;Is there an HP document to support this statement .&lt;BR /&gt;&lt;BR /&gt;Thanks for the assistance.</description>
      <pubDate>Thu, 16 Jun 2005 09:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565338#M227220</guid>
      <dc:creator>Nikhil Dubey</dc:creator>
      <dc:date>2005-06-16T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565339#M227221</link>
      <description>I am not sure if you can find any "proper" hp documentation but the definition of the two kernel variables should be documentation enough in my opinion.&lt;BR /&gt;&lt;BR /&gt;Also, unless you mocked with manual kernel compilation and forced it to do somethings unheard of, unless the condition you stated is satisfied, you can not successfully compile a new kernel.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Thu, 16 Jun 2005 09:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565339#M227221</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-06-16T09:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565340#M227222</link>
      <description>Thanks for the reply...I asked this because in our environment the maxfiles &amp;gt; maxfiles_lim i.e maxfiles is set to 2048 whereas the maxfiles_lim is set to 4096.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Nikhil</description>
      <pubDate>Thu, 16 Jun 2005 09:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565340#M227222</guid>
      <dc:creator>Nikhil Dubey</dc:creator>
      <dc:date>2005-06-16T09:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565341#M227223</link>
      <description>oops...I wrote opposite..maxfiles is set to 4096 whereas maxfiles_lim is set to 2048.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards.&lt;BR /&gt;&lt;BR /&gt;Nikhil</description>
      <pubDate>Thu, 16 Jun 2005 09:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565341#M227223</guid>
      <dc:creator>Nikhil Dubey</dc:creator>
      <dc:date>2005-06-16T09:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565342#M227224</link>
      <description>Actually, in HP-UX 11.11 and up, maxfiles_lim is dynamic while maxfiles is static. Surprisingly, maxfiles_lim can be set below maxfiles although why one would ever want to escapes me.</description>
      <pubDate>Thu, 16 Jun 2005 09:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565342#M227224</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-16T09:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565343#M227225</link>
      <description>Another one to think about.&lt;BR /&gt;&lt;BR /&gt;maxuprc&lt;BR /&gt;&lt;BR /&gt;Max users for a single user.&lt;BR /&gt;&lt;BR /&gt;The default is 75 and some oracle servers need more than that.&lt;BR /&gt;&lt;BR /&gt;Most Oracle shops bump it up to 200.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 16 Jun 2005 09:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565343#M227225</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-16T09:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles &amp; maxfiles_lim kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565344#M227226</link>
      <description>You can set the values incorrectly (maxfiles greater than maxfiles_lim) and the kernel silently enforces the lower limit. maxfiles is simply a starting point, normally set quite low (60 to 120) for ordinary users. Power programs that really need hundreds of files open at the same time will call setrlimit() to change the limit higher. maxfiles_lim is the absolute limit for the number of open files in a single process. Or you can change the limit (just for your shell environment) using ulimit -n. &lt;BR /&gt; &lt;BR /&gt;NOTE: ksh does not implement all the options in ulimit (no options at all for the last 19 years) but with a recent patch now adds ulimit -a and the options listed, but not ulimit -n. Now as far as the actual values: you really have programs that open as many as 2000 files at the same time? Not one at a time, but all of them open at once? The Universe database system can be setup for something like that (it uses thousands of files) but *every* instance of the database program requires that many aditional file handles. If you run 100 copies with 2000 files open at the same time for each process, your nfile kernel parameter must be increased by 20,000.&lt;BR /&gt; &lt;BR /&gt;Mnay, many vendors publish rather simplistic instructions like: maxfiles=maxfiles_lim=2048, probably created by a newbie sysadmin that couldn't figure out which parameter to change and just took a whack at all of them. There is a specific purpose in having maxfiles smaller than maxfiles_lim. By making them both large, any user can write a stupid program that loops around creating thousands of files, eventually using all the kernel's file descriptor slots. At that time, no one login (including root!) or do anything new. It's called a denial of service.</description>
      <pubDate>Thu, 16 Jun 2005 11:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles-amp-maxfiles-lim-kernel-parameter/m-p/3565344#M227226</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-06-16T11:12:09Z</dc:date>
    </item>
  </channel>
</rss>

