<?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: maxuprc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871044#M398722</link>
    <description>When you have a problem do a ps -ef | grep &lt;USERNAME&gt; | wc -l&lt;BR /&gt;&lt;BR /&gt;This number will be your maxuprc or one or two higher than your setting. I don't know why you can exceed it, but don't worry about that.&lt;BR /&gt;&lt;BR /&gt;IF this is the case bump up maxuprc&lt;BR /&gt;&lt;BR /&gt;This is the maximum number of processes allowed for any single user. Large applications with lots of sessions sometimes force us to raise this from the default which is 75 for HP-UX 11i v1.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need help modifying the kernel parameter.&lt;BR /&gt;&lt;BR /&gt;This will require a system boot to implement.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/USERNAME&gt;</description>
    <pubDate>Wed, 17 Nov 2004 11:16:31 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-11-17T11:16:31Z</dc:date>
    <item>
      <title>maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871043#M398721</link>
      <description>Two quick questions concerning maxuprc.&lt;BR /&gt;&lt;BR /&gt;What is the best way to determine if I am bumping up against this limit?  The user processes are receiving the "No more processes" and Fork errors, but I would sleep easier if I could verify that maxuprc is the problem.&lt;BR /&gt;&lt;BR /&gt;If it is the problem, what are the possible problems with changing maxuprc from 75 to 150?  The value of nproc is 12020 and "sar -v" shows only 1200 or so processes.</description>
      <pubDate>Wed, 17 Nov 2004 11:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871043#M398721</guid>
      <dc:creator>Charlie Rubeor</dc:creator>
      <dc:date>2004-11-17T11:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871044#M398722</link>
      <description>When you have a problem do a ps -ef | grep &lt;USERNAME&gt; | wc -l&lt;BR /&gt;&lt;BR /&gt;This number will be your maxuprc or one or two higher than your setting. I don't know why you can exceed it, but don't worry about that.&lt;BR /&gt;&lt;BR /&gt;IF this is the case bump up maxuprc&lt;BR /&gt;&lt;BR /&gt;This is the maximum number of processes allowed for any single user. Large applications with lots of sessions sometimes force us to raise this from the default which is 75 for HP-UX 11i v1.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need help modifying the kernel parameter.&lt;BR /&gt;&lt;BR /&gt;This will require a system boot to implement.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/USERNAME&gt;</description>
      <pubDate>Wed, 17 Nov 2004 11:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871044#M398722</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-17T11:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871045#M398723</link>
      <description>You can tell if you're bumping up against nproc by checking Glance's System Tables Report.  If nproc is not an issue, then it's got to be maxuprc.&lt;BR /&gt;&lt;BR /&gt;Raising maxuproc will have minimal impact on your system - you probably won't notice anything other than happier users.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Nov 2004 11:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871045#M398723</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-11-17T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871046#M398724</link>
      <description>Charlie,&lt;BR /&gt;&lt;BR /&gt;What a coincidence you raise this about the kernel parameter maxuprc, I was just about to post an thread asking exactly the same question!&lt;BR /&gt;&lt;BR /&gt;Just an additional items to your question, I need to potentially increase maxuprc to 500, will this have any other impact on the OS ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help on this.</description>
      <pubDate>Wed, 17 Nov 2004 11:24:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871046#M398724</guid>
      <dc:creator>Robert Dukes</dc:creator>
      <dc:date>2004-11-17T11:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871047#M398725</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Even a value of 500 will be virtually un-noticeable.  It just takes a bit more memory to hold the additional table space in the kernel.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Nov 2004 11:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871047#M398725</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-11-17T11:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871048#M398726</link>
      <description>Increasing to 500 should not hurt your system.  Ours is at 4395 because we run so many oracle instances.</description>
      <pubDate>Wed, 17 Nov 2004 11:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871048#M398726</guid>
      <dc:creator>Kim_18</dc:creator>
      <dc:date>2004-11-17T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871049#M398727</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;maxuprc or nproc are the problem&lt;BR /&gt;&lt;BR /&gt;If you have single usernames like oracle using a lot of processes then maxuprc&lt;BR /&gt;&lt;BR /&gt;If you have a lot of users using a few processes then nproc&lt;BR /&gt;&lt;BR /&gt;run this&lt;BR /&gt;&lt;BR /&gt;ps -ef &amp;gt; /tmp/countproc&lt;BR /&gt;/usr/sbin/kmtune -q nproc&lt;BR /&gt;/usr/sbin/kmtune -q maxuprc&lt;BR /&gt;echo Total processes $(cat /tmp/countproc|tail -n +2|wc -l)&lt;BR /&gt;for usrs in $(who|cut -f1 -d" "|sort -u)&lt;BR /&gt;do&lt;BR /&gt;echo $usrs"| processes "$(grep -c $usrs /tmp/countproc)&lt;BR /&gt;done&lt;BR /&gt;/bin/rm /tmp/countproc&lt;BR /&gt;&lt;BR /&gt;                 Steve Steel</description>
      <pubDate>Wed, 17 Nov 2004 11:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871049#M398727</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-17T11:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871050#M398728</link>
      <description>maxuprc has no impact on the kernel since it is a limit, not a table size. You can change it to ten thousand if you want. It's purpose is to prevent experimental (a nice word for bad code) programs and scripts from starting thousands of processes and filling up the process table (nproc) so that even root cannot login.&lt;BR /&gt; &lt;BR /&gt;NOTE: maxuprc applies to each user no matter how many times they login. If maxuprc is 30 and one user decides to login a dozen times with an average of 3 processes per login, then the 12th login will fail because this user already owns 30 processes. But don';t forget that Oracle, java or other specialized applications run under a single user so maxuprc may need to be 500 or even 2000 depending on how many porcesses are running at the same time owned by a single user. For a given user (that is having a problem), just run ps -u as in:&lt;BR /&gt; &lt;BR /&gt;ps -u user123&lt;BR /&gt; &lt;BR /&gt;and you'll see all the processes for that user. To see the hierarchy of who started who:&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -Hfu user12</description>
      <pubDate>Wed, 17 Nov 2004 11:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871050#M398728</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-17T11:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871051#M398729</link>
      <description>Does changing maxuprc require a kernel rebuild?  I know that changing nproc (via maxusers) requires a reboot, but I thought that maxuprc did not.&lt;BR /&gt;&lt;BR /&gt;I was using ps -u &lt;USERID&gt; | wc -l to monitor the number of processes per user.  If a user logins multiple times, do they get multiple maxuprcs?&lt;/USERID&gt;</description>
      <pubDate>Wed, 17 Nov 2004 11:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871051#M398729</guid>
      <dc:creator>Charlie Rubeor</dc:creator>
      <dc:date>2004-11-17T11:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871052#M398730</link>
      <description>Bill&lt;BR /&gt;&lt;BR /&gt;That's impressive, answering the questions before I posted them!&lt;BR /&gt;&lt;BR /&gt;Many thanks.</description>
      <pubDate>Wed, 17 Nov 2004 12:00:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871052#M398730</guid>
      <dc:creator>Charlie Rubeor</dc:creator>
      <dc:date>2004-11-17T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871053#M398731</link>
      <description>I changed maxuprc from 75 to 200, with no negative impact on current users.</description>
      <pubDate>Wed, 17 Nov 2004 12:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxuprc/m-p/4871053#M398731</guid>
      <dc:creator>Charlie Rubeor</dc:creator>
      <dc:date>2004-11-17T12:05:04Z</dc:date>
    </item>
  </channel>
</rss>

