<?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: nproc setting for a mailserver .. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597611#M33600</link>
    <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;The concept of parameters like 'nproc' is that they are a "fence" to keep a reign on a rouge process.&lt;BR /&gt;&lt;BR /&gt;I like to use the formulas provided for parameters like 'nproc'.  The idea is that other related parameters can be adjusted concommitantly by adjusting a factor common to all.  This leads to well-balanced kernel tables.&lt;BR /&gt;&lt;BR /&gt;In the case of 'nproc', I'd adjust 'maxusers' in order to inflate it.  For more information on 'nproc', see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparam.Nproc.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparam.Nproc.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 18 Oct 2001 19:14:41 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-10-18T19:14:41Z</dc:date>
    <item>
      <title>nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597610#M33599</link>
      <description>Hey everyone .&lt;BR /&gt;I have been having performance issues with a mailserver. After installing Glance I see a &lt;BR /&gt;RED ALERT  Process table is nearly full.&lt;BR /&gt;Then from doing sar -v 1 10 I get:&lt;BR /&gt;&lt;BR /&gt;15:15:34 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov&lt;BR /&gt;15:15:35   N/A   N/A 437/532   0  764/764   0  1574/4010  0&lt;BR /&gt;15:15:36   N/A   N/A 437/532   0  764/764   0  1576/4010  0&lt;BR /&gt;15:15:37   N/A   N/A 436/532   0  764/764   0  1571/4010  0&lt;BR /&gt;15:15:38   N/A   N/A 436/532   0  764/764   0  1571/4010  0&lt;BR /&gt;15:15:39   N/A   N/A 436/532   0  764/764   0  1571/4010  0&lt;BR /&gt;15:15:40   N/A   N/A 436/532   0  764/764   0  1571/4010  0&lt;BR /&gt;15:15:41   N/A   N/A 439/532   0  764/764   0  1582/4010  0&lt;BR /&gt;15:15:42   N/A   N/A 437/532   0  764/764   0  1573/4010  0&lt;BR /&gt;15:15:43   N/A   N/A 437/532   0  764/764   0  1573/4010  0&lt;BR /&gt;15:15:44   N/A   N/A 440/532   0  764/764   0  1586/4010  0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now that is at the present time but I have seen the proc-sz   get as high as 516/532.&lt;BR /&gt;What should I tun the nproc parm to? And Why?&lt;BR /&gt;I was thinking about going with 2048 hard no formula. But is that too much? Can nproc be too much?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Thu, 18 Oct 2001 19:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597610#M33599</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-18T19:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597611#M33600</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;The concept of parameters like 'nproc' is that they are a "fence" to keep a reign on a rouge process.&lt;BR /&gt;&lt;BR /&gt;I like to use the formulas provided for parameters like 'nproc'.  The idea is that other related parameters can be adjusted concommitantly by adjusting a factor common to all.  This leads to well-balanced kernel tables.&lt;BR /&gt;&lt;BR /&gt;In the case of 'nproc', I'd adjust 'maxusers' in order to inflate it.  For more information on 'nproc', see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparam.Nproc.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparam.Nproc.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 18 Oct 2001 19:14:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597611#M33600</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-18T19:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597612#M33601</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;I suppose you checked your proces list for strage processes.&lt;BR /&gt;&lt;BR /&gt;If so what ux version are you runnig. i am trying to find some documentation for you.</description>
      <pubDate>Thu, 18 Oct 2001 19:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597612#M33601</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-10-18T19:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597613#M33602</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;While I tend to use the values directly, it's probably better if you leave the formulae in place for now and adjust MAXUSERS up to an nproc value somewhere around 800 - 1000.&lt;BR /&gt;I generally shy away from inceasing a value by 4x without more data. Generally when nproc is being hit, nfile, and ncallout need to be bumped up as well (sometimes ninode too). The formulae take care of this for you.&lt;BR /&gt;&lt;BR /&gt;What this value should be depends upons many factors. Resources, how many processes you really want to pull. &lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 19:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597613#M33602</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-18T19:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597614#M33603</link>
      <description>Hi&lt;BR /&gt;Vrijhoeven I am running HPUX 11.0&lt;BR /&gt;&lt;BR /&gt;James; Clay ..&lt;BR /&gt;I see what you are saying Right now :&lt;BR /&gt;nproc                (20+8*MAXUSERS)&lt;BR /&gt;and &lt;BR /&gt;maxusers             64&lt;BR /&gt;&lt;BR /&gt;But 20+8*64 =1792 ? But&lt;BR /&gt;15:37:03 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov &lt;BR /&gt;15:37:04   N/A   N/A 477/532   0  764/764   0  1711/4010  0&lt;BR /&gt;15:37:05   N/A   N/A 477/532   0  764/764   0  1711/4010  0&lt;BR /&gt;&lt;BR /&gt;We modified nfile Friday.&lt;BR /&gt;nfile                4000&lt;BR /&gt;&lt;BR /&gt;If I up MAXusers should I set nfile back to default?&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 19:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597614#M33603</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-18T19:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597615#M33604</link>
      <description>Hi (again) Richard:&lt;BR /&gt;&lt;BR /&gt;Again, my preference is to use the formula.  In answer to your question, yes, I'd re-establish the formula for 'nfile' (see the document link I provided) and having done so, adjust 'maxusers'. &lt;BR /&gt;&lt;BR /&gt;As you can see, inflating 'maxusers' will increase both 'nproc' and 'nfile'.  Moreover, 'nproc' as increased by 'maxusers' will also boost 'nfile'.  Play around on paper and/or a calculator and pick a number for 'maxusers' that achieves a higher water mark than your 'sar' data says you need.&lt;BR /&gt;&lt;BR /&gt;The kernel parameter document (at large) offers some good insights into the interrelationships of the aforementioned parameters.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 18 Oct 2001 20:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597615#M33604</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-18T20:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597616#M33605</link>
      <description>Whoa Richard, you are thinking like a human and not like a parser 20 + 8 * 64 &amp;lt;&amp;gt; 1792 but&lt;BR /&gt;rather = 532.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Thu, 18 Oct 2001 20:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597616#M33605</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-18T20:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597617#M33606</link>
      <description>When doing the math on that one think of it as:&lt;BR /&gt;&lt;BR /&gt;20 + (8 * MAXUSERS) = &lt;BR /&gt;20 + (8 * 64) = 20 + 512 = 532&lt;BR /&gt;&lt;BR /&gt;You were thinking it was:&lt;BR /&gt;&lt;BR /&gt;(20 + 8) * MASUXERS = &lt;BR /&gt;(20 + 8) * 64 = 28 * 64 =1792</description>
      <pubDate>Thu, 18 Oct 2001 20:42:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597617#M33606</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-10-18T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597618#M33607</link>
      <description>If I recall your previous messages, your system is mainly used for sendmail. Correct me if I am wrong. The formula of nproc is based on the old way of using the unix system where the processes are alloted depending on the number of USERS that use the system. I usually don't go with this formula anymore. However there is no harm in using the formula anyway. &lt;BR /&gt;&lt;BR /&gt;*I liked Clay's latest comment*&lt;BR /&gt;&lt;BR /&gt;To set the value, it is important to take the trend into account. If you have measureware datacollected, you can plot a graph for time vs nproc and see how it is growing. Depending on it you can extrapolate and set the value.&lt;BR /&gt;&lt;BR /&gt;Use 20+(X*MAXUSERS)&lt;BR /&gt;&lt;BR /&gt;I would suggest to keep the MAXUSERS constant and change X. You don't hit threshold on MAXUSERS at all. So, you may not want to unnecessarily increase a kernel table.&lt;BR /&gt;&lt;BR /&gt;Only my opinion.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 21:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597618#M33607</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-18T21:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597619#M33608</link>
      <description>Hey everyone .. &lt;BR /&gt;Ok I did my changes last night in my maint window. I put the default back for nfile. And put maxusers at 256. Now&lt;BR /&gt;# sar -v 1 10&lt;BR /&gt;&lt;BR /&gt;HP-UX lvapp13 B.11.00 A 9000/800    10/19/01&lt;BR /&gt;&lt;BR /&gt;11:00:31 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov &lt;BR /&gt;11:00:32   N/A   N/A 457/2068  0  1502/2492  0  1775/4146  0&lt;BR /&gt;11:00:33   N/A   N/A 459/2068  0  1503/2492  0  1785/4146  0&lt;BR /&gt;11:00:34   N/A   N/A 460/2068  0  1504/2492  0  1785/4146  0&lt;BR /&gt;11:00:35   N/A   N/A 458/2068  0  1504/2492  0  1783/4146  0&lt;BR /&gt;11:00:36   N/A   N/A 458/2068  0  1507/2492  0  1782/4146  0&lt;BR /&gt;11:00:37   N/A   N/A 460/2068  0  1506/2492  0  1790/4146  0&lt;BR /&gt;11:00:38   N/A   N/A 456/2068  0  1498/2492  0  1771/4146  0&lt;BR /&gt;11:00:39   N/A   N/A 464/2068  0  1575/2492  0  1793/4146  0&lt;BR /&gt;11:00:40   N/A   N/A 465/2068  0  1576/2492  0  1795/4146  0&lt;BR /&gt;11:00:41   N/A   N/A 466/2068  0  1577/2492  0  1800/4146  0&lt;BR /&gt;&lt;BR /&gt;I have also attached a shot of what glance was telling before and after. Thanks for all your help .. And James I owe you 5 points =)&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Fri, 19 Oct 2001 14:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597619#M33608</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-19T14:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597620#M33609</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;Looks to me like you solved your problem.  It also appears that the default formula works rather well in this case.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Oct 2001 15:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597620#M33609</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-19T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597621#M33610</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;Just to re-stress. I do not like to increase&lt;BR /&gt;MAXUSERS value as it is going to affect other&lt;BR /&gt;parameters like nfile, ninode etc., So, if you &lt;BR /&gt;are having problems with nproc, you may only want to increase only nproc as increasing other kernel parameters (indirectly) may cause unnecessary table scans by kernel. Particularly ninode. We want this value to be as low as possible on the systems where the file systems are vxfs except for /stand. We don't want a high value for this parameter. But increasing MAXUSERS will affect this parameters too.&lt;BR /&gt;&lt;BR /&gt;So, I would still suggest to change X in the above formula.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 19 Oct 2001 15:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597621#M33610</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-19T15:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: nproc setting for a mailserver ..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597622#M33611</link>
      <description>Hi Richard,&lt;BR /&gt;&lt;BR /&gt;Thanks for posting your question.  The posts are quite interesting - yet another proof that this forum is a great place to learn.&lt;BR /&gt;&lt;BR /&gt;I've just noticed, in your attached output from glance, that the process mib2agt on your system may have a memory leak.  There have been several posts about this problem.  You can search the forum for "mib2agt memory leak" to see a few.  In any case, if you observe that RSS value for mib2agt is increasing, the patch PHSS_23670 should fix this.&lt;BR /&gt;&lt;BR /&gt;Regards ...  Mladen</description>
      <pubDate>Mon, 22 Oct 2001 03:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nproc-setting-for-a-mailserver/m-p/2597622#M33611</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-10-22T03:27:51Z</dc:date>
    </item>
  </channel>
</rss>

