<?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: dhcp and java memory leak in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598828#M33849</link>
    <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;Three things:&lt;BR /&gt;&lt;BR /&gt;1.  There has been a known problem with 'mib2agt' although that is now a fairly old issue.  PHSS_24945 is the latest patch that addresses that problem.&lt;BR /&gt;&lt;BR /&gt;2.  As you may remember, the following snippet of code is very, very handy in finding potential memory problems:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o ruser,vsz,pid,args|sort -rnk2|more&lt;BR /&gt;&lt;BR /&gt;You would want to look for processes that grow over time.&lt;BR /&gt;&lt;BR /&gt;3.  From your 'glance' output it looks like you have your 'dbc_max_pct' set very high.  Using more than about 300MB for the buffer cache is usually wasteful, especially if you are running a database which does its own buffering.&lt;BR /&gt;&lt;BR /&gt;By default, 'dbc_max_pct' is set to 50%.  Bring it way down to reclaim some memory!&lt;BR /&gt;&lt;BR /&gt;See this too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparam.DBCmaxPct.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparam.DBCmaxPct.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 22 Oct 2001 14:03:33 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-10-22T14:03:33Z</dc:date>
    <item>
      <title>dhcp and java memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598826#M33847</link>
      <description>I have been playing around with glance .. And it apears that I have a memory leak with a dhcp and java application. Has anyone seen this what could be the cause or how would I go about trouble shooting this issue? how about a possible fix. There is also a leak for mib2agt but I have found a patch for that. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Richard</description>
      <pubDate>Mon, 22 Oct 2001 13:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598826#M33847</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-22T13:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: dhcp and java memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598827#M33848</link>
      <description>With java, you can use the Jprobe Profiler, which is bundled with the JVM. The product is written by Sitraka. With dhcp, you'll probably need a patch.</description>
      <pubDate>Mon, 22 Oct 2001 14:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598827#M33848</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-22T14:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: dhcp and java memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598828#M33849</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;Three things:&lt;BR /&gt;&lt;BR /&gt;1.  There has been a known problem with 'mib2agt' although that is now a fairly old issue.  PHSS_24945 is the latest patch that addresses that problem.&lt;BR /&gt;&lt;BR /&gt;2.  As you may remember, the following snippet of code is very, very handy in finding potential memory problems:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o ruser,vsz,pid,args|sort -rnk2|more&lt;BR /&gt;&lt;BR /&gt;You would want to look for processes that grow over time.&lt;BR /&gt;&lt;BR /&gt;3.  From your 'glance' output it looks like you have your 'dbc_max_pct' set very high.  Using more than about 300MB for the buffer cache is usually wasteful, especially if you are running a database which does its own buffering.&lt;BR /&gt;&lt;BR /&gt;By default, 'dbc_max_pct' is set to 50%.  Bring it way down to reclaim some memory!&lt;BR /&gt;&lt;BR /&gt;See this too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparam.DBCmaxPct.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparam.DBCmaxPct.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 22 Oct 2001 14:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598828#M33849</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-22T14:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: dhcp and java memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598829#M33850</link>
      <description>Hey James &lt;BR /&gt;How do I determine to bring 'dbc_max_pct' down?&lt;BR /&gt;what effects will that have?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Tue, 23 Oct 2001 23:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598829#M33850</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-23T23:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: dhcp and java memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598830#M33851</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;'dbc_max_pct' and its companion kernel parameter 'dbc_min-pct' set the limits for "buffer cache" -- memory used for file buffers.  On servers running database engines which do their own I/O buffering (like Oracle), setting up a large buffer cache actually causes *double* work because *two* buffer algorithms operate -- one for the database (SGA) and the other for the Unix buffer pool.&lt;BR /&gt;&lt;BR /&gt;On the other hand, if you have a server where lots of files are opened and shared by many processes while they are open, then having file buffers in memory aids I/O performance.&lt;BR /&gt;&lt;BR /&gt;Generally, far too much memory is set aside for the buffer cache.  About 300MB is considered adequate as a rule-of-thumb.&lt;BR /&gt;&lt;BR /&gt;You can see the actual values in the [m]emory window of 'glance'.&lt;BR /&gt;&lt;BR /&gt;Read the link below for 'dbc_max_pct' and 'bufpages'.  You will note that when 'bufpages' and 'nbuf' are set to zero, 'dbc_max_pct' and 'dbc_min_pct' set the maximum and minimum dynamic buffer size.  It is also possible to set 'bufpages' and define a *fixed* buffer cache size.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparam.DBCmaxPct.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparam.DBCmaxPct.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 24 Oct 2001 22:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dhcp-and-java-memory-leak/m-p/2598830#M33851</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-24T22:17:51Z</dc:date>
    </item>
  </channel>
</rss>

