<?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: problem increasing nfile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999043#M296945</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Bill Hassell counsel's to remove formulas from the kernel in HP-UX. I follow this philosophy. There are some rules you can't break, but formulas are not realistic and can cause frustration.&lt;BR /&gt;&lt;BR /&gt;Take them out using sam and set values you want or need.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 14 May 2007 05:49:35 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-05-14T05:49:35Z</dc:date>
    <item>
      <title>problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999042#M296944</link>
      <description>Hi,&lt;BR /&gt;since serveral times already we don't use the formula anymore (nfile=etc etc) (because with 100 (standard=16) x  ( )it made too many characters to complete the formula) now we just put the wanted number (ie 200000)&lt;BR /&gt;this time we got an error: nproc &amp;lt; =4 ....&lt;BR /&gt;how can I increase my nfile from 140 000 to 200000 (150 000 was not accepted either, and even 140 000 was fount uncorrect, so it seemed)&lt;BR /&gt;&lt;BR /&gt;some values: 1000 users, progress databases with togeteher ca 52 extends, 1 user+some system use=132 open files. on a busy day 126 000 open files. &lt;BR /&gt;ptys 2048 (since a month,before it was 1024, files made after latest nfile change)should 1 have changed it in the kernetl too? I experienced a year ago that even if the kernel says 1024, the workeable standard is only 60 ptys (you have to create the files yourself) &lt;BR /&gt;i read already some about nfile en nproc but still don't found the answer i wanted/understood</description>
      <pubDate>Mon, 14 May 2007 05:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999042#M296944</guid>
      <dc:creator>Arjen Verhulst</dc:creator>
      <dc:date>2007-05-14T05:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999043#M296945</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Bill Hassell counsel's to remove formulas from the kernel in HP-UX. I follow this philosophy. There are some rules you can't break, but formulas are not realistic and can cause frustration.&lt;BR /&gt;&lt;BR /&gt;Take them out using sam and set values you want or need.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 14 May 2007 05:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999043#M296945</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-14T05:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999044#M296946</link>
      <description>&amp;gt; how can I increase my nfile from 140 000 to 200000 (150 000 was not accepted either, and even 140 000 was fount uncorrect, so it seemed)&lt;BR /&gt; &lt;BR /&gt;You can set nfile to any value (millions). As Steven mentioned, the formula is worthless for most situations. If you need 250000 then replace the formula with that number. Remember that large numbers in sam have no spaces or commas in the number.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; ... only 60 ptys (you have to create the files yourself)&lt;BR /&gt; &lt;BR /&gt;Always change npty, nstrpty and nstrtel at the same time to the same value. If you need 2000 users to login, change all 3 parameters to 2500. When you use sam, the necessary device files are created automatically for you.</description>
      <pubDate>Mon, 14 May 2007 06:49:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999044#M296946</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-05-14T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999045#M296947</link>
      <description>Hi Bill Hassell,&lt;BR /&gt;you wrote: Always change npty, nstrpty and nstrtel at the same time to the same value&lt;BR /&gt;on my server npty=2048, nstrpty=1024 end nstrtel=2048&lt;BR /&gt;is this a problem? it was like that before  when nfile had a value 140 000&lt;BR /&gt;&lt;BR /&gt;the error while increasing 140 000 to 200000 was more exactly (i rembered when browsing the kernel parameters)&lt;BR /&gt;semmnu &amp;lt; =nproc-4&lt;BR /&gt;&lt;BR /&gt;i found that nproc-4 is the maximum for nproc&lt;BR /&gt;&lt;BR /&gt;our values:&lt;BR /&gt;nproc=8020&lt;BR /&gt;npty=2048&lt;BR /&gt;nstrpty=1024&lt;BR /&gt;semmnu=12288&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 May 2007 09:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999045#M296947</guid>
      <dc:creator>Arjen Verhulst</dc:creator>
      <dc:date>2007-05-14T09:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999046#M296948</link>
      <description>Hi, &lt;BR /&gt;still haven't got a response for about a week. no brilliant ideas?</description>
      <pubDate>Thu, 24 May 2007 04:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999046#M296948</guid>
      <dc:creator>Arjen Verhulst</dc:creator>
      <dc:date>2007-05-24T04:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999047#M296949</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I suspect you still have a formula in your system that uses nproc or an nproc derived value that now exceeds some bounds for it.&lt;BR /&gt;&lt;BR /&gt;Likely suspects are (together with their max limits - 11.23):&lt;BR /&gt;&lt;BR /&gt;maxuprc         &lt;BR /&gt;msgseg          =&amp;lt; 32767&lt;BR /&gt;msgtql          &lt;BR /&gt;nfile           &amp;lt;= 2147483647&lt;BR /&gt;nflocks         &amp;lt;= 16777216&lt;BR /&gt;ninode          &amp;lt;= 30000&lt;BR /&gt;nkthread &amp;lt;= 4194304&lt;BR /&gt;nproc           &amp;lt;= 30000&lt;BR /&gt;nstrtel         &lt;BR /&gt;semmni          &amp;lt;= 32767&lt;BR /&gt;semmns          &amp;lt;= 335534080&lt;BR /&gt;semmnu          &lt;BR /&gt;&lt;BR /&gt;If you unsure where the formula might be, also look at the file /stand/system - don't edit the file!&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Andrew Y</description>
      <pubDate>Thu, 24 May 2007 05:24:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999047#M296949</guid>
      <dc:creator>Andrew Young_2</dc:creator>
      <dc:date>2007-05-24T05:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem increasing nfile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999048#M296950</link>
      <description>&amp;gt; you wrote: Always change npty, nstrpty and nstrtel at the same time to the same value&lt;BR /&gt;on my server npty=2048, nstrpty=1024 end nstrtel=2048&lt;BR /&gt;is this a problem? it was like that before when nfile had a value 140 000&lt;BR /&gt; &lt;BR /&gt;No, the 3 values refer to the number of interactive network logins. The values can be different but it is simpler to make them all the same. The reason is that HP-UX has been changing the underlying pty handling code to streams-based, so it depends heavily on which version you are running. Make them all the same and then you don't have to research your version of HP-UX. The pty values have not relationship to nproc other than if more people login then you'll need more processes (nproc).&lt;BR /&gt; &lt;BR /&gt;&amp;gt; the error while increasing 140 000 to 200000 was more exactly (i rembered when browsing the kernel parameters)&lt;BR /&gt;semmnu &amp;lt; =nproc-4&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; i found that nproc-4 is the maximum for nproc&lt;BR /&gt; &lt;BR /&gt;The comment isn't clear.  As mentioned, using the formulas is not helpful. Semaphore count simply depends on processes that need to use semaphores.</description>
      <pubDate>Sat, 26 May 2007 11:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-increasing-nfile/m-p/3999048#M296950</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-05-26T11:48:06Z</dc:date>
    </item>
  </channel>
</rss>

