<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855009#M395563</link>
    <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;Idle means there is NO database activity or application running at night.&lt;BR /&gt;I'll try the vmstat tip.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Luc</description>
    <pubDate>Fri, 04 Jun 2004 03:42:02 GMT</pubDate>
    <dc:creator>Luc Monnens</dc:creator>
    <dc:date>2004-06-04T03:42:02Z</dc:date>
    <item>
      <title>memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855007#M395561</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;I posted this yesterday under the 9000 server forum, but I guess this is more where it belongs.&lt;BR /&gt;&lt;BR /&gt;I have an L3000 running hp-ux 11.0.&lt;BR /&gt;It has 4Gb RAM and 4Gb of Device swap.&lt;BR /&gt;&lt;BR /&gt;Lately my available memory has gone down from about 3400Mb to 50Mb when nothing is running at night.&lt;BR /&gt;I have no idea why an idle system needs all that memory.&lt;BR /&gt;&lt;BR /&gt;Because of that there is no memory left to run production during day time so it has to swap out like crazy.&lt;BR /&gt;&lt;BR /&gt;Any input on what this might be AND/OR on how to discover what is constantly keeping memory occupied will be much appreciated.&lt;BR /&gt;&lt;BR /&gt;One more thing: I looked for memory hungry processes and found mib2agt. From the forums I know now this has a memory leak, so I stopped it until I can patch it.&lt;BR /&gt;Strangly enough that had no impact whatsoever.&lt;BR /&gt;&lt;BR /&gt;Anybody?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Luc Monnens</description>
      <pubDate>Fri, 04 Jun 2004 03:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855007#M395561</guid>
      <dc:creator>Luc Monnens</dc:creator>
      <dc:date>2004-06-04T03:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855008#M395562</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;need to appreciate what applications or database running on that server. how will u know if it is idle when u have nothing to monitor it during the night.&lt;BR /&gt;&lt;BR /&gt;running a cron with:&lt;BR /&gt;&lt;BR /&gt;vmstat 5 300 &amp;gt; /tmp/memory&lt;BR /&gt;&lt;BR /&gt;will help u check if the free memory really drops and how much it does during the night.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 04 Jun 2004 03:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855008#M395562</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-06-04T03:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855009#M395563</link>
      <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;Idle means there is NO database activity or application running at night.&lt;BR /&gt;I'll try the vmstat tip.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Luc</description>
      <pubDate>Fri, 04 Jun 2004 03:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855009#M395563</guid>
      <dc:creator>Luc Monnens</dc:creator>
      <dc:date>2004-06-04T03:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855010#M395564</link>
      <description>How many processes are running?&lt;BR /&gt;&lt;BR /&gt;ps -ef |wc&lt;BR /&gt;&lt;BR /&gt;What is dbc_max_pct set to?&lt;BR /&gt;&lt;BR /&gt;kmtune -q dbc_max_pct&lt;BR /&gt;&lt;BR /&gt;You want that to be between 350 and 550 MB - which is 9 to 14 pct of your ram.&lt;BR /&gt;&lt;BR /&gt;For checking processes, attached is a script called processmem - out put like:&lt;BR /&gt;&lt;BR /&gt;# processmem mib2agt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Memory claimed by mib2agt: 1920 Kbytes.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 04 Jun 2004 08:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855010#M395564</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-04T08:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855011#M395565</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;One more thing to add.&lt;BR /&gt;At night - when nothing is running - the server has about 500Mb memory free.&lt;BR /&gt;During the day that goes down to 20Mb.&lt;BR /&gt;This info is correct, not my previous statement about 50Mb free with no load.&lt;BR /&gt;So there is a difference between the system being idle and running the application.&lt;BR /&gt;To me this means that my database and application use about all the memory they can get their hands on - which is ok.&lt;BR /&gt;It is the 3,5Gb that is constantly taken by something else that concerns me.&lt;BR /&gt;And appart from the mib2agt I stopped yesterday there is no real memory hogger process showing up anymore. As a matter of fact all top memory users are application processes now - and that is what one should expect.&lt;BR /&gt;&lt;BR /&gt;Hi Geoff,&lt;BR /&gt;&lt;BR /&gt;To answer your questions:&lt;BR /&gt;About 760 processes running currently.&lt;BR /&gt;dbc_max_pct is set to 10.&lt;BR /&gt;Thank you for your script, but I am afraid it will only be useful if you already have a suspect.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Luc Monnens</description>
      <pubDate>Fri, 04 Jun 2004 08:33:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855011#M395565</guid>
      <dc:creator>Luc Monnens</dc:creator>
      <dc:date>2004-06-04T08:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855012#M395566</link>
      <description>Run the following commands through cron every 5 minutes. This will give you information about which process are running and how much memory they are using.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -ef -o "vsz,ruser,pid,args"|sort -nk1 &amp;gt;&amp;gt; /tmp/memlog&lt;BR /&gt;The value of vsz is in KB&lt;BR /&gt;&lt;BR /&gt;vmstat 2 10 &amp;gt;&amp;gt; /tmp/freemem.log&lt;BR /&gt;&lt;BR /&gt;The free memory unit is page. One buffer page is 4096 kb&lt;BR /&gt;&lt;BR /&gt;Once you check which processes are causing memory bottleneck, you can start working on it.&lt;BR /&gt;&lt;BR /&gt;It may be the case that a process could have memory leak and that is causing the problem.</description>
      <pubDate>Fri, 04 Jun 2004 08:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855012#M395566</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-06-04T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855013#M395567</link>
      <description>u mentioned something about database and application. what is the database and version and also what is the application running on the server?&lt;BR /&gt;&lt;BR /&gt;please also reply on this:&lt;BR /&gt;# ipcs -mbop&lt;BR /&gt;to check the shared memory segment&lt;BR /&gt;&lt;BR /&gt;# kmtune -q shmmax&lt;BR /&gt;to check the max. shared mem segment.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 04 Jun 2004 21:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855013#M395567</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-06-04T21:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855014#M395568</link>
      <description>Hi RAC,&lt;BR /&gt;&lt;BR /&gt;I used the UNIX95 one already. That is how I found mib2agt.&lt;BR /&gt;&lt;BR /&gt;I am not sure what the vmstat one is telling.&lt;BR /&gt;Could you elaborate a bit?&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Hi Joseph Loo,&lt;BR /&gt;&lt;BR /&gt;Like I said they do not come into this, because it is the idle system status that is keeping all this memory occupied.&lt;BR /&gt;&lt;BR /&gt;Can you tell me a bit more what these two commands should show me?&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Luc Monnens&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jun 2004 04:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855014#M395568</guid>
      <dc:creator>Luc Monnens</dc:creator>
      <dc:date>2004-06-10T04:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855015#M395569</link>
      <description>hi Luc,&lt;BR /&gt;&lt;BR /&gt;as mentioned "kmtune -q shmmax" will query the kernel to check the max. shared mem segment allocated.&lt;BR /&gt;&lt;BR /&gt;for "ipcs -mbop", it will check the shared memory segment which gives an indication of which user has taken up the shared memory. look at SEGSZ column for the allocated shared memory for each process.&lt;BR /&gt;&lt;BR /&gt;for vmstat, it checks the virtual memory statistics of the server. &lt;BR /&gt;&lt;BR /&gt;it will be good if u reply us on the output.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 10 Jun 2004 05:18:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855015#M395569</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-06-10T05:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855016#M395570</link>
      <description>Sorry, forgot to close.</description>
      <pubDate>Wed, 26 Sep 2007 11:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-problem/m-p/4855016#M395570</guid>
      <dc:creator>Luc Monnens</dc:creator>
      <dc:date>2007-09-26T11:44:03Z</dc:date>
    </item>
  </channel>
</rss>

