<?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: Changing maxfile... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520587#M23498</link>
    <description>Hi Pete.&lt;BR /&gt;No risk to change these parameters.&lt;BR /&gt;If there are any parameters depending on this, they will be updated and adjusted as well.&lt;BR /&gt;I had to do this for Oracle databases, when i was a newbie, and felt the same way, but it is not a problem.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
    <pubDate>Tue, 24 Apr 2001 08:41:37 GMT</pubDate>
    <dc:creator>Alexander M. Ermes</dc:creator>
    <dc:date>2001-04-24T08:41:37Z</dc:date>
    <item>
      <title>Changing maxfile...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520586#M23497</link>
      <description>Hi,&lt;BR /&gt;I'm installing MySQL onto a HP/UX 10.20 work station. Unfortunately there is the warning:&lt;BR /&gt;&lt;BR /&gt;Installing all prepared tables &lt;BR /&gt;010423 11:09:07 Warning: setrlimit couldn't increase number of open files &lt;BR /&gt;to more than 200 &lt;BR /&gt;010423 11:09:07 Warning: Changed limits: max_connections: &lt;BR /&gt;100 table_cache: 64 &lt;BR /&gt;scripts/mysql_install_db[284]: 15102 Memory fault(coredump) &lt;BR /&gt;Installation of grant tables failed! &lt;BR /&gt;&lt;BR /&gt;I now know where to find maxfile in SAM but I am very wary of changing this without knowing the after affects/ interactions - I don't fancy trying to have to recover the computer. &lt;BR /&gt;&lt;BR /&gt;If I change maxfiles (currently 200, maxfiles_lim = 2048), should I change something else as well? Also, what are the effect of this change, if any? I'm thinking of changing maxfiles first to 512 and if this is still to low I would change it to 1024... Advisable or suicide?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 24 Apr 2001 08:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520586#M23497</guid>
      <dc:creator>Pete Mattison</dc:creator>
      <dc:date>2001-04-24T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Changing maxfile...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520587#M23498</link>
      <description>Hi Pete.&lt;BR /&gt;No risk to change these parameters.&lt;BR /&gt;If there are any parameters depending on this, they will be updated and adjusted as well.&lt;BR /&gt;I had to do this for Oracle databases, when i was a newbie, and felt the same way, but it is not a problem.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Tue, 24 Apr 2001 08:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520587#M23498</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-04-24T08:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing maxfile...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520588#M23499</link>
      <description>Hi!&lt;BR /&gt;I think you wont have any problem increasing the parameter(s).&lt;BR /&gt;&lt;BR /&gt;But, as you know, if you allow your system to run more processes, it will have some impact on performance. But, if they are little it you'll not note that.&lt;BR /&gt;&lt;BR /&gt;To increase that value you should take a look to the following kernel parameter (SAM):&lt;BR /&gt;&lt;BR /&gt;nfile: Set maximum number of files that can be open simultaneously on the system at any given time.&lt;BR /&gt;Acceptable Values:&lt;BR /&gt;Minimum: 14&lt;BR /&gt;Maximum: Memory limited&lt;BR /&gt;&lt;BR /&gt;here is a description of the other two:&lt;BR /&gt;maxfiles: Set soft limit for the number of files a process is allowed to have open simultaneously.&lt;BR /&gt;Acceptable Values:&lt;BR /&gt;Minimum: 30&lt;BR /&gt;Maximum: 2048&lt;BR /&gt;Default: 60&lt;BR /&gt;&lt;BR /&gt;maxfiles_lim: Set hard limit for number of files a process is allowed to have open simultaneously.&lt;BR /&gt;Acceptable Values:&lt;BR /&gt;Minimum: 30&lt;BR /&gt;Maximum: 2048&lt;BR /&gt;Default: 1024&lt;BR /&gt;&lt;BR /&gt;good luck.</description>
      <pubDate>Tue, 24 Apr 2001 08:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520588#M23499</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-04-24T08:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Changing maxfile...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520589#M23500</link>
      <description>The maxfiles is for per process basis, you'll still be bounded by nfile which is the system wide limit, so you should increase nfile accordingly.  I don't know if there is any official document on the ratio between maxfiles and nfiles, but my wild guess is that the ratio should be lower than 1:10.&lt;BR /&gt;&lt;BR /&gt;~Philip</description>
      <pubDate>Tue, 24 Apr 2001 09:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520589#M23500</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2001-04-24T09:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Changing maxfile...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520590#M23501</link>
      <description>Minimum &lt;BR /&gt;30 &lt;BR /&gt;Maximum &lt;BR /&gt;60000 &lt;BR /&gt;Default &lt;BR /&gt;60 &lt;BR /&gt;Specify integer value. For more information, see Specifying Parameter Values.&lt;BR /&gt;&lt;BR /&gt;Description&lt;BR /&gt;maxfiles specifies the system default soft limit for the number of files a process is allowed to have open at any given time. It is possible for a process to increase its soft limit and therefore open more than maxfiles files.&lt;BR /&gt;&lt;BR /&gt;Non-superuser processes can increase their soft limit until they reach the hard limit ( maxfiles_lim).&lt;BR /&gt;&lt;BR /&gt;Related Parameters&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;&lt;BR /&gt;federico</description>
      <pubDate>Tue, 24 Apr 2001 10:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-maxfile/m-p/2520590#M23501</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-04-24T10:00:30Z</dc:date>
    </item>
  </channel>
</rss>

