<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143515#M670367</link>
    <description>Hi qiqiz,&lt;BR /&gt;&lt;BR /&gt;The Pseudo wsap is enabled right,&lt;BR /&gt;how about the swap priority set in /etc/fstab.&lt;BR /&gt;check for that, if not assigned .then change it to 1 0 0.&lt;BR /&gt;&lt;BR /&gt;use swapinfo -tam.&lt;BR /&gt;to check the completed details.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Nov 2008 12:19:05 GMT</pubDate>
    <dc:creator>Analyst</dc:creator>
    <dc:date>2008-11-27T12:19:05Z</dc:date>
    <item>
      <title>Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143514#M670366</link>
      <description>I have a system with a 12 Gb of physical swap,&lt;BR /&gt;and 41 Gb of RAM.&lt;BR /&gt;Kernel parameter :&lt;BR /&gt;dbc_min_pct 5&lt;BR /&gt;dbc_max_pct 8&lt;BR /&gt;swapmem_on 1.&lt;BR /&gt;I have a swap problem .&lt;BR /&gt;From Glance i have a message :&lt;BR /&gt;Global Swap space is nearly full.&lt;BR /&gt;On the system there are 805 oracle process that to alloc 30 Mb of "Res Mem" and 35Mb of "Virtual Memory" in RAM .&lt;BR /&gt;My physical swap is empty:&lt;BR /&gt;root@unit_db2:/# swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev     8388608       0 8388608    0%       0       -    1  /dev/vg00/lv_swap&lt;BR /&gt;reserve       - 12582912 -12582912&lt;BR /&gt;memory  41892896 41033104  859792   98%&lt;BR /&gt;&lt;BR /&gt;Why it do not use a physical memory?&lt;BR /&gt;Why oracle use and reserv all this memory for any process? is it correct?&lt;BR /&gt;What can i do to resolve a problem?&lt;BR /&gt;many point at all&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143514#M670366</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2008-11-27T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143515#M670367</link>
      <description>Hi qiqiz,&lt;BR /&gt;&lt;BR /&gt;The Pseudo wsap is enabled right,&lt;BR /&gt;how about the swap priority set in /etc/fstab.&lt;BR /&gt;check for that, if not assigned .then change it to 1 0 0.&lt;BR /&gt;&lt;BR /&gt;use swapinfo -tam.&lt;BR /&gt;to check the completed details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143515#M670367</guid>
      <dc:creator>Analyst</dc:creator>
      <dc:date>2008-11-27T12:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143516#M670368</link>
      <description>You simply need to add more swap space. &lt;BR /&gt;A server with 41GB memory could need anywhere from 40 - 80GB of disk swap.&lt;BR /&gt;&lt;BR /&gt;I know you said "My physical swap is empty" and it is true but all address space (memory + disk swap) is almost used up (running and reserved) by the processes and no new processes will be able to start if swap space is full. &lt;BR /&gt;&lt;BR /&gt;Processes when they start up reserve memory because that's how much they need to run. They don't always use it all.</description>
      <pubDate>Thu, 27 Nov 2008 12:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143516#M670368</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-11-27T12:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143517#M670369</link>
      <description>Swap space is the place holder for parts of RAM that need to be temporarily moved out, in order to accomodate more active processes.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Why it do not use a physical memory?&lt;BR /&gt;&lt;BR /&gt;What makes you say that?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Why oracle use and reserv all this memory for any process? is it correct?&lt;BR /&gt;&lt;BR /&gt;The RAM and swap is there for the processes to use. If oracle is the major process on the system, it would naturally use most of the memory and swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What can i do to resolve a problem?&lt;BR /&gt;&lt;BR /&gt;Add more swap space, preferably disk swap.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143517#M670369</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2008-11-27T13:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143518#M670370</link>
      <description>You indeed need additional device swap. Your device swap is not effectively used (USED column is 0%), but every proces reserves space in the swap area in case in needs to be swapped out.&lt;BR /&gt;And so you have 12GB (= your total device swap) reserved. So there is nothing left and thus the system starts using memory swap as a last resort  to get some swap reservations, and also that area is almost used.&lt;BR /&gt;&lt;BR /&gt;So add or extend your swap. End extend it with at least 20 to 40 GB to see sufficient effects.&lt;BR /&gt;&lt;BR /&gt;One other thing to bare in mind : Whenever your system would crash, you may want to (let HP) investigate why. Todo that, they need the crashdump. Togive them that, the system may need to squeeze 40GB of memory (probably a lot less) into a 4GB dump area (primary swap).&lt;BR /&gt;Run crashconf -v to verify if your system can do with a 4GB dump area, or if t needs more.</description>
      <pubDate>Thu, 27 Nov 2008 13:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143518#M670370</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2008-11-27T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143519#M670371</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It depends on the process requirement. Whenever a process starts it will reserve swap needed if at all it is swapped out. &lt;BR /&gt;I agree that it is expensive to have 1.5times of memory as swap. That is why we are enabling pseudo swap. &lt;BR /&gt;&lt;BR /&gt;From your data you have 12GB of phsical swap and approximately 12GB of swap space is reserved for running process. It just reserved and not being used. You still have some space to reserve from pseduo swap. At this moment you are safe. If you are going to start new process then it may look for free swap to reserve that process and fails if it don't find.  &lt;BR /&gt;&lt;BR /&gt;If you could have provided swapinfo -mat it will be much useful. &lt;BR /&gt;Just look at the total column how much free swap can be reserved.</description>
      <pubDate>Thu, 27 Nov 2008 13:53:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143519#M670371</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-11-27T13:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Swap problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143520#M670372</link>
      <description>OK</description>
      <pubDate>Fri, 28 Nov 2008 11:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-problem/m-p/5143520#M670372</guid>
      <dc:creator>gigiz</dc:creator>
      <dc:date>2008-11-28T11:12:14Z</dc:date>
    </item>
  </channel>
</rss>

