<?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 Guide on maxfiles and maxfiles_lim kernel value in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512201#M365909</link>
    <description>Hi Gurus , I have a question . Is there any guideline on modifying maxfiles and maxfiles_lim parameter value ? Based on HP document , it stated that maxfiles is a soft limit whilst maxfiles_lim is the hard limit . If let say , I'm planning to set my softlimit (maxfiles) as 4096 , could you suggest what is the best value that I could plan for the maxfiles_lim ? Thanks a lot in advance for the input .</description>
    <pubDate>Mon, 12 Oct 2009 12:21:20 GMT</pubDate>
    <dc:creator>n00body</dc:creator>
    <dc:date>2009-10-12T12:21:20Z</dc:date>
    <item>
      <title>Guide on maxfiles and maxfiles_lim kernel value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512201#M365909</link>
      <description>Hi Gurus , I have a question . Is there any guideline on modifying maxfiles and maxfiles_lim parameter value ? Based on HP document , it stated that maxfiles is a soft limit whilst maxfiles_lim is the hard limit . If let say , I'm planning to set my softlimit (maxfiles) as 4096 , could you suggest what is the best value that I could plan for the maxfiles_lim ? Thanks a lot in advance for the input .</description>
      <pubDate>Mon, 12 Oct 2009 12:21:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512201#M365909</guid>
      <dc:creator>n00body</dc:creator>
      <dc:date>2009-10-12T12:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Guide on maxfiles and maxfiles_lim kernel value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512202#M365910</link>
      <description>You can be generous with these settings.  All they do is reserve space for a table in the kernel.  In today's large memory systems, a few extra bytes in the kernel really isn't critical.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 12 Oct 2009 12:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512202#M365910</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-10-12T12:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Guide on maxfiles and maxfiles_lim kernel value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512203#M365911</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The values you choose are wholly dependent on your environment's needs.  I would have a look at the manpages for their usual wealth of information:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/maxfiles.5.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/maxfiles.5.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/maxfiles_lim.5.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/maxfiles_lim.5.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look too at 'ulimit' here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/sh-posix.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/sh-posix.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Oct 2009 12:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512203#M365911</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-10-12T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Guide on maxfiles and maxfiles_lim kernel value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512204#M365912</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Here is a sampling from around the forum.  As you can see there is a wide range.  I would 'sar -v 5 5' &amp;gt; /home/user/openfiles.txt into a 20 min cron for a week to get a better idea.  Also, if you are using an application like Oracle or Java, they should be making these recommendations.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;maxfiles 256 - 256&lt;BR /&gt;maxfiles_lim 2048 Y 2048&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1119656" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1119656&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For machine with java these are values I usually put:&lt;BR /&gt;maxfiles 2048&lt;BR /&gt;maxfiles_lim 2176&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=8643" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=8643&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;maxfiles 512 - 512&lt;BR /&gt;maxfiles_lim 1536 Y 1536&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1343923" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1343923&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also I would like to understand the impact of following confing&lt;BR /&gt;maxfiles_lim = 2048&lt;BR /&gt;maxfile = 10240&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=951759" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=951759&lt;/A&gt;</description>
      <pubDate>Mon, 12 Oct 2009 12:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512204#M365912</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-10-12T12:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Guide on maxfiles and maxfiles_lim kernel value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512205#M365913</link>
      <description>The sole purpose for the maxfiles parameters is to prevent a bad program from using all the file slots in the kernel table. NOTE: MAXFILES refers to each program's number of open files at the same time). If you have no programmers or script writers on your system, then you set the soft value (MAXFILES) to 4096, a value that is quite large. This should cover 99% of your applications.&lt;BR /&gt; &lt;BR /&gt;If some program requires a larger number of files to be opened at the same time, the the program should recognize that opening 10000 files at the same is probably unusual and the program should call setrlimit to extend the MAXFILES value to a bit more than 10000. If MAXFILES_LIM = 15000 then the program runs without a problem. Another way to do this is to run the program with a profile that sets ulimit -n 10100 to allow 10100 files to be opened.&lt;BR /&gt; &lt;BR /&gt;NOTE: MAXFILES/MAXFILES_LIM do not modify NFILE which is the maximum number of files open at the same time for the entire system. NFILE counts ordinary files as well as device files (disks, tapes, ptys) and network sockets. Usr sar -v 1 to see if the totan number of files and the maximum are getting close, then adjust NFILE accordingly.</description>
      <pubDate>Tue, 13 Oct 2009 12:05:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512205#M365913</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-10-13T12:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Guide on maxfiles and maxfiles_lim kernel value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512206#M365914</link>
      <description>Gurus , Many thanks for the comprehensive opinions .</description>
      <pubDate>Wed, 14 Oct 2009 04:30:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/guide-on-maxfiles-and-maxfiles-lim-kernel-value/m-p/4512206#M365914</guid>
      <dc:creator>n00body</dc:creator>
      <dc:date>2009-10-14T04:30:07Z</dc:date>
    </item>
  </channel>
</rss>

