<?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: open_files_limit for mysql in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538433#M842151</link>
    <description>I'm not sure if I've understood the question but I think you should increase maxfiles to 1024 and set nfile to (15*NPROC+2048). This last parameter (should be something greater than 5000) may be more usefull since it limits all open files in the server.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
    <pubDate>Thu, 05 May 2005 09:16:31 GMT</pubDate>
    <dc:creator>Eric Antunes</dc:creator>
    <dc:date>2005-05-05T09:16:31Z</dc:date>
    <item>
      <title>open_files_limit for mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538431#M842149</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have ported Linux MySQL HA solution provided by HP to HP-UX platform.&lt;BR /&gt;&lt;BR /&gt;My kernel has the following parameters:&lt;BR /&gt;naxfiles 60 (Soft File Limit Per Process)&lt;BR /&gt;maxfiles_lim 1024 (Hard File Limit Per Process )&lt;BR /&gt;&lt;BR /&gt;I see that mysqld can reach maxfiles_lim, but I don't understand where it is allowed.&lt;BR /&gt;&lt;BR /&gt;open-files-limit parameter is not set in my.cnf, no ulimit command can be found in other files.&lt;BR /&gt;&lt;BR /&gt;Many thanks and points in advance for clarification of this default behavior!&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Mihails&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 09:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538431#M842149</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2005-05-05T09:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: open_files_limit for mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538432#M842150</link>
      <description>Thats too low for any database server.&lt;BR /&gt;&lt;BR /&gt;make maxuprc 200 to 300&lt;BR /&gt;&lt;BR /&gt;Bump the files limits up.&lt;BR /&gt;&lt;BR /&gt;This needs to be handled in the kernel.&lt;BR /&gt;&lt;BR /&gt;kmtune ouput to check it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 05 May 2005 09:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538432#M842150</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-05T09:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: open_files_limit for mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538433#M842151</link>
      <description>I'm not sure if I've understood the question but I think you should increase maxfiles to 1024 and set nfile to (15*NPROC+2048). This last parameter (should be something greater than 5000) may be more usefull since it limits all open files in the server.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 05 May 2005 09:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538433#M842151</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-05-05T09:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: open_files_limit for mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538434#M842152</link>
      <description>Thanks for your replies!&lt;BR /&gt;I tried to find out, where mysqld process is allowed to reach maxfiles_lim, if soft limit is small. Is it necessary to allow it explicitly?</description>
      <pubDate>Fri, 06 May 2005 00:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538434#M842152</guid>
      <dc:creator>Mihails Nikitins</dc:creator>
      <dc:date>2005-05-06T00:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: open_files_limit for mysql</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538435#M842153</link>
      <description>Non-superuser process can increase soft limit by using setrlimit(2) (RLIMIT_NOFILE). It can raise the limit up to the value defined by hard limit (maxfiles_lim).&lt;BR /&gt;&lt;BR /&gt;My guess is that if you search MySQL source code, you will find instances where soft limit is increased using setrlimit(2).</description>
      <pubDate>Fri, 06 May 2005 01:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/open-files-limit-for-mysql/m-p/3538435#M842153</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-06T01:23:21Z</dc:date>
    </item>
  </channel>
</rss>

