<?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: Very high system memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919607#M407552</link>
    <description>Hi Manoj , &lt;BR /&gt;&lt;BR /&gt;check this command , &lt;BR /&gt;&lt;BR /&gt;# ps -el | sort -r -k10 | head -20 &lt;BR /&gt;&lt;BR /&gt;It will list the top 20 processes using high memory page in the SZ filed , ie column 10. And hope you can find out something.&lt;BR /&gt;&lt;BR /&gt;Many Thanks ,&lt;BR /&gt;&lt;BR /&gt;Raj.D.&lt;BR /&gt;-----</description>
    <pubDate>Sat, 20 Aug 2005 12:56:56 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2005-08-20T12:56:56Z</dc:date>
    <item>
      <title>Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919599#M407544</link>
      <description>Hi Guys ,&lt;BR /&gt;I am getting very high utilisation for system memory of my Superdome Server. It's consuming 4GB out of 16 GB. Please help me to trace this problem. &lt;BR /&gt;OS version is HP-UX 11.11&lt;BR /&gt;Please help in analysing the output of "crl -v" to take the remedy to reduce memory usage.&lt;BR /&gt; &lt;BR /&gt;=======================&lt;BR /&gt;= Kernel Memory Usage =&lt;BR /&gt;=======================&lt;BR /&gt;Buffer cache pages = 293314 (1.12 GB)&lt;BR /&gt;Total kernel dynamic memory pages = 878823(3.35 GB)&lt;BR /&gt;Kernel memory in super page pool = 40159 (156.87 MB)&lt;BR /&gt;&lt;BR /&gt;Top 10 kernel memory arenas&lt;BR /&gt;===========================&lt;BR /&gt;Arena             Pages&lt;BR /&gt;-----             -----&lt;BR /&gt;M_TEMP            619189  (2.36 GB)&lt;BR /&gt;M_SPINLOCK        43319   (169.21 MB)&lt;BR /&gt;VFD_BT_NODE       26632   (104.03 MB)&lt;BR /&gt;M_NFS_GEN         25137   (98.19 MB)&lt;BR /&gt;ALLOCB_MBLK_LM    21931   (85.67 MB)&lt;BR /&gt;M_LVM             7012    (27.39 MB)&lt;BR /&gt;KMEM_ALLOC        6636    (25.92 MB)&lt;BR /&gt;M_SWAP            4320    (16.88 MB)&lt;BR /&gt;ALLOCB_MBLK_SM    3567    (13.93 MB)&lt;BR /&gt;M_REG             3313    (12.94 MB)&lt;BR /&gt;&lt;BR /&gt;Total all arenas  785810  (3.00 GB)&lt;BR /&gt;=====================&lt;BR /&gt;= User Memory Usage =&lt;BR /&gt;=====================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Manoj  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Aug 2005 14:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919599#M407544</guid>
      <dc:creator>manoj_pu</dc:creator>
      <dc:date>2005-08-19T14:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919600#M407545</link>
      <description>Looks like DBC_MAX_PCT is set to high...&lt;BR /&gt;&lt;BR /&gt; kmtune -q dbc_max_pct&lt;BR /&gt;&lt;BR /&gt;Should be around 7 for your system...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 19 Aug 2005 14:31:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919600#M407545</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-19T14:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919601#M407546</link>
      <description>glance -m&lt;BR /&gt;swpainfo -mat</description>
      <pubDate>Fri, 19 Aug 2005 14:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919601#M407546</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-19T14:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919602#M407547</link>
      <description>4Gb out of 16Gb doesn't mean much without context. If you aren't low on memory, the kernel is very relaxed about releasing allocations to allow for bursty workloads. Specifically, if vhand isn't running yet and you aren't low on kernel virtual address space (which you shouldn't be with only 3Gb out of 16Gb used for kernel dynamic), the arenas are not going to be garbage collected. So if you generated a large network load (or some other client of M_TEMP) that memory will tend to sit there until you drive available memory down to lotsfree.&lt;BR /&gt;&lt;BR /&gt;Other possibilities are that vhand is getting preempted too much, a leak in a client of M_TEMP (so the memory isn't freed back to the Arena), etc.&lt;BR /&gt;&lt;BR /&gt;What's the system free memory? Is it above lotsfree? If it isn't -- what problem are you experiencing regarding the system usage? (If the memory is just sitting there anyway -- what's the issue with the kernel holding onto it until users request more?)</description>
      <pubDate>Fri, 19 Aug 2005 15:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919602#M407547</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2005-08-19T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919603#M407548</link>
      <description>Hi Don,&lt;BR /&gt;&lt;BR /&gt;Presently there is no problem in the system.&lt;BR /&gt;Normally the kernel memory usage vary between 1.5GB to 1.8GB in the system.&lt;BR /&gt;&lt;BR /&gt;Few days back there was a problem with application test (Bad coding). Application process occupied rest of the physical memory aswell as swap.&lt;BR /&gt;&lt;BR /&gt;After that system started showing kernel memory uaseg as 4GB.&lt;BR /&gt;&lt;BR /&gt;I am not sure that I am asking the right question.&lt;BR /&gt;Is it possible to reduce M_TEMP kernel memory usage?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Manoj&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Aug 2005 06:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919603#M407548</guid>
      <dc:creator>manoj_pu</dc:creator>
      <dc:date>2005-08-20T06:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919604#M407549</link>
      <description>Hi Unni, &lt;BR /&gt;&lt;BR /&gt;If you know that the application has caused this, then it is a good Idea to start digging the issue from there.&lt;BR /&gt;&lt;BR /&gt;What has changed on the system since that "bad coding"?&lt;BR /&gt;&lt;BR /&gt;Did the number of users increase? Are there batch programs running which takes memory?&lt;BR /&gt;&lt;BR /&gt;Is the memory utilisation always 3 GB or does it go up/ come down frequently.&lt;BR /&gt;&lt;BR /&gt;Often performance issues are difficult to pinpoint without studying the system a lot. Is there any user complaint about the performance.&lt;BR /&gt;&lt;BR /&gt;If you are just concerned by the amount of memory usage, you need to check the sizing done initially and compare it.&lt;BR /&gt;&lt;BR /&gt;With regards,&lt;BR /&gt;Mohan.&lt;BR /&gt;&lt;BR /&gt;P.S. I am just assuming you are Manoj.p. Unni at Mumbai.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Aug 2005 06:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919604#M407549</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2005-08-20T06:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919605#M407550</link>
      <description>Hi Mohan,&lt;BR /&gt;&lt;BR /&gt;There is no change in the system before we faced the application problem.&lt;BR /&gt;&lt;BR /&gt;When we do application test, it runs couple of batch jobs simultaneously and those batch jobs require lots of physical memory and also it reserve huge virtual memory.&lt;BR /&gt; &lt;BR /&gt;As I mentioned in my previous reply system started showing 4.xxGB as system memory usage in the glance.&lt;BR /&gt;This system memory usage does not vary much.&lt;BR /&gt;&lt;BR /&gt;Before we experienced the application problem the system memory usage was 1.5GB to 1.8GB.&lt;BR /&gt;&lt;BR /&gt;As of now there is no performance degradation in the system and the users are happy.&lt;BR /&gt;&lt;BR /&gt;My concern is that Is it possible to reduce the system memory usage? What is M_TEMP in the kernel memory?&lt;BR /&gt;&lt;BR /&gt;If I reboot system does it help to reduce M_TEMP kernel memory usage?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Manoj&lt;BR /&gt;&lt;BR /&gt;P.S. You are right Mohan I am the same Manoj who got a chance to work with you at Mumbai.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Aug 2005 07:58:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919605#M407550</guid>
      <dc:creator>manoj_pu</dc:creator>
      <dc:date>2005-08-20T07:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919606#M407551</link>
      <description>If I am not wrong, ( other people can correct me ) M_TEMP is the arena who request the memory from free memory pool on behalf ok kernel to do kerenl jobs.&lt;BR /&gt;Reducing the memory for M_TEMP will depend upto kernel parameters configured and application usage of system resources.&lt;BR /&gt;&lt;BR /&gt;Did you change any kernel parameters before or after running that test application?  What was the system statistics when test application was ran? As you said it was using complete swap space , just curious to know what was other stats.&lt;BR /&gt;&lt;BR /&gt;Can you put the current kernel parameters , swapinfo -tam , ps -efl, top,vmstat, sar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 Aug 2005 11:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919606#M407551</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-08-20T11:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919607#M407552</link>
      <description>Hi Manoj , &lt;BR /&gt;&lt;BR /&gt;check this command , &lt;BR /&gt;&lt;BR /&gt;# ps -el | sort -r -k10 | head -20 &lt;BR /&gt;&lt;BR /&gt;It will list the top 20 processes using high memory page in the SZ filed , ie column 10. And hope you can find out something.&lt;BR /&gt;&lt;BR /&gt;Many Thanks ,&lt;BR /&gt;&lt;BR /&gt;Raj.D.&lt;BR /&gt;-----</description>
      <pubDate>Sat, 20 Aug 2005 12:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919607#M407552</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-08-20T12:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919608#M407553</link>
      <description>Manoj --&lt;BR /&gt;&lt;BR /&gt;It would be tough to tell you if you can reduce M_TEMP without knowing if those pages are still in use or free. (And even if they're free -- there isn't a user-space interface to force garbage collection of kernel memory... you'd pretty much have to force memory pressure by allocating a bunch in user space and touching it all).&lt;BR /&gt;&lt;BR /&gt;M_TEMP is, frankly, the "Misc" pool for kernel memory allocations. People who don't want to create their own Arenas tend to use M_TEMP (at least on older releases... things have gotten better as time has gone on), so I can't say exactly what's taking the space within the kernel.... could be packets for a driver, could be Filesystem code, could be SysV semaphores, etc.&lt;BR /&gt;&lt;BR /&gt;If you're really curious as to how much the kernel is really using (as opposed to memory waiting to be garbage collected), I'd recommend the unsupported tool kmeminfo at:&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/&lt;BR /&gt;&lt;BR /&gt;Take a look at the summary first (just run kmeminfo /stand/vmunix /dev/kmem), and if you want to zoom in on Arena usage, kmeminfo -V -a M_TEMP (or whatever arena you care to peek at). If you see a lot free, then that's a sign you had a kernel memory spike that'll get freed back once there's enough pressure for garbage collection to run. If you still see a lot used after the problem application -- you may well have a kernel memory leak and I would think you'd want to have support take a look. They'll likely want to look at the system as it replicates, but that's their call.</description>
      <pubDate>Sat, 20 Aug 2005 16:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919608#M407553</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2005-08-20T16:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Very high system memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919609#M407554</link>
      <description>Thanks everyone especially Don for the help.</description>
      <pubDate>Tue, 23 Aug 2005 03:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/very-high-system-memory/m-p/4919609#M407554</guid>
      <dc:creator>manoj_pu</dc:creator>
      <dc:date>2005-08-23T03:12:02Z</dc:date>
    </item>
  </channel>
</rss>

