<?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: swapping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598534#M33794</link>
    <description>Hi Stefen,&lt;BR /&gt;Thanks for the reply. &lt;BR /&gt;I think PHSS_23670 is required for mib2agt.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct                  50  &lt;BR /&gt;dbc_min_pct                   5  &lt;BR /&gt;***********&lt;BR /&gt; 967080 root      1968 /usr/sbin/mib2agt&lt;BR /&gt;  79600 sg1adm   24956 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  56864 sg1adm   25748 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  46392 orasg1     927 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  43584 sg1adm   11167 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  43216 sg1adm   19477 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  43200 sg1adm   24954 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  42976 sg1adm   22964 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  42528 sg1adm   25156 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  41040 sg1adm     922 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  40328 orasg1   27825 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  40040 orasg1   25753 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  38600 orasg1   19484 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  37136 sg1adm   24955 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Oct 2001 07:29:15 GMT</pubDate>
    <dc:creator>Animesh Chakraborty</dc:creator>
    <dc:date>2001-10-22T07:29:15Z</dc:date>
    <item>
      <title>swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598530#M33790</link>
      <description>Hi,&lt;BR /&gt;One of our N class server having 2GB memory ,2 CPUs,20 GB swap running oracle databese for sap application.&lt;BR /&gt;vmstat -s out put shows :&lt;BR /&gt;#vmstat -s&lt;BR /&gt;9570476 swap ins&lt;BR /&gt;9570493 swap outs&lt;BR /&gt;57802 pages swapped in&lt;BR /&gt;1007722 pages swapped out&lt;BR /&gt;1277702576 total address trans. faults taken&lt;BR /&gt;365441200 page ins&lt;BR /&gt;2069089 page outs&lt;BR /&gt;26259892 pages paged in&lt;BR /&gt;12705088 pages paged out&lt;BR /&gt;336176349 reclaims from free list&lt;BR /&gt;353105123 total page reclaims&lt;BR /&gt;28387 intransit blocking page faults&lt;BR /&gt;966096162 zero fill pages created&lt;BR /&gt;670100863 zero fill page faults&lt;BR /&gt;127564167 executable fill pages created&lt;BR /&gt;5845660 executable fill page faults&lt;BR /&gt;0 swap text pages found in free list&lt;BR /&gt;64270503 inode text pages found in free list&lt;BR /&gt;2846 revolutions of the clock hand&lt;BR /&gt;66557963 pages scanned for page out&lt;BR /&gt;74681319 pages freed by the clock daemon&lt;BR /&gt;3099650326 cpu context switches&lt;BR /&gt;8318653950 device interrupts&lt;BR /&gt;2115269423 traps&lt;BR /&gt;62176108870 system calls&lt;BR /&gt;423296504 Page Select Size Successes for Page size 4K&lt;BR /&gt;24222619 Page Select Size Successes for Page size 16K&lt;BR /&gt;423296504 Page Select Size Failures for Page size 16K&lt;BR /&gt;1350976449 Page Allocate Successes for Page size 4K&lt;BR /&gt;37330318 Page Allocate Successes for Page size 16K&lt;BR /&gt;7241 Page Allocate Successes for Page size 64K&lt;BR /&gt;301 Page Allocate Successes for Page size 256K&lt;BR /&gt;20 Page Allocate Successes for Page size 1M&lt;BR /&gt;2 Page Allocate Successes for Page size 64M&lt;BR /&gt;20620128 Page Allocate Failures for Page size 4K&lt;BR /&gt;21404189 Page Allocate Failures for Page size 16K&lt;BR /&gt;35214 Page Allocate Failures for Page size 64K&lt;BR /&gt;49696 Page Allocate Failures for Page size 256K&lt;BR /&gt;50298 Page Allocate Failures for Page size 1M&lt;BR /&gt;50338 Page Allocate Failures for Page size 4M&lt;BR /&gt;50338 Page Allocate Failures for Page size 16M&lt;BR /&gt;50338 Page Allocate Failures for Page size 64M&lt;BR /&gt;1502867 Page Demotions for Page size 16K&lt;BR /&gt;7138 Page Demotions for Page size 64K&lt;BR /&gt;273 Page Demotions for Page size 256K&lt;BR /&gt;15 Page Demotions for Page size 1M&lt;BR /&gt;&lt;BR /&gt;I am suspecting memory leak.&lt;BR /&gt;What else should I check for this high paging.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Animesh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 04:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598530#M33790</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-10-22T04:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598531#M33791</link>
      <description>&lt;BR /&gt;Cor, 2 GB of RAM and 20 GB of swap !! Is this right ?&lt;BR /&gt;&lt;BR /&gt;How about some output from swapinfo -mt  and;&lt;BR /&gt;vmstat 1 10&lt;BR /&gt;&lt;BR /&gt;This will show swap/paging usage a bit better.....&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 06:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598531#M33791</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-22T06:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598532#M33792</link>
      <description>Hi,&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        4096    1097    2999   27%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev       16000    1103   14897    7%       0       -    1  /dev/vg00/swap01&lt;BR /&gt;reserve       -    1664   -1664&lt;BR /&gt;memory     1534     856     678   56%&lt;BR /&gt;total     21630    4720   16910   22%       -       0    -&lt;BR /&gt;&lt;BR /&gt;#vmstat 1 10&lt;BR /&gt;         procs           memory                   page                         u&lt;BR /&gt;    r     b     w      avm    free   re   at    pi   po    fr   de    sr     ind&lt;BR /&gt;    3     0     0   325865    2717   27    6     2    1     7    0     6    5982&lt;BR /&gt;    1     1     0   327517    2626   27    3     2    0     1    0     0   19478&lt;BR /&gt;    1     1     0   327517    2671   25    3     2    0     3    0     0   18447&lt;BR /&gt;    1     1     0   327517    2671   28    4     2    0     4    0     0   17746&lt;BR /&gt;    1     1     0   327517    2671   22    3     2    0     3    0     0   17270&lt;BR /&gt;    1     1     0   327517    2671   18    2     1    0     2    0     0   16888&lt;BR /&gt;    0     0     0    79580    2671   15    1     0    0     1    0     0   16526&lt;BR /&gt;    0     0     0    79580    2671   22    3     1    0     3    0     0   16114&lt;BR /&gt;    0     0     0    79580    2671   18    2     0    0     2    0     0   15885&lt;BR /&gt;    0     0     0    79580    2671   15    1     0    0     1    0     0   15877&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 06:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598532#M33792</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-10-22T06:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598533#M33793</link>
      <description>&lt;BR /&gt;So you do have 20GB of swap, why with only 2GB of RAM ? You only need swap=ram size.&lt;BR /&gt;&lt;BR /&gt;Total device swap usage = 2999+14897 (or 18MB) which basically means at some point (not necessarily right now) you had 18MB of processes swapped to disk. This means at some point memory pressure was so tight that you were 18MB of RAM short of what you needed.&lt;BR /&gt;&lt;BR /&gt;vmstat free column (2671 - * 4096) = 10MB free right now, which is ok. The pi/po rate is very small which means very little paging going on right now which is good.&lt;BR /&gt;&lt;BR /&gt;So, youre running at 99% memory usage now and at some point went just over 100%. You need to find out what is causing the memory pressure. Whats your unix buffer cache set to ?&lt;BR /&gt;(sysdef | grep dbc) This can be reduced which should freeup lots of memory. How much shared memory is Oracle using ?&lt;BR /&gt;&lt;BR /&gt;If you run the following command (its all on one line) it will list processes by their memory size, then we can see if anything big hogging memory which can be stopped;&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | more &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 07:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598533#M33793</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-22T07:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598534#M33794</link>
      <description>Hi Stefen,&lt;BR /&gt;Thanks for the reply. &lt;BR /&gt;I think PHSS_23670 is required for mib2agt.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct                  50  &lt;BR /&gt;dbc_min_pct                   5  &lt;BR /&gt;***********&lt;BR /&gt; 967080 root      1968 /usr/sbin/mib2agt&lt;BR /&gt;  79600 sg1adm   24956 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  56864 sg1adm   25748 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  46392 orasg1     927 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  43584 sg1adm   11167 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  43216 sg1adm   19477 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  43200 sg1adm   24954 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  42976 sg1adm   22964 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  42528 sg1adm   25156 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  41040 sg1adm     922 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;GS0&lt;BR /&gt;  40328 orasg1   27825 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  40040 orasg1   25753 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  38600 orasg1   19484 oracleSG1 (DESCRIPTION=(LOCAL=NO)(SDU=32768))&lt;BR /&gt;  37136 sg1adm   24955 dw.sapSG1_DVEBMGS00 pf=/usr/sap/SG1/SYS/profile/SG1_DVEBM&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 07:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598534#M33794</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-10-22T07:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598535#M33795</link>
      <description>&lt;BR /&gt;Cor, mib2agt is using tons of MB ! for now you can shut it down - /sbin/init.d/SnmpMib2 stop&lt;BR /&gt;&lt;BR /&gt;We disable this process from running completely on all our servers, it does not cause a problem. Edit /etc/rc.config.d/SnmpMib2 and change the following to 0;&lt;BR /&gt;&lt;BR /&gt;SNMP_MIB2_START=0       # Start the MIB2 SNMP subAgent.&lt;BR /&gt;export SNMP_MIB2_START&lt;BR /&gt;&lt;BR /&gt;That will stop it completely.&lt;BR /&gt;&lt;BR /&gt;Also, your buffer cache is set far too high. Reduce dbc_mac_pct from 50 down to around 15 and reboot. You will then have tons of memory free and shouldnt have to worry about swapping/paging anymore.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2001 07:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598535#M33795</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-22T07:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598536#M33796</link>
      <description>You might also consider lowering dbc_max_pct  from 50 to 10.  This is the maximum amount of physical memory that can be set aside for disk buffer cache.  50 percent is the default, but this tends to be fairly hight and so most ppl lower this down to 10 or even 5 percent.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Mon, 22 Oct 2001 07:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598536#M33796</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-22T07:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598537#M33797</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When setting the dbc_max_pct do also considder that dynamic buffer cache isn't always the best strategy. For manny datbases a fixed buffer cache is better and I normally see that for Oracle installations.&lt;BR /&gt;The book "HP-UX tuning and performance" says that the "growth and shrinking of the cache may in fact cause performance degradation".</description>
      <pubDate>Mon, 22 Oct 2001 09:34:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598537#M33797</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2001-10-22T09:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: swapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598538#M33798</link>
      <description>Animesh,&lt;BR /&gt;&lt;BR /&gt;   Adding further to the&lt;BR /&gt;excellent suggestions folks&lt;BR /&gt;in this thread have given&lt;BR /&gt;so far:&lt;BR /&gt;&lt;BR /&gt;  Check the SGA size of the&lt;BR /&gt;database.  Make sure it is&lt;BR /&gt;not set too high.  The DBA&lt;BR /&gt;should be able to help you&lt;BR /&gt;in figuring the SGA size. &lt;BR /&gt;&lt;BR /&gt;  Also, don't forget to&lt;BR /&gt;reduce the dbc_max size&lt;BR /&gt;to 10%.  It will need a&lt;BR /&gt;kernel regeneration and reboot.&lt;BR /&gt;&lt;BR /&gt;   Install Glance on your&lt;BR /&gt;system, if you don't have&lt;BR /&gt;it.  Helps a lot in tracking&lt;BR /&gt;performance related issues.&lt;BR /&gt;&lt;BR /&gt;-raj</description>
      <pubDate>Mon, 22 Oct 2001 13:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2598538#M33798</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-10-22T13:37:27Z</dc:date>
    </item>
  </channel>
</rss>

