<?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: kernel parameter effective_maxpid in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551430#M225022</link>
    <description>First, never change a value in a sys/ header file unless you really know what you are doing. That is an excellent way to create an unbootable or unstable machine.&lt;BR /&gt;&lt;BR /&gt;What is the value of nproc? &lt;BR /&gt;&lt;BR /&gt;Consider the case of a machine that had a very large nproc. 30000 could be less than nproc so that no pid's might be available.&lt;BR /&gt;&lt;BR /&gt;If you don't fall into this category, simply replace the formula with a hard-coded value of 30000 and build a new kernel.</description>
    <pubDate>Wed, 25 May 2005 10:24:14 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-05-25T10:24:14Z</dc:date>
    <item>
      <title>kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551427#M225019</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can i limit PID number? I have a rp3440 + 11i (HP-UX 11.11)? There is a define MAXPID on /usr/include/sys/param.h which limit Maximmum PID in 8 millions, but there is another kernel parameter which does it too!! &lt;BR /&gt;How can it works? &lt;BR /&gt;&lt;BR /&gt;** HP-UX 11.00 this limit is 30.000!!&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;&lt;BR /&gt;STH</description>
      <pubDate>Wed, 25 May 2005 09:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551427#M225019</guid>
      <dc:creator>Simone Teles da Hora_5</dc:creator>
      <dc:date>2005-05-25T09:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551428#M225020</link>
      <description>Use kmtune to limit the number. Its a formula by default in the OS install, but you can change it.&lt;BR /&gt;&lt;BR /&gt;kmtune -s effective_maxpid=&lt;WHATEVER number="" you="" want=""&gt;&lt;BR /&gt;&lt;BR /&gt;Process for manually building and installing a kernel:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105739" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105739&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sam kernel, configurable parameters will also do this btw.&lt;BR /&gt;&lt;BR /&gt;Frankly I am wondering about that header file.&lt;BR /&gt;&lt;BR /&gt;Maybe you should change it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/WHATEVER&gt;</description>
      <pubDate>Wed, 25 May 2005 09:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551428#M225020</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-25T09:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551429#M225021</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;IÂ´m not complete sure, but I see process with PID great than 30.000, and my kernel parameter configurated as 30.000, look at this:&lt;BR /&gt;&lt;BR /&gt;[root@fenix shora]# kmtune -q effective_maxpid&lt;BR /&gt;Parameter             Current Dyn Planned                    Module     Version&lt;BR /&gt;===============================================================================&lt;BR /&gt;effective_maxpid            -  -  ((NPROC&amp;lt;=30000)?30000:(NPROC*5/4))&lt;BR /&gt;&lt;BR /&gt;How can it be possible?&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;ST</description>
      <pubDate>Wed, 25 May 2005 10:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551429#M225021</guid>
      <dc:creator>Simone Teles da Hora_5</dc:creator>
      <dc:date>2005-05-25T10:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551430#M225022</link>
      <description>First, never change a value in a sys/ header file unless you really know what you are doing. That is an excellent way to create an unbootable or unstable machine.&lt;BR /&gt;&lt;BR /&gt;What is the value of nproc? &lt;BR /&gt;&lt;BR /&gt;Consider the case of a machine that had a very large nproc. 30000 could be less than nproc so that no pid's might be available.&lt;BR /&gt;&lt;BR /&gt;If you don't fall into this category, simply replace the formula with a hard-coded value of 30000 and build a new kernel.</description>
      <pubDate>Wed, 25 May 2005 10:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551430#M225022</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-25T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551431#M225023</link>
      <description>Clay,&lt;BR /&gt;&lt;BR /&gt;nproc = 2.500 and effective_maxpid = 30.000.&lt;BR /&gt;&lt;BR /&gt;But i can see process with PID great than 30.000. how can it be possible? &lt;BR /&gt;&lt;BR /&gt;[]Â´s&lt;BR /&gt;&lt;BR /&gt;S</description>
      <pubDate>Wed, 25 May 2005 10:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551431#M225023</guid>
      <dc:creator>Simone Teles da Hora_5</dc:creator>
      <dc:date>2005-05-25T10:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551432#M225024</link>
      <description>Okay, it's time to ask the kernel itself what the tunable is set to:&lt;BR /&gt;&lt;BR /&gt;echo "effective_maxpid/D" | adb /stand/vmunix /dev/kmem&lt;BR /&gt;</description>
      <pubDate>Wed, 25 May 2005 10:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551432#M225024</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-05-25T10:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551433#M225025</link>
      <description>Simone -- &lt;BR /&gt;&lt;BR /&gt;This formula:&lt;BR /&gt;&lt;BR /&gt;((NPROC&amp;lt;=30000)?30000:(NPROC*5/4))&lt;BR /&gt;&lt;BR /&gt;means that if the NPROC is &amp;lt;= 30000 then make it 30000.&lt;BR /&gt;&lt;BR /&gt;If we fail the test of (NPROC&amp;lt;=30000), i.e. NPROC is &amp;gt; 30000, then the value is set to NPROC * 1.25.&lt;BR /&gt;&lt;BR /&gt;So you would have to change the formula or assign a value to effective_maxpid.&lt;BR /&gt;&lt;BR /&gt;This doesnt mean that its a good idea to do so.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;</description>
      <pubDate>Wed, 25 May 2005 11:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551433#M225025</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-05-25T11:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: kernel parameter effective_maxpid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551434#M225026</link>
      <description>echo "effective_maxpid/D" | adb /stand/vmunix /dev/kmem&lt;BR /&gt;effective_maxpid:&lt;BR /&gt;effective_maxpid:               30000&lt;BR /&gt;</description>
      <pubDate>Wed, 25 May 2005 12:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter-effective-maxpid/m-p/3551434#M225026</guid>
      <dc:creator>Simone Teles da Hora_5</dc:creator>
      <dc:date>2005-05-25T12:23:11Z</dc:date>
    </item>
  </channel>
</rss>

