<?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: Do I have a memory leakage ?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645463#M44716</link>
    <description>Hi Martin&lt;BR /&gt;&lt;BR /&gt;From your glance, I would be worried about the page-outs, rather than the page faults.&lt;BR /&gt;&lt;BR /&gt;Check your swap utilization with:&lt;BR /&gt;swapinfo -t&lt;BR /&gt;&lt;BR /&gt;And to check if you have a memory hogger in the process list:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o ruser,vsz,pid,args |sort -rnk2| head -n 10&lt;BR /&gt;&lt;BR /&gt;to get the top 10 memory users.&lt;BR /&gt;&lt;BR /&gt;MND</description>
    <pubDate>Wed, 16 Jan 2002 13:58:14 GMT</pubDate>
    <dc:creator>Marc Dijkstra</dc:creator>
    <dc:date>2002-01-16T13:58:14Z</dc:date>
    <item>
      <title>Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645454#M44707</link>
      <description>Running HP-UX 11.0 on HP 9000 'N' class.  2x550 mHz processors.  1Gb memory.&lt;BR /&gt;&lt;BR /&gt;We have an app that performs very badly, though it runs 4 times quicker on supplier's (smaller) box.  Database seems tuned OK.&lt;BR /&gt;&lt;BR /&gt;/sbin/dmesg shows memory information:&lt;BR /&gt;physical 1048576 Kb, lockable 701920 Kb, available 816496 Kb.&lt;BR /&gt;&lt;BR /&gt;Running 'top' shows 157 Mb real, 110Mb virtual, 235 Mb free (see attached).&lt;BR /&gt;&lt;BR /&gt;Question is, where is the remainder of the 1 Gb memory ?  Should real+free=1Gb ?  Suggestion is that it has not been initialised properly at reboot, or possible bad memory chip in box, or is 'leaking' away.  &lt;BR /&gt;&lt;BR /&gt;I have re-booted the server and free memory showed high (800+ Mb), but it has gone down to 300 Mb over the course of the day.&lt;BR /&gt;&lt;BR /&gt;I would be very grateful if someone could propose a way forward.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 17:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645454#M44707</guid>
      <dc:creator>Martin Simonis</dc:creator>
      <dc:date>2002-01-15T17:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645455#M44708</link>
      <description>Hi Martin,&lt;BR /&gt;&lt;BR /&gt;You will get a good picture of memory utilization if you have glance. It has a seperate memory detailed section.&lt;BR /&gt;&lt;BR /&gt;Now, the difference between the total physical memory and the real+free is given to system memory and the buffer cache used.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 17:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645455#M44708</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-15T17:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645456#M44709</link>
      <description>..... and the buffer cache will occupy significant amount of memory if the default max_dbc_pct is not changed. It is not showed as free mem in the top window if I am correct.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 15 Jan 2002 17:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645456#M44709</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-15T17:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645457#M44710</link>
      <description>Attached is a write up on the process of how to detect a memory leak and how to identify if it's a kernel or process that is leaking memory. Hope it helps.</description>
      <pubDate>Tue, 15 Jan 2002 17:33:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645457#M44710</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-15T17:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645458#M44711</link>
      <description>Martin,&lt;BR /&gt;In the past I have been successful at locating memory leaks by using the following command&lt;BR /&gt;UNIX95= ps -e -o ruser,vsz,pid,args | sore -rnk2 | more&lt;BR /&gt;&lt;BR /&gt;This will list the memory for processess in desencing order.  Run this command a few times.  If the number in the second column (amount of memory) continues to rise then you probably have a memory leak.&lt;BR /&gt;Hope this helps!</description>
      <pubDate>Tue, 15 Jan 2002 18:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645458#M44711</guid>
      <dc:creator>nancy rippey</dc:creator>
      <dc:date>2002-01-15T18:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645459#M44712</link>
      <description>Does your application use a shared memory segment.&lt;BR /&gt;&lt;BR /&gt;When you type in ipcs -mb what to you see.&lt;BR /&gt;&lt;BR /&gt;Other tips mentioned will help. Glance is good tool. Also check buffer cache setting.&lt;BR /&gt;&lt;BR /&gt;Also, Since you have a N running HP-UX 11.0 64 bit why not take advantage of getting to a bigger memory regions?</description>
      <pubDate>Tue, 15 Jan 2002 19:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645459#M44712</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2002-01-15T19:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645460#M44713</link>
      <description>*** Quoting ITRC doc id A3940339 ***  &lt;BR /&gt;TOP shows the following values for memory:&lt;BR /&gt;Memory: 1stval (2ndval) real, 3rdval (4thval) virtual,  (5thval) free&lt;BR /&gt;&lt;BR /&gt;these values can be understood as:&lt;BR /&gt;&lt;BR /&gt;1. Total physical memory in the system dedicated to text, data or&lt;BR /&gt;   stack segments for all processes on the system.&lt;BR /&gt;&lt;BR /&gt;2. Total physical memory for runnable processes, as opposed to&lt;BR /&gt;   sleeping processes.&lt;BR /&gt;&lt;BR /&gt;3. Total memory dedicated to text, data or stack segments for all processes&lt;BR /&gt;   on the system.  Some of this is paged out to disk (that is, not all&lt;BR /&gt;   of this is in current physical memory.&lt;BR /&gt;&lt;BR /&gt;4. Total memory for runnable processes, as opposed to sleeping or stopped&lt;BR /&gt;   processes.&lt;BR /&gt;&lt;BR /&gt;5. Physical memory the system considers to be unused and available to new&lt;BR /&gt;   processes.  When this value is low, swapping is likely to occur.&lt;BR /&gt;&lt;BR /&gt;g'd luck&lt;BR /&gt;t++</description>
      <pubDate>Tue, 15 Jan 2002 20:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645460#M44713</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2002-01-15T20:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645461#M44714</link>
      <description>Many thanks to those who responded so quickly and pertinently (points awarded, shortly !).&lt;BR /&gt;&lt;BR /&gt;Attached document is screen dump a) of the Memory report produced by 'glance', and b) of the output from 'ipcs -mb'.&lt;BR /&gt;&lt;BR /&gt;Should I be concerned at the high figure against 'Page Faults' ?  What does the ipcs output tell me about shared memory ?  Is the high memory utilisation reasonable ? Where do I find the GBL_MEM_UTIL ?&lt;BR /&gt;&lt;BR /&gt;In short, I am still unsure whether there is a memory problem or not.</description>
      <pubDate>Wed, 16 Jan 2002 10:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645461#M44714</guid>
      <dc:creator>Martin Simonis</dc:creator>
      <dc:date>2002-01-16T10:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645462#M44715</link>
      <description />
      <pubDate>Wed, 16 Jan 2002 11:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645462#M44715</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-01-16T11:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645463#M44716</link>
      <description>Hi Martin&lt;BR /&gt;&lt;BR /&gt;From your glance, I would be worried about the page-outs, rather than the page faults.&lt;BR /&gt;&lt;BR /&gt;Check your swap utilization with:&lt;BR /&gt;swapinfo -t&lt;BR /&gt;&lt;BR /&gt;And to check if you have a memory hogger in the process list:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o ruser,vsz,pid,args |sort -rnk2| head -n 10&lt;BR /&gt;&lt;BR /&gt;to get the top 10 memory users.&lt;BR /&gt;&lt;BR /&gt;MND</description>
      <pubDate>Wed, 16 Jan 2002 13:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645463#M44716</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2002-01-16T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Do I have a memory leakage ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645464#M44717</link>
      <description>Hi Martin,&lt;BR /&gt;&lt;BR /&gt;Looks like you have the default max_dbc_pct value which is 50%. You can reduce it to 20%. You can set it even to around 10% as you don't do much disk IO (from your glance itself). &lt;BR /&gt;Adjust your buffer cache and then see how the system performs. I don't think you have any memory leaks. &lt;BR /&gt;&lt;BR /&gt;If adjusting buffer cache doesn't help, then probably you need to buy little bit more memory.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 16 Jan 2002 14:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-i-have-a-memory-leakage/m-p/2645464#M44717</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-16T14:43:49Z</dc:date>
    </item>
  </channel>
</rss>

