<?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 issue. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192309#M461822</link>
    <description>&lt;BR /&gt;Dear Guru's&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please find the swapinfo and vmstat output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;swapinfo -atm&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        8192    1542    6650   19%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    5031   -5031&lt;BR /&gt;total      8192    6573    1619   80%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vmstat -n&lt;BR /&gt;VM&lt;BR /&gt;       memory                     page                          faults&lt;BR /&gt;     avm    free   re   at    pi   po    fr   de    sr     in     sy    cs&lt;BR /&gt;  995770    7435   47   45     4    2     0    0     7    846  15660   468&lt;BR /&gt;CPU&lt;BR /&gt;    cpu          procs&lt;BR /&gt; us sy id    r     b     w&lt;BR /&gt;  2  1 97    2     2     0&lt;BR /&gt;  1  1 98&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Aug 2009 06:17:55 GMT</pubDate>
    <dc:creator>jeevarajkn</dc:creator>
    <dc:date>2009-08-12T06:17:55Z</dc:date>
    <item>
      <title>Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192301#M461814</link>
      <description>Dear guru,s&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Server- HPUX IA -11.23&lt;BR /&gt;&lt;BR /&gt;Phy.mem-6GB&lt;BR /&gt;&lt;BR /&gt;Device Swap-8GB&lt;BR /&gt;&lt;BR /&gt;we are facing very high swap utilization in server almost(80%)hence am planning to add secondary swap on the server.&lt;BR /&gt;&lt;BR /&gt;I have two VG's Vg00 with 32GB free space and VG01 with 4GB free space.&lt;BR /&gt;&lt;BR /&gt;First upon I want to know if am enabling secondary swap,is it reduce my swap utilization?&lt;BR /&gt;&lt;BR /&gt;how much size I want to add as my secondary swap?&lt;BR /&gt;&lt;BR /&gt;Whether I can use VG00 as my secondary swap or I want to use other VG's.&lt;BR /&gt;&lt;BR /&gt;Awaiting for your valid inputs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Reg&lt;BR /&gt;&lt;BR /&gt;Jeevaraj Siavaraman&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2009 06:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192301#M461814</guid>
      <dc:creator>jeevarajkn</dc:creator>
      <dc:date>2009-08-11T06:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192302#M461815</link>
      <description>As simple reality check is to provide the "swapinfo -tam" output during your heavy load.&lt;BR /&gt;&lt;BR /&gt;A high device swap allocation isn't a problem unless you want to add more processes or you are having lots of "po" (page outs).</description>
      <pubDate>Tue, 11 Aug 2009 06:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192302#M461815</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-08-11T06:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192303#M461816</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;first, where do you see the swap utilization - glance, swapinfo or vmstat?&lt;BR /&gt;&lt;BR /&gt;If you enable secondary swap then you devide the usage to two swap devices, but you don't change the reason. The server can become a bit faster if you use a second disk for the second swap, but is this what you want?&lt;BR /&gt;&lt;BR /&gt;Any swap will slow down your server, it's recommended that you have enough RAM to prevent server from swapping.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2009 06:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192303#M461816</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2009-08-11T06:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192304#M461817</link>
      <description>Hi Jeevaraj,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;we are facing very high swap utilization in server almost(80%)hence am planning to add secondary swap on the server.&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;First upon I want to know if am enabling secondary swap,is it reduce my swap utilization?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Most of the time people misunderstood this. If swap is highly utilised, it means you are running out of physical memory. Adding additional swap is not going to help on this situation.&lt;BR /&gt;&lt;BR /&gt;First check the RAM usage using glance. If RAM is full, system has to free up some space for new process by swaping out to disk. Then after some time it has to bring back the swapped out process into memory. So system will be busy with swap in and swap out activities and nothing useful work will be done.&lt;BR /&gt;&lt;BR /&gt;In this scenorio, either you have to find out the processes which use high memory and analyse if it really need that much memory or increase the physical memory on the server.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2009 07:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192304#M461817</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-08-11T07:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192305#M461818</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick repply.&lt;BR /&gt;&lt;BR /&gt;Iam using swapinfo tro check the swap utilization as I dont have any other utility installed.&lt;BR /&gt;&lt;BR /&gt;Am well aware that increasing swap will ot solve my issue. But Iam using the swapinfo command to check the utilization and the same has been configurd in sitescope(Monitoring tool) to get the alerts.As my current threshold is 80% am getting lot of alerts from sitescope and I don't want to reduce my threshold. Becauuse of this I want to decrease the utilization value from 80% to reduce the alerts.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;reg&lt;BR /&gt;&lt;BR /&gt;Jeevaraj</description>
      <pubDate>Tue, 11 Aug 2009 09:10:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192305#M461818</guid>
      <dc:creator>jeevarajkn</dc:creator>
      <dc:date>2009-08-11T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192306#M461819</link>
      <description>&amp;gt;I am using swapinfo to check the swap utilization&lt;BR /&gt;&lt;BR /&gt;Please provide the "swapinfo -tam" output so we can see it too.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Am well aware that increasing swap will not solve my issue.&lt;BR /&gt;&lt;BR /&gt;We don't know that yet.</description>
      <pubDate>Tue, 11 Aug 2009 09:34:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192306#M461819</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-08-11T09:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192307#M461820</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We really do not know "what to you mean by high swap utilization" ?&lt;BR /&gt;&lt;BR /&gt;Are you talking about swap reservation? or swap in and swap out activity?&lt;BR /&gt;&lt;BR /&gt;If the reserved swap is high, then you have to increase the swap. If swap utilisation is high then you may need to increase physical memory.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2009 09:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192307#M461820</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-08-11T09:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192308#M461821</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what does 'vmstat -n' tells?&lt;BR /&gt;&lt;BR /&gt;Real swapping is listed under pi and po.&lt;BR /&gt;&lt;BR /&gt;If it's only swap reservation, then you can of course increase it.&lt;BR /&gt;As said above, another disk make sense then.&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Aug 2009 10:44:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192308#M461821</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2009-08-11T10:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192309#M461822</link>
      <description>&lt;BR /&gt;Dear Guru's&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please find the swapinfo and vmstat output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;swapinfo -atm&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        8192    1542    6650   19%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    5031   -5031&lt;BR /&gt;total      8192    6573    1619   80%       -       0    -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vmstat -n&lt;BR /&gt;VM&lt;BR /&gt;       memory                     page                          faults&lt;BR /&gt;     avm    free   re   at    pi   po    fr   de    sr     in     sy    cs&lt;BR /&gt;  995770    7435   47   45     4    2     0    0     7    846  15660   468&lt;BR /&gt;CPU&lt;BR /&gt;    cpu          procs&lt;BR /&gt; us sy id    r     b     w&lt;BR /&gt;  2  1 97    2     2     0&lt;BR /&gt;  1  1 98&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Aug 2009 06:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192309#M461822</guid>
      <dc:creator>jeevarajkn</dc:creator>
      <dc:date>2009-08-12T06:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192310#M461823</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;see 'man swapinfo' - &lt;BR /&gt;reserve:    Paging space on reserve.  &lt;BR /&gt;This is the amount of paging space that could be needed by processes that are currently running, but that has not yet been allocated from one of the above paging areas.&lt;BR /&gt;&lt;BR /&gt;For your configuration your swap is ok, you have a high memory (RAM) usage, so you swap device is high used.&lt;BR /&gt;At the moment your server has swapped (paged out) 4 times and reread from swap (paged in) 2 times. But in which period? Does it happen oftener?&lt;BR /&gt;You should watch this server over a longer time. &lt;BR /&gt;&lt;BR /&gt;You can add swap, but it will not change much, you'll have less than 80% then, but it's only reserved, not used.&lt;BR /&gt;If you add more RAM, then you have to increase swap too, but at the moment ... it's not a must.&lt;BR /&gt;&lt;BR /&gt;Also you have two blocked processes - see&lt;BR /&gt;'man vmstat' -&amp;gt; Blocked for resources (I/O, paging, etc.)&lt;BR /&gt;Maybe you should check this.&lt;BR /&gt;&lt;BR /&gt;For a detailed monitoring of a server 'glance' is very often mentioned in this forum, maybe you should think about a test installation.&lt;BR /&gt;&lt;BR /&gt;V.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Aug 2009 07:21:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192310#M461823</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2009-08-12T07:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192311#M461824</link>
      <description>&amp;gt;Please find the swapinfo output.&lt;BR /&gt;reserve - 5031 -5031&lt;BR /&gt;total 8192 6573 1619 80%&lt;BR /&gt;&lt;BR /&gt;You don't have a memory line.  The first thing you should do is enable pseudo-swap with:&lt;BR /&gt;kctune swapmem_on=1&lt;BR /&gt;(This does require a reboot.)</description>
      <pubDate>Wed, 12 Aug 2009 09:47:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192311#M461824</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-08-12T09:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Swap memory issue.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192312#M461825</link>
      <description>Dear Guru's&lt;BR /&gt;&lt;BR /&gt;Thanks...I believe increasing the Phy.memory will be good iption.</description>
      <pubDate>Tue, 18 Aug 2009 03:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/5192312#M461825</guid>
      <dc:creator>jeevarajkn</dc:creator>
      <dc:date>2009-08-18T03:40:16Z</dc:date>
    </item>
  </channel>
</rss>

