<?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: Oracle Processes Consuming All Virtual Swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063227#M306211</link>
    <description>&amp;gt;vm usage is 8x higher on the dev box.&lt;BR /&gt;&lt;BR /&gt;Where do you get 8X?  I see under total/USED 6988 vs 8712.  Any other numbers are illusions for the bookkeepers.&lt;BR /&gt;&lt;BR /&gt;It appears you may be talking about "Here are some memory stats" instead of swapinfo, where did you get them?</description>
    <pubDate>Fri, 31 Aug 2007 21:54:09 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-08-31T21:54:09Z</dc:date>
    <item>
      <title>Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063220#M306204</link>
      <description>&lt;!--!*#--&gt;I have two, identical rp4440's.  One houses production databases and the other houses development.  &lt;BR /&gt;&lt;BR /&gt;Here are some memory stats on Oracle 9i processes on the prod server:&lt;BR /&gt;&lt;BR /&gt;ora_pmon_prod - vm: 96.2mb - rss: 41.0mb&lt;BR /&gt;ora_smon_prod - vm: 97.6mb - res: 29.6mb&lt;BR /&gt;ora_arc0_prod - vm: 163.3mb - res 32.8mb&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam from the prod server reports:&lt;BR /&gt;             Mb      Mb      Mb   PCT&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED&lt;BR /&gt;dev        4096      78    4018    2%&lt;BR /&gt;reserve       -    4014   -4014&lt;BR /&gt;memory     5901    2896    3005   49%&lt;BR /&gt;total      9997    6988    3009   70%&lt;BR /&gt;&lt;BR /&gt;Now, these servers are the same, right down to identical kernel parameters (which follow Oracle recommendations), hardware, and storage.  Moreover, the dev database was created as a datafile clone of prod, and uses the same init.ora config file, also running Oracle 9i at the same patch-level.&lt;BR /&gt;&lt;BR /&gt;Take a look at the memory stats of Oracle processes from the dev machine:&lt;BR /&gt;&lt;BR /&gt;ora_pmon_dev - vm: 873.9mb - res: 123.6mb&lt;BR /&gt;ora_smon_dev - vm: 273.1mb - res: 123.2mb&lt;BR /&gt;ora_arc0_dev - vm: 303.1mb - res: 128.9mb&lt;BR /&gt;&lt;BR /&gt;Here's swapinfo -tam from this box:&lt;BR /&gt;&lt;BR /&gt;             Mb      Mb      Mb   PCT &lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED &lt;BR /&gt;dev        4096       0    4096    0% &lt;BR /&gt;reserve       -    4096   -4096&lt;BR /&gt;memory     6241    4616    2625   74%&lt;BR /&gt;total     10337    8712    2625   84% &lt;BR /&gt;&lt;BR /&gt;Across the board, Oracle processes on the dev box take up much more virtual memory and rss than on prod, leading to a lack of virtual swap.  This is causing "Could not fork: Not enough space" errors.&lt;BR /&gt;&lt;BR /&gt;Does anyone have an idea as to how memory usage can be so drastically different between these two databases?  Any ideas how to reduce memory usage on my dev box?&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Thu, 30 Aug 2007 11:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063220#M306204</guid>
      <dc:creator>xwin_1</dc:creator>
      <dc:date>2007-08-30T11:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063221#M306205</link>
      <description>Your boxes and Oracle may very well be the same - identical, but that does not mean what is running on it is the same.&lt;BR /&gt;&lt;BR /&gt;You mention it's the development box that is showing issues - extensive memory utilization and fork error.  If your kernel parms are same, and are sufficient for a "development" environment, than I'd guess somebody has spawned a nasty test program.&lt;BR /&gt;&lt;BR /&gt;Other thing........I'd add some additional device swap to both those boxes.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita</description>
      <pubDate>Thu, 30 Aug 2007 11:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063221#M306205</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2007-08-30T11:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063222#M306206</link>
      <description>Both of your server swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;the total memory used is &amp;gt; 70%, meaning your system is extremely busy, you may have memory bottleneck.I ncreasing more swap space may help.&lt;BR /&gt;&lt;BR /&gt;What is your current dbc_max_pct and dbc_min_pct? &lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Aug 2007 12:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063222#M306206</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-30T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063223#M306207</link>
      <description>Thanks for the quick response, guys.&lt;BR /&gt;&lt;BR /&gt;@Rita:  The prod box undergoes much heavier usage, in terms of client connections, active processes, total processes, etc. than dev.  So, if anything, I would expect swap utilization and memory pressure to be worse there.  In fact, the opposite is true.  Also, when I received the process fork error, swapinfo reported dev usage to be 0%, meaning that no paging to disk had occurred.  I don't understand why my 4096mb of true swap on disk wasn't touched _BEFORE_ the error occurred.  This makes me believe that adding additional disk swap, while technically the "right" thing to do, will not alleviate the situation.&lt;BR /&gt;&lt;BR /&gt;@whiteknight:  I've got a static 800mb of buffer cache on each box.&lt;BR /&gt;&lt;BR /&gt;Any other ideas?</description>
      <pubDate>Thu, 30 Aug 2007 13:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063223#M306207</guid>
      <dc:creator>xwin_1</dc:creator>
      <dc:date>2007-08-30T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063224#M306208</link>
      <description>nfork I'm sure you already know is telling you that you are unable to fork another process - this can be caused by a kernel parm set to low (nproc &amp;amp; associated parms) or your out of swap.&lt;BR /&gt;&lt;BR /&gt;As I mentioned, you don't have any additional swap disk set up.  You don't say what your parms are, so it is hard for anyone to comment further on that point.&lt;BR /&gt;&lt;BR /&gt;I appreciate your view that the production box is getting far more activity, however, it's been my experience that one very poorly written little query can bring a box to it's knee's - that or a new developer with lots of poor code.  Jobs that die in development don't always release their resources, leaving less and less for the next process.  &lt;BR /&gt;&lt;BR /&gt;Hope you get it resolved,&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita</description>
      <pubDate>Thu, 30 Aug 2007 13:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063224#M306208</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2007-08-30T13:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063225#M306209</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;For oracle servers, 11.11 drop dbc_max_pct to between 7-10 and dbc_min_pct two or three below it.&lt;BR /&gt;&lt;BR /&gt;This decreases buffer cache memory use and prevents major changes which kill performance when they happen on the fly.&lt;BR /&gt;&lt;BR /&gt;Also, take a look at the oracle sga, there may be massive memory savings to be had from there.&lt;BR /&gt;&lt;BR /&gt;If neither can be done, buy some memory.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 30 Aug 2007 13:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063225#M306209</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-30T13:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063226#M306210</link>
      <description>While I appreciate everyone's answer, I still don't have an explanation as to why rss memory usage is 3x higher and vm usage is 8x higher on the dev box.</description>
      <pubDate>Fri, 31 Aug 2007 12:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063226#M306210</guid>
      <dc:creator>xwin_1</dc:creator>
      <dc:date>2007-08-31T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Processes Consuming All Virtual Swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063227#M306211</link>
      <description>&amp;gt;vm usage is 8x higher on the dev box.&lt;BR /&gt;&lt;BR /&gt;Where do you get 8X?  I see under total/USED 6988 vs 8712.  Any other numbers are illusions for the bookkeepers.&lt;BR /&gt;&lt;BR /&gt;It appears you may be talking about "Here are some memory stats" instead of swapinfo, where did you get them?</description>
      <pubDate>Fri, 31 Aug 2007 21:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/oracle-processes-consuming-all-virtual-swap/m-p/4063227#M306211</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-31T21:54:09Z</dc:date>
    </item>
  </channel>
</rss>

