<?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: swap memory almost full in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043416#M812042</link>
    <description>The one thing I could think of is create a secondary swap space or increase memory.Swap space are related memory.&lt;BR /&gt;&lt;BR /&gt;If the process cannot find space in memory,the less recently used space from memory are transfered to SWAP space.&lt;BR /&gt;&lt;BR /&gt;So if you have a big usage of swaps mean your memory are very busy and a lot of swapping are done.&lt;BR /&gt;&lt;BR /&gt;I guest the right way is to increase your memory.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;mB&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Aug 2003 02:01:06 GMT</pubDate>
    <dc:creator>malay boy</dc:creator>
    <dc:date>2003-08-07T02:01:06Z</dc:date>
    <item>
      <title>swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043411#M812037</link>
      <description>When I do a swapinfo I get the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       kb     kb     kb     pct&lt;BR /&gt;TYPE  AVAIL   USED   FREE   USED&lt;BR /&gt;dev   1048576 957632 90944  91%&lt;BR /&gt;reserve  -    90944  -90944&lt;BR /&gt;memory 372408  351572  20836  94%&lt;BR /&gt;&lt;BR /&gt;As you can see, the swap space is more than 90%.&lt;BR /&gt;&lt;BR /&gt;How can I decrease the swapspace usage without rebooting the machine?&lt;BR /&gt;&lt;BR /&gt;How can I identify any applications or process which caused the swap space to be filled. &lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 01:47:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043411#M812037</guid>
      <dc:creator>Kenneth_18</dc:creator>
      <dc:date>2003-08-07T01:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043412#M812038</link>
      <description>Yes you have a problem.&lt;BR /&gt;&lt;BR /&gt;But swap is reserved, it might not all be in use.&lt;BR /&gt;&lt;BR /&gt;You can decrease swap usage by lowering the load on the machine. Specifically, the number of proccess running.&lt;BR /&gt;&lt;BR /&gt;Every time a process is spawned memory is reserved for it.&lt;BR /&gt;&lt;BR /&gt;If you have an oracle database open but not in use, shut it down, that will help.&lt;BR /&gt;&lt;BR /&gt;The only way to reduce swap usage is to reduce the number of processes open.&lt;BR /&gt;&lt;BR /&gt;You can sit at 90% forever and its not going to hurt that much.&lt;BR /&gt;&lt;BR /&gt;You might want to collect a little performance data. I'm attaching a script that might help with that.&lt;BR /&gt;&lt;BR /&gt;It runs background, puts it output into /tmp and you want to look at the swap information.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 07 Aug 2003 01:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043412#M812038</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-07T01:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043413#M812039</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have Glance installed, you can use it to see which processes have a lot of memory reserved, and terminate those processes that you can.  You could also add some more swap on the fly if you have the disk space, and if you can't find any suitable process candidates to terminate.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 01:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043413#M812039</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-08-07T01:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043414#M812040</link>
      <description>post this output please&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;I think I made a mistake, but swap seems three times physical memory already.  Increasing swap might slow the box down too much.&lt;BR /&gt;&lt;BR /&gt;Is this box running at a high load factor?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 07 Aug 2003 01:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043414#M812040</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-07T01:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043415#M812041</link>
      <description>The only real way to decrease your swap usage is to stop some of the programs / processes that are running.&lt;BR /&gt;&lt;BR /&gt;With that much swap being used, your machine is probably performing very poorly.&lt;BR /&gt;&lt;BR /&gt;As suggested, use glance, or some other tool, to determine what programs are using the most memory and stop them.&lt;BR /&gt;&lt;BR /&gt;I would highly suggest that you look into getting some more RAM for this machine.  3rd party RAM is very reasonably priced and works just fine.  I have used Kingston and not had any problems.</description>
      <pubDate>Thu, 07 Aug 2003 01:59:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043415#M812041</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-08-07T01:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043416#M812042</link>
      <description>The one thing I could think of is create a secondary swap space or increase memory.Swap space are related memory.&lt;BR /&gt;&lt;BR /&gt;If the process cannot find space in memory,the less recently used space from memory are transfered to SWAP space.&lt;BR /&gt;&lt;BR /&gt;So if you have a big usage of swaps mean your memory are very busy and a lot of swapping are done.&lt;BR /&gt;&lt;BR /&gt;I guest the right way is to increase your memory.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;mB&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 02:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043416#M812042</guid>
      <dc:creator>malay boy</dc:creator>
      <dc:date>2003-08-07T02:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043417#M812043</link>
      <description>OT for malay.&lt;BR /&gt;&lt;BR /&gt;In case you are looking.&lt;BR /&gt;&lt;BR /&gt;If you want to learn about webhosting, post a thread.  My reply to you was in a doomed thread.&lt;BR /&gt;&lt;BR /&gt;Apologies to owner. Zero points this post please.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 07 Aug 2003 02:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043417#M812043</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-07T02:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043418#M812044</link>
      <description>Using swap space (not just reserving it) is ALWAYS very bad for performance unless most of your programs are idle, perhaps waiting for operator input. If your system seems slow, then you do not have enough memory at all. You have 384megs of RAM which is perhaps adequate for a single user workstation, but only 10% of what you need for a large commercial database program such as Oracle, Informix or Sybase. You can verify how bad the situation is by running vmstat. Look at the "po" column and if it is 2 or 3 digits in size then some of your programs are being slowed, perhaps to about 1% normal speed due to the severe lack of memory.</description>
      <pubDate>Thu, 07 Aug 2003 02:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043418#M812044</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-08-07T02:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: swap memory almost full</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043419#M812045</link>
      <description>Short term fixes:&lt;BR /&gt;- extend the swap online &lt;BR /&gt;- kill the 'problem' process that ocuppying so much swap &lt;BR /&gt;- reboot the system&lt;BR /&gt;&lt;BR /&gt;The most important thing is that you should be looking at what is causing the problem. &lt;BR /&gt;If it is an application with a memory leak, then fix it. Or you might need some RAM.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2003 02:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-almost-full/m-p/3043419#M812045</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-07T02:40:50Z</dc:date>
    </item>
  </channel>
</rss>

