<?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: memory leak , where is swap being used in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515548#M22761</link>
    <description>Dale, another note:  If I recall correctly, the&lt;BR /&gt;pseudo-swap is turned on by default under HP-UX&lt;BR /&gt;11.00, but not under HP-UX 10.20.  Since you have&lt;BR /&gt;upgraded from 10.20 to 11.0, this may be a clue.&lt;BR /&gt;&lt;BR /&gt;Mladen</description>
    <pubDate>Wed, 11 Apr 2001 19:31:58 GMT</pubDate>
    <dc:creator>Mladen Despic</dc:creator>
    <dc:date>2001-04-11T19:31:58Z</dc:date>
    <item>
      <title>memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515542#M22755</link>
      <description>Since reinstalling to go from 10.2 to 11.0 I have had swap problems. The worst is after several days all of swap is reserved even with no applications running. Rebooting cleans it up. Also I have a large amount of memory "pseudo-swap" used even though device swap is free. Below is 1 day after boot, no&lt;BR /&gt;applications running. This is a C200.&lt;BR /&gt;I have installed all March 01 GR patches.&lt;BR /&gt;On 10.2 I would go 3 months with reboot, now&lt;BR /&gt;I can't go 1 week.&lt;BR /&gt;            Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev         768      53     715    7%       0 &lt;BR /&gt;reserve       -     173    -173&lt;BR /&gt;memory      269     241      28   90%&lt;BR /&gt;total      1037     467     570   45%       - &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Dale Corrington&lt;BR /&gt;Eagle Mold&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Apr 2001 10:37:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515542#M22755</guid>
      <dc:creator>Dale Corrington</dc:creator>
      <dc:date>2001-04-10T10:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515543#M22756</link>
      <description>The system reserves a part of swap however, therefore e' useless to make reboot.Se you have problems of performances you add one swap secondary with SAM.</description>
      <pubDate>Tue, 10 Apr 2001 11:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515543#M22756</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-10T11:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515544#M22757</link>
      <description>Dale,&lt;BR /&gt;&lt;BR /&gt;If you suspecting a memory leak, log a software support call and see if they'll send a tool to trace where memory is being allocated.  I've used some unsupported tools such as keminfo and vmtrace for this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley</description>
      <pubDate>Tue, 10 Apr 2001 11:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515544#M22757</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2001-04-10T11:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515545#M22758</link>
      <description>Dale,&lt;BR /&gt;&lt;BR /&gt;We ran into something similar when we moved from K boxes on 10.20 to N boxes on 11.00.  The HP support center recommended changing the following two kernel parameters:&lt;BR /&gt;&lt;BR /&gt;dbc_min_pct&lt;BR /&gt;dbc_max_pct&lt;BR /&gt;&lt;BR /&gt;From my understanding, these parameters determine how much memory is allocated for the kernel's use.  Even though the kernel requires a minimal amount of memory, if these parameters are set high, then the kernel will eventually grab more of the memory.  We saw the same performance degradation over time that you're probably seeing too.  After we changed the values to 2 for dbc_min_pct and 5 for dbc_max_pct, our swap and memory issues went away.&lt;BR /&gt;&lt;BR /&gt;I'm not sure if this is the exact same issue you're having, but hopefully it helps.&lt;BR /&gt;&lt;BR /&gt;Jeff Laux&lt;BR /&gt;Precision Strip, Inc.</description>
      <pubDate>Tue, 10 Apr 2001 12:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515545#M22758</guid>
      <dc:creator>Jeff Laux</dc:creator>
      <dc:date>2001-04-10T12:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515546#M22759</link>
      <description>Dale - There is also a known memory leak with some of the OV emanate system agents on 11.0.&lt;BR /&gt;&lt;BR /&gt;Specifically look at mib2agt (using glance perhaps) It should be using around 800k of memory, but on our system is was consuming 490m.  Applying patch PHSS_21046 fixed the problem for us.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tim</description>
      <pubDate>Tue, 10 Apr 2001 14:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515546#M22759</guid>
      <dc:creator>Tim Medford</dc:creator>
      <dc:date>2001-04-10T14:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515547#M22760</link>
      <description>Dale,&lt;BR /&gt;&lt;BR /&gt;The symptoms that you describe seem like a more &lt;BR /&gt;severe version of the symptoms that I have seen on&lt;BR /&gt;one of our database servers (Sybase).  &lt;BR /&gt;&lt;BR /&gt;Although I am still trying to get more information from&lt;BR /&gt;HP, here is a summary of what I have learnt so far:&lt;BR /&gt;&lt;BR /&gt;1. Any processes using locked memory may compete&lt;BR /&gt;    with "pseudo-swap reservations" .  (You can run&lt;BR /&gt;    'swapinfo -tam' and look for 'memory' line to see&lt;BR /&gt;    your current pseudo-swap reservations.)  In &lt;BR /&gt;    particular, Sybase and Oracle recommend disabling &lt;BR /&gt;    pseudo-swap on HP-UX systems running their&lt;BR /&gt;    database engines.  NOTE: If you disable &lt;BR /&gt;    pseudo-swap, you may have to create additional &lt;BR /&gt;    swap space on disk.&lt;BR /&gt;&lt;BR /&gt;2. Modify the kernel parameter dbc_max_pct so that&lt;BR /&gt;    your buffer cache is not "too large".  The value&lt;BR /&gt;    of this kernel parameter specifies the maximum&lt;BR /&gt;    PERCENTAGE of the physical memory that can be&lt;BR /&gt;    used for buffer cache.  You probably do not want&lt;BR /&gt;    your buffer cache larger than 200-300 Mb.&lt;BR /&gt;&lt;BR /&gt;3. If there is a memory leak, I use GlancePak to isolate&lt;BR /&gt;    the "leaking process".   Some of the reported &lt;BR /&gt;    Glance/Measureware metrics are incorrect due to &lt;BR /&gt;    HP-UX kernel bug(s), but even when the process &lt;BR /&gt;    metrics PROC_MEM_RES and/or PROC_MEM_VIRT &lt;BR /&gt;    are incorrect, they usually show a gradual increase&lt;BR /&gt;    over time when there is a memory leak.  I also&lt;BR /&gt;    like to use "application metrics" because I can &lt;BR /&gt;    usually isolate the problem more quickly.  If you use&lt;BR /&gt;    Glance and/or Measureware, and you would like more&lt;BR /&gt;    details on this, let me know: mdespic@ugg.com&lt;BR /&gt;&lt;BR /&gt;4. All of the above have helped us manage memory&lt;BR /&gt;    utilization.  The system itself is a lot more stable.&lt;BR /&gt;    However, I can still observe a slight increase in&lt;BR /&gt;    the metrics: GBL_SWAP_SPACE_UTIL, &lt;BR /&gt;    GBL_MEM_UTIL, and GBL_MEM_USER_UTIL,&lt;BR /&gt;    whereas the sum total of APP_MEM_UTIL for&lt;BR /&gt;    all of the configured applications does not show&lt;BR /&gt;    this increase.  Is this another bug with HP-UX&lt;BR /&gt;    kernel?  I don't know, but HP has confirmed &lt;BR /&gt;    the earlier mentioned kernel bug should be&lt;BR /&gt;    corrected under HP-UX 11i&lt;BR /&gt;&lt;BR /&gt;If anyone has further info on these issues, I would&lt;BR /&gt;certainly like to hear about it:  mdespic@ugg.com&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mladen&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2001 19:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515547#M22760</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-04-11T19:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak , where is swap being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515548#M22761</link>
      <description>Dale, another note:  If I recall correctly, the&lt;BR /&gt;pseudo-swap is turned on by default under HP-UX&lt;BR /&gt;11.00, but not under HP-UX 10.20.  Since you have&lt;BR /&gt;upgraded from 10.20 to 11.0, this may be a clue.&lt;BR /&gt;&lt;BR /&gt;Mladen</description>
      <pubDate>Wed, 11 Apr 2001 19:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak-where-is-swap-being-used/m-p/2515548#M22761</guid>
      <dc:creator>Mladen Despic</dc:creator>
      <dc:date>2001-04-11T19:31:58Z</dc:date>
    </item>
  </channel>
</rss>

