<?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: Extremely High System Memory Usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145403#M156331</link>
    <description>Normally, system memory is consumed by the kernel so a large amount of kernel RAM is usually due to kernel parameters that size tables much too large. An exaple might be nfile and nproc. Did someone set them to hundreds of thousands? Same with ninode. The asiest way to see if common parameters are too large is the kernel is to run Glance and type "t" which shows the system tables. Parameters that are less than 5% utilized on a busy system are far too high. NOTE: If you have VERY small RAM such as 512 megs or less, then high system usage (as a percentage of RAM) is normal but a massive performance hit.&lt;BR /&gt; &lt;BR /&gt;Glance will show the buffer cache as B....B and this is by default far too high (dbc_max_pct=50). Set the percentage to the equivalent of 300-500 megs (and reduce dbc_max_pct if needed down to about 2%).&lt;BR /&gt; &lt;BR /&gt;You can also look in dmesg to see if the initial values from the last bootup are still there. Of interest will be the amount of unlockable memory. This is memory used by the kernel before any applications are started. If this is in the hundreds of megs, then kernel paramters are definitely a suspect. How much RAM do you have?</description>
    <pubDate>Mon, 15 Dec 2003 20:11:45 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-12-15T20:11:45Z</dc:date>
    <item>
      <title>Extremely High System Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145401#M156329</link>
      <description>We are experiencing extremely high system memory usage in our 11.11 environment.  Glance and GPM reports anywhere from 40-75% of our memory is being consumed by the system.  The servers are being used primarily as application servers running Apache and Java.  When these processes are shut down we see a noticable decrease in user memory but system memory remains high.&lt;BR /&gt;&lt;BR /&gt;Is there any way to determine what is consuming massive amounts of system memory?  Are there any know patches which address high system memory usage on 11.11?</description>
      <pubDate>Mon, 15 Dec 2003 19:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145401#M156329</guid>
      <dc:creator>Tim Walsh</dc:creator>
      <dc:date>2003-12-15T19:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extremely High System Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145402#M156330</link>
      <description>There are a number of patches that contain fixes to memory related problems. Start here and do a search for "memory leak"&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/patch/search.do" target="_blank"&gt;http://www2.itrc.hp.com/service/patch/search.do&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, how much buffer cache is set for your system?</description>
      <pubDate>Mon, 15 Dec 2003 19:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145402#M156330</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-12-15T19:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extremely High System Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145403#M156331</link>
      <description>Normally, system memory is consumed by the kernel so a large amount of kernel RAM is usually due to kernel parameters that size tables much too large. An exaple might be nfile and nproc. Did someone set them to hundreds of thousands? Same with ninode. The asiest way to see if common parameters are too large is the kernel is to run Glance and type "t" which shows the system tables. Parameters that are less than 5% utilized on a busy system are far too high. NOTE: If you have VERY small RAM such as 512 megs or less, then high system usage (as a percentage of RAM) is normal but a massive performance hit.&lt;BR /&gt; &lt;BR /&gt;Glance will show the buffer cache as B....B and this is by default far too high (dbc_max_pct=50). Set the percentage to the equivalent of 300-500 megs (and reduce dbc_max_pct if needed down to about 2%).&lt;BR /&gt; &lt;BR /&gt;You can also look in dmesg to see if the initial values from the last bootup are still there. Of interest will be the amount of unlockable memory. This is memory used by the kernel before any applications are started. If this is in the hundreds of megs, then kernel paramters are definitely a suspect. How much RAM do you have?</description>
      <pubDate>Mon, 15 Dec 2003 20:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145403#M156331</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-15T20:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extremely High System Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145404#M156332</link>
      <description>Bill and Michael,&lt;BR /&gt;&lt;BR /&gt;Thanks for your responses.  The buffer cache seems to be appropriately sized (maybe just a touch large).  We have 11GB of physical RAM on the box.  The information you have both requested is below.  It doesn't seem that the buffer cache is the big consumer of memory.  Would you suggest reducing it further or pursuing other parameters such as nfile and nproc?  I will also search the patch archive to see if any relative patches jump out at us.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;Parameter        Current Dyn Planned&lt;BR /&gt;===============================================================================&lt;BR /&gt;dbc_max_pct            5  -  5&lt;BR /&gt;nfile              18000  -  18000&lt;BR /&gt;nproc               7220  -  (20+8*MAXUSERS)&lt;BR /&gt;&lt;BR /&gt;System Table                 Available        Used      Utilization      High(%)&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;Proc Table (nproc)               7220          176            2            2&lt;BR /&gt;File Table (nfile)              18010         4255           24           24&lt;BR /&gt;Shared Mem Table (shmmni)         200            9            5            5&lt;BR /&gt;Message Table (msgmni)             50            2            4            4&lt;BR /&gt;Semaphore Table (semmni)          100           26           26           26&lt;BR /&gt;File Locks (nflocks)             2000           62            3            3&lt;BR /&gt;Pseudo Terminals (npty)            60            0            0            0&lt;BR /&gt;Buffer Headers (nbuf)              na       124440           na           na&lt;BR /&gt;&lt;BR /&gt;Total VM :  6.59gb   Sys Mem  :  4.08gb   User Mem:  4.24gb   Phys Mem:  11.0gb&lt;BR /&gt;Active VM:  5.90gb   Buf Cache: 514.1mb   Free Mem:  2.18gb         Page 1 of 1&lt;BR /&gt;&lt;BR /&gt;dmesg reports several entries such as:&lt;BR /&gt;sysmap_64bit: rmap ovflo, lost [1365099,1365100)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Dec 2003 21:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145404#M156332</guid>
      <dc:creator>Tim Walsh</dc:creator>
      <dc:date>2003-12-15T21:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extremely High System Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145405#M156333</link>
      <description>Hi Tim&lt;BR /&gt;&lt;BR /&gt;No I wouldn't suggest reducing buffer cache. A 500MB buffer cache on 11i is perfectly normal, especially with 11GB of memory.  In any case the system memory reported by glance is independant of buffer cache, so reducing cache will have no impact on system memory.&lt;BR /&gt;&lt;BR /&gt;Your figure of +4GB for system memory does appear extremely high.  &lt;BR /&gt;The 'nproc' &amp;amp; 'nfile' parameters look OK. From the figures you've given they are probably a little too high but I don't think reducing them will have a significant affect on system memory utilisation.&lt;BR /&gt;&lt;BR /&gt;The errors in dmesg could indicate a memory leak. See doc ID KBRC00000293&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=KBRC00000293&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=29&amp;amp;search.y=9" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=KBRC00000293&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=29&amp;amp;search.y=9&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As Michael said it could be a memory leak causing your problem.  Can you check if system memory gradually increases over time? What is the system memory utilisation at system boot?&lt;BR /&gt;I'd also check the values of the ninode &amp;amp; vx_ninode kernel parameters as extremely large values can utilise alot of system memory.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Mon, 15 Dec 2003 23:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/extremely-high-system-memory-usage/m-p/3145405#M156333</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-12-15T23:54:27Z</dc:date>
    </item>
  </channel>
</rss>

