<?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: High swap space usuage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404781#M703237</link>
    <description>Bruno,&lt;BR /&gt;&lt;BR /&gt;Could u go thr' this cookbook attached!!&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Oct 2004 02:57:31 GMT</pubDate>
    <dc:creator>Bharat Katkar</dc:creator>
    <dc:date>2004-10-21T02:57:31Z</dc:date>
    <item>
      <title>High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404780#M703236</link>
      <description>I have a 2-node Serviceguard cluster (11.16) with extensions for RAC (latest version) and running an Oracle 9i RAC (cluster interconnect via Hyperfabric using UDP).&lt;BR /&gt;&lt;BR /&gt;Swap space usuage is constantly very high, over 90%. I have been looking for specific processes who might cause this, but could not find any, even after stopping Oracle RAC, Serviceguard, ... swap space usuage stays very high. After we reboot both machines, all is OK, but after while usuage increases again to over 90%.&lt;BR /&gt;&lt;BR /&gt;Any ideas ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 02:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404780#M703236</guid>
      <dc:creator>Bruno Bossier_1</dc:creator>
      <dc:date>2004-10-21T02:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404781#M703237</link>
      <description>Bruno,&lt;BR /&gt;&lt;BR /&gt;Could u go thr' this cookbook attached!!&lt;BR /&gt;Hope that helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 02:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404781#M703237</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-10-21T02:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404782#M703238</link>
      <description>Are you using raw devices or FS to store Datafiles ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 03:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404782#M703238</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-10-21T03:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404783#M703239</link>
      <description>We are using raw devices. All shared storage is configured using Veritas Cluster Volume Manager.&lt;BR /&gt;&lt;BR /&gt;As for the cookbook, I will look into it, but it's gonna be heavy reading :-)&lt;BR /&gt;&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 03:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404783#M703239</guid>
      <dc:creator>Bruno Bossier_1</dc:creator>
      <dc:date>2004-10-21T03:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404784#M703240</link>
      <description>can't you see processes using a huge amount of memory ? using&lt;BR /&gt;UNIX95=true ps -A -o vsz,pid,args&lt;BR /&gt;and &lt;BR /&gt;ipcs -mb&lt;BR /&gt;&lt;BR /&gt;have you possibility to start with just one node to see if it acts the same ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 03:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404784#M703240</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-10-21T03:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404785#M703241</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The unix95 shown is a good start&lt;BR /&gt;&lt;BR /&gt;Here is a script of 39 lines&lt;BR /&gt;&lt;BR /&gt;     1  #RSZ = Resident set size&lt;BR /&gt;     2  #VSZ = Virtual set size&lt;BR /&gt;     3  #&lt;BR /&gt;     4  #RSZ is a subset of VSZ&lt;BR /&gt;     5  #-the portion of the processes memory which is 'resident'&lt;BR /&gt;     6  #in physical memory (ie not paged out).&lt;BR /&gt;     7  #&lt;BR /&gt;     8  #VSZ is the total size, including resident and non-resident pages.&lt;BR /&gt;     9  #&lt;BR /&gt;    10  #These values are totals, obtained by adding up the memory utilisation of the&lt;BR /&gt;    11  #processes various memory segments (of which there can be lots).&lt;BR /&gt;    12  #################################################################################&lt;BR /&gt;    13  uname -a&lt;BR /&gt;    14  echo -------------------------------------&lt;BR /&gt;    15  /bin/rm /tmp/$PPID 2&amp;gt;/dev/null&lt;BR /&gt;    16    if [ "$LOGNAME" = "root" ]&lt;BR /&gt;    17    then&lt;BR /&gt;    18       echo memory from kernel&lt;BR /&gt;    19       name=$(file /stand/vmunix|grep 64)&lt;BR /&gt;    20         if [ "$name" = "" ]&lt;BR /&gt;    21         then&lt;BR /&gt;    22             echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem 2&amp;gt;/dev/null&lt;BR /&gt;    23             else&lt;BR /&gt;    24             echo phys_mem_pages/D | adb64 /stand/vmunix /dev/kmem 2&amp;gt;&amp;amp;1|grep -i page&lt;BR /&gt;    25          fi&lt;BR /&gt;    26     fi&lt;BR /&gt;    27&lt;BR /&gt;    28  echo " "&lt;BR /&gt;    29  echo swap&lt;BR /&gt;    30  echo -----------------&lt;BR /&gt;    31  swapinfo -tm&lt;BR /&gt;    32  echo " "&lt;BR /&gt;    33  echo memory usage per process&lt;BR /&gt;    34  echo "----------------------------------------------"&lt;BR /&gt;    35  UNIX95= ps -e -o ruser,vsz,sz,pid,args &amp;gt; /tmp/$PPID&lt;BR /&gt;    36  head -n 1 /tmp/$PPID&lt;BR /&gt;    37  tail -n +2 /tmp/$PPID|&lt;BR /&gt;    38  sort -rnk2&lt;BR /&gt;    39  /bin/rm /tmp/$PPID 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also look at&lt;BR /&gt;&lt;BR /&gt;Memory Usage - â  What is using all of the memory?â  &lt;BR /&gt;&lt;BR /&gt;by:eric.herberholz@hp.com&lt;BR /&gt;&lt;BR /&gt;Last modified: October 18, 2004&lt;BR /&gt;&lt;BR /&gt;Full document is available at external ftp site: ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;The "Table of Contents" is available in ITRC doc id MEMORYKBAN00000975&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can reach the ftp site shown and there is good info and tools available&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve</description>
      <pubDate>Thu, 21 Oct 2004 04:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404785#M703241</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-10-21T04:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404786#M703242</link>
      <description>OK, thanks to all. We have also a call open with HP support, but will in parallel investigate using this script.&lt;BR /&gt;&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Oct 2004 07:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404786#M703242</guid>
      <dc:creator>Bruno Bossier_1</dc:creator>
      <dc:date>2004-10-21T07:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: High swap space usuage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404787#M703243</link>
      <description>Swap usage means low memory or very high memory mapped file usage. Now the ps listing (UNIX95= ps -e -o ...) should total up the current size of process usage, but also check on shared memory usage:&lt;BR /&gt; &lt;BR /&gt;ipcs -bmop&lt;BR /&gt; &lt;BR /&gt;You may find huge shared memory segments, which is OK and really improves performance unless you have critically small RAM. If swap thrashing is occcuring (processes competing for memory) then vmstat's metric po (page out) will indicate this. Single digits OK, double digits so-so, triple digits for long periods = very bad performance and lack of RAM.</description>
      <pubDate>Thu, 21 Oct 2004 08:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/high-swap-space-usuage/m-p/3404787#M703243</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-10-21T08:19:13Z</dc:date>
    </item>
  </channel>
</rss>

