<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773522#M75314</link>
    <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Can you post this output as well:&lt;BR /&gt;# ipcs -mbop &amp;gt; /tmp/smem.txt&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
    <pubDate>Fri, 26 Jul 2002 13:17:52 GMT</pubDate>
    <dc:creator>Hai Nguyen_1</dc:creator>
    <dc:date>2002-07-26T13:17:52Z</dc:date>
    <item>
      <title>memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773515#M75307</link>
      <description>We have a L3000 server for software development, this server has 4G RAM and 12G swap running hpux11, recently it ran out of swap space every two weeks, we suspect there is some program has memory leak, with ps -efl and top we couldn't find any unusual process, is there any other way to find out who cause the leak? Thanks.</description>
      <pubDate>Fri, 26 Jul 2002 12:15:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773515#M75307</guid>
      <dc:creator>Jerry_32</dc:creator>
      <dc:date>2002-07-26T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773516#M75308</link>
      <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Can you run:&lt;BR /&gt;&lt;BR /&gt;# top -d 1 -f /tmp/top.txt&lt;BR /&gt;# swapinfo -tam &amp;gt; /tmp/swapinfo.txt&lt;BR /&gt;&lt;BR /&gt;And post them here.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 26 Jul 2002 12:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773516#M75308</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-26T12:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773517#M75309</link>
      <description>You could monitor for processes in top with increasing values of SIZE and RES, or you could use&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -opid,vsz,args&lt;BR /&gt;&lt;BR /&gt;this will give you the PID, size in KB of the process and the command, with arguments.&lt;BR /&gt;&lt;BR /&gt;It's also possible that the process size could have exceeded the value of maxdsiz kernel parameter.</description>
      <pubDate>Fri, 26 Jul 2002 12:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773517#M75309</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2002-07-26T12:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773518#M75310</link>
      <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Can you post the output of sysdef as well&lt;BR /&gt;&lt;BR /&gt;# sysdef &amp;gt; /tmp/sysdef.txt&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 26 Jul 2002 12:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773518#M75310</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-26T12:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773519#M75311</link>
      <description>Hai,&lt;BR /&gt;here is information from: top/swapinfo/sysdef all put into one file.</description>
      <pubDate>Fri, 26 Jul 2002 12:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773519#M75311</guid>
      <dc:creator>Jerry_32</dc:creator>
      <dc:date>2002-07-26T12:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773520#M75312</link>
      <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Found something. Your swapinfo output says that out of 12GB swap space, about 9GB (9266Mb) has been reserved for active processes.  That is quite a lot.&lt;BR /&gt;&lt;BR /&gt;Can you rerun the top command for me as follows:&lt;BR /&gt;&lt;BR /&gt;# rm /tmp/top.txt&lt;BR /&gt;# ps -ef | wc -l &lt;BR /&gt;# top -d 1 -n &lt;NUMBER_FROM_PS_COMMAND&gt; -f /tmp/top.txt&lt;BR /&gt;&lt;BR /&gt;and:&lt;BR /&gt;# kmtune -l &amp;gt; /tmp/kmtune.txt&lt;BR /&gt;&lt;BR /&gt;and post them here.&lt;BR /&gt;Hai&lt;/NUMBER_FROM_PS_COMMAND&gt;</description>
      <pubDate>Fri, 26 Jul 2002 12:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773520#M75312</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-26T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773521#M75313</link>
      <description>Yes,&lt;BR /&gt;I guess someone used the share memory never released, but how to find who use the share memory? here is the info attached.</description>
      <pubDate>Fri, 26 Jul 2002 13:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773521#M75313</guid>
      <dc:creator>Jerry_32</dc:creator>
      <dc:date>2002-07-26T13:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773522#M75314</link>
      <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Can you post this output as well:&lt;BR /&gt;# ipcs -mbop &amp;gt; /tmp/smem.txt&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 26 Jul 2002 13:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773522#M75314</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-26T13:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773523#M75315</link>
      <description>here you are.</description>
      <pubDate>Fri, 26 Jul 2002 13:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773523#M75315</guid>
      <dc:creator>Jerry_32</dc:creator>
      <dc:date>2002-07-26T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773524#M75316</link>
      <description>Jerry,&lt;BR /&gt;&lt;BR /&gt;Here is what I see.&lt;BR /&gt;&lt;BR /&gt;- your ipcs output is normal.&lt;BR /&gt;The total shared mem required by big users oracle, rgsoln* added up to roughly 1GB out of 4GB RAM which is, I believe, acceptable.&lt;BR /&gt;&lt;BR /&gt;From the top output, I see:&lt;BR /&gt;- Many users spawns quite a few xterm, tcsh sessions which each requires roughly 1M swap space.  Adding them up may result in a big sum of needed swap space.  However, they are still not big swap-consumers here.&lt;BR /&gt;&lt;BR /&gt;- There are several DBs of which each process consumes about 30MB swap space.  Again, they are not an issue here.&lt;BR /&gt;&lt;BR /&gt;- Now come the main eaters of swap space, rgsoln* users. I counted roughly 61 rgsoln* processes from the top output, each of which consumes about 110MB swap space.  Do the math, you will see that together they occupy more than 6GB out of the 9GB swap space currently allocated to processes.  I believe that the processes themselves play the main role in your swap space issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now come some recommendations:&lt;BR /&gt;- Reduce the size of rgsoln* processes if possible. Or:&lt;BR /&gt;- Create more swap space.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 26 Jul 2002 14:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773524#M75316</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-26T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: memory leak</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773525#M75317</link>
      <description>Hai,&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;I will keep watching these process.&lt;BR /&gt;Jerry</description>
      <pubDate>Fri, 26 Jul 2002 14:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-leak/m-p/2773525#M75317</guid>
      <dc:creator>Jerry_32</dc:creator>
      <dc:date>2002-07-26T14:23:43Z</dc:date>
    </item>
  </channel>
</rss>

