<?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 memory full problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014434#M129267</link>
    <description>Sometimes i have a full memory and full swap problem.&lt;BR /&gt;Many processes fail for not enough memory.&lt;BR /&gt;Running swapinfo i find memory used up to 100% and swap full up to 98%.&lt;BR /&gt;This is not normal it's happened only twice in a year, so i would know which is the cause of this problem.&lt;BR /&gt;Which command can i use to understand the possible cause of this problem?&lt;BR /&gt;top command and swapinfo are not enough to understand.&lt;BR /&gt;Thank you&lt;BR /&gt;Stefano</description>
    <pubDate>Thu, 03 Jul 2003 10:33:37 GMT</pubDate>
    <dc:creator>Stefano_10</dc:creator>
    <dc:date>2003-07-03T10:33:37Z</dc:date>
    <item>
      <title>memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014434#M129267</link>
      <description>Sometimes i have a full memory and full swap problem.&lt;BR /&gt;Many processes fail for not enough memory.&lt;BR /&gt;Running swapinfo i find memory used up to 100% and swap full up to 98%.&lt;BR /&gt;This is not normal it's happened only twice in a year, so i would know which is the cause of this problem.&lt;BR /&gt;Which command can i use to understand the possible cause of this problem?&lt;BR /&gt;top command and swapinfo are not enough to understand.&lt;BR /&gt;Thank you&lt;BR /&gt;Stefano</description>
      <pubDate>Thu, 03 Jul 2003 10:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014434#M129267</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2003-07-03T10:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014435#M129268</link>
      <description>glance is the tool&lt;BR /&gt;&lt;BR /&gt;glance -m # this will show memory usage&lt;BR /&gt;glance -w # swap space&lt;BR /&gt;&lt;BR /&gt;You can also look at memory usage by process, when in glance do "M" &amp;amp; enter PID.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 03 Jul 2003 10:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014435#M129268</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-03T10:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014436#M129269</link>
      <description>And if i haven't glance?</description>
      <pubDate>Thu, 03 Jul 2003 10:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014436#M129269</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2003-07-03T10:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014437#M129270</link>
      <description>Glance resides on Application CD 1 or 2 for the current level of OS, with a 60-day instant on trial license.&lt;BR /&gt;&lt;BR /&gt;Does the problem go away by itself or after reboot? is this a possible memory leak?&lt;BR /&gt;&lt;BR /&gt;ps -eafl &lt;BR /&gt;&lt;BR /&gt;Look in the SZ column to see which processes are tying up memory.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 03 Jul 2003 10:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014437#M129270</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-07-03T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014438#M129271</link>
      <description>Yes, the problem disappear after reboot.&lt;BR /&gt;So could you explain me what is a memory leak and how can i manage it?&lt;BR /&gt;Thank you&lt;BR /&gt;Stefano</description>
      <pubDate>Thu, 03 Jul 2003 10:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014438#M129271</guid>
      <dc:creator>Stefano_10</dc:creator>
      <dc:date>2003-07-03T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014439#M129272</link>
      <description>You say that this happens twice a year?&lt;BR /&gt;If this is a memory leak in some of your (or&lt;BR /&gt;system ) applications - would require an ammount of work to be done.&lt;BR /&gt;Anyway,&lt;BR /&gt;1)swapinfo -mt (or glance) for swap&lt;BR /&gt;2)vmstat (or glance) for paging activities&lt;BR /&gt;Glance can be obtained to evaluational period (60 days I think)&lt;BR /&gt;&lt;BR /&gt;Zeev</description>
      <pubDate>Thu, 03 Jul 2003 10:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014439#M129272</guid>
      <dc:creator>Zeev Schultz</dc:creator>
      <dc:date>2003-07-03T10:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014440#M129273</link>
      <description>What kind of system are we talking about ? What is its function ? (fileserver, webserver, database, application..)&lt;BR /&gt;&lt;BR /&gt;A memory leak usually drains your resources quite slowly. Is this the case, or is it more of an 'explosive' problem ? The latter might indicate user action: are there any 'special' jobs run by any user (or even cron) around these times ?&lt;BR /&gt;&lt;BR /&gt;Do install that glance trial, it will indeed prove very useful. You will know which process is the problem in a glance !&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Sat, 05 Jul 2003 15:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014440#M129273</guid>
      <dc:creator>Wouter Jagers</dc:creator>
      <dc:date>2003-07-05T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014441#M129274</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Glance will help a lot to see who is take&lt;BR /&gt;the memory and how much.&lt;BR /&gt;Also in top you could see this.&lt;BR /&gt;vmstat good if you not have glance.&lt;BR /&gt;swapinfo will show the information about the swap.&lt;BR /&gt;And another thing is if you will see that&lt;BR /&gt;is your program eat the memory you could&lt;BR /&gt;use purify from rational to compile&lt;BR /&gt;your code and find where is the leaks.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Sat, 05 Jul 2003 15:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014441#M129274</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-05T15:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014442#M129275</link>
      <description>To solve this problem, you have to determine whether your system is being asked to use all of memory and swap. If this is correct, then your only choice is to add more swap (and RAM to improve performance). To make this determination, you need to know what the normal requirements are for all processes that must run at the same time. If you don't know this information, start by sorting all the running processes by size:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o "vsz,ruser,args" | sort -rn&lt;BR /&gt;&lt;BR /&gt;You may want to print this list for future reference. Now if a program(or several program) begin to grow in size (and this is not expected) then the program(s) have a memory leak and the programmer must fix the errors. There is nothing you can do in the operating system to fix a bad program.&lt;BR /&gt;&lt;BR /&gt;Now you may have a number of users that login to your system and then do not log out properly. This will leave shells and processes running until the next reboot. This is a user education problem. You can fix it for a while by adding more RAM and swap space but that just prevents the problem users from making the system run out of memory.&lt;BR /&gt;&lt;BR /&gt;NOTE: using a lot of swap means your system is probably running quite slow. You may need to double or triple the amount of RAM you have in order to improve performance.</description>
      <pubDate>Sat, 05 Jul 2003 20:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014442#M129275</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-07-05T20:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014443#M129276</link>
      <description>Hi,&lt;BR /&gt;you asked what is a memory leak...&lt;BR /&gt;&lt;BR /&gt;When a programmes writes its code, there are functions to allocate and deallocate memory.&lt;BR /&gt;You relaim memory, use it for data, and then release it to the operating system, for the other programs.&lt;BR /&gt;&lt;BR /&gt;A leak is when:&lt;BR /&gt;- the programmer did not properly deallocate memory&lt;BR /&gt;or&lt;BR /&gt;- the function for de-allocating memory didn't work properly.&lt;BR /&gt;&lt;BR /&gt;Which one is hard to tell.&lt;BR /&gt;&lt;BR /&gt;Usually the function for allocating/deallocating memory are written well, but you should check the patched looking tohe word leak, some will appear.&lt;BR /&gt;I don't see if you specified your O.S., but in ITRC, under the patch section, choose your O.S. and check if you have all the right patches&lt;BR /&gt;&lt;BR /&gt;In the first case, you must check if your product had a flaw, in the sense i explained.&lt;BR /&gt;Usually these are published in the website of the product, you should check there too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In addition to other suggestion, i will look at this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5daa3a7b3682d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5daa3a7b3682d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many many good ansers, suggestion, tips and scripts.&lt;BR /&gt;&lt;BR /&gt;  HTH,&lt;BR /&gt;   Massimo&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 05:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014443#M129276</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-07-07T05:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014444#M129277</link>
      <description>Also,with all suggestions Please re-check the values of all the kernel parameters.&lt;BR /&gt;&lt;BR /&gt;Higher values of the kernel parameters will increase the amount of locked memory and decrease the amount of available memory.&lt;BR /&gt;&lt;BR /&gt;Parameters like buffer cache(dbc_max_pct),the default value is 50% of memory.&lt;BR /&gt;Assume you have 2GB memory,by default 1Gb is taken for buffer cache if you have enabled the dynamic buffer cache.&lt;BR /&gt;In this case you can bring that to around 300MB.&lt;BR /&gt;&lt;BR /&gt;ALso some parameters with higher values like the semaphore values will bring down the amount of available memory for the user processes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 07 Jul 2003 06:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014444#M129277</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-07-07T06:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: memory full problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014445#M129278</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I suggest you write a simple script which logs the output of the commands mentioned above. You can schedule it in crontab and let it run once in every 5 minutes. By making a trend-analysis (when does my memory dissapear? and how fast? by which process? at which time?) you can analyze the problem much easier. If &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dagmar</description>
      <pubDate>Mon, 07 Jul 2003 07:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-full-problem/m-p/3014445#M129278</guid>
      <dc:creator>Dagmar Boelen</dc:creator>
      <dc:date>2003-07-07T07:36:04Z</dc:date>
    </item>
  </channel>
</rss>

