<?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 possible memory configuration problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054761#M813615</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Whe have a HPUX server rp5470 with 6 GB internal memory the swapspace on disk is 1 GB &lt;BR /&gt;Whe having some problems with an application, the error file has the following TSSQLERROR&amp;gt;ORA-12540: TNS:internal limit restriction exceeded. The application manufacture advise us to increase the swapfile 2 times internal memory (12GB), but when i monitor the server the buffer cache isn't decreasing and sar shows no swapping at all. The performance of the server is good. &lt;BR /&gt;We are not sure that the advise of our software  manufacturer solves our problem bij changing memory-parameters We think by looking at measured data we don't have a memory problem at all. Are we right ?? &lt;BR /&gt;swapinfo : &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 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2 &lt;BR /&gt;reserve - 1024 -1024 &lt;BR /&gt;memory 4775 3915 860 82% &lt;BR /&gt;total 5799 4939 860 85% - 0 - &lt;BR /&gt;I think that this isn't the problem, can anyone advise me &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 22 Aug 2003 10:29:09 GMT</pubDate>
    <dc:creator>P. Mijnheer</dc:creator>
    <dc:date>2003-08-22T10:29:09Z</dc:date>
    <item>
      <title>possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054761#M813615</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Whe have a HPUX server rp5470 with 6 GB internal memory the swapspace on disk is 1 GB &lt;BR /&gt;Whe having some problems with an application, the error file has the following TSSQLERROR&amp;gt;ORA-12540: TNS:internal limit restriction exceeded. The application manufacture advise us to increase the swapfile 2 times internal memory (12GB), but when i monitor the server the buffer cache isn't decreasing and sar shows no swapping at all. The performance of the server is good. &lt;BR /&gt;We are not sure that the advise of our software  manufacturer solves our problem bij changing memory-parameters We think by looking at measured data we don't have a memory problem at all. Are we right ?? &lt;BR /&gt;swapinfo : &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 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2 &lt;BR /&gt;reserve - 1024 -1024 &lt;BR /&gt;memory 4775 3915 860 82% &lt;BR /&gt;total 5799 4939 860 85% - 0 - &lt;BR /&gt;I think that this isn't the problem, can anyone advise me &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 10:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054761#M813615</guid>
      <dc:creator>P. Mijnheer</dc:creator>
      <dc:date>2003-08-22T10:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054762#M813616</link>
      <description>Here is an extract from metalink regarding this issue, are other points corrects ?&lt;BR /&gt;&lt;BR /&gt;usually, a minimum of 1/1 ratio between memory and swap is raccomended for best performance.&lt;BR /&gt;&lt;BR /&gt;Check also your dbc_min_pct, dbc_max_pct, good values for oracle are 5/8.&lt;BR /&gt;&lt;BR /&gt;But i don't think that it's a memory problem, chech the other parameters first.&lt;BR /&gt;&lt;BR /&gt;BTW, oracle 32 or 64 bit ? If 32bit, nothing beyond 2G is usefull...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;################################&lt;BR /&gt;&lt;BR /&gt;Document ID:            105718.746 &lt;BR /&gt;Title:                  UNIX: ORA-12540 and SQL*Net V2 &lt;BR /&gt;Creation Date:          13 May 1994 &lt;BR /&gt;Last Revision Date:     15 March 1995 &lt;BR /&gt;Revision Number:        1 &lt;BR /&gt;Product:                SQL*Net &lt;BR /&gt;Product Version:        V2 &lt;BR /&gt;Platform:               UNIX &lt;BR /&gt;Information Type:       SOLUTION &lt;BR /&gt;Impact:                 HIGH &lt;BR /&gt;Abstract:               This bulletin explains the possible causes for an &lt;BR /&gt;                        ORA-12540 on Unix. &lt;BR /&gt;Keywords:               SQL*NET;V2;12540;UNIX;NETWORK &lt;BR /&gt;----------------------------------------------------------------------------- &lt;BR /&gt; &lt;BR /&gt;                       UNIX: ORA-12540 and SQL*Net V2 &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Error text: &lt;BR /&gt;=========== &lt;BR /&gt; &lt;BR /&gt;  ORA-12540, 00000, "TNS:internal limit restriction exceeded" &lt;BR /&gt;      Cause:   Too many TNS connections open simultaneously. &lt;BR /&gt;     Action:   Wait for connections to close and re-try. &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Solution Explanation: &lt;BR /&gt;===================== &lt;BR /&gt; &lt;BR /&gt; - An ORA-12540 can be a result of the processes parameter in the "init.ora" &lt;BR /&gt;   being too low.  Processes should be set to the number of background  &lt;BR /&gt;   processes plus one for each connection to the database. &lt;BR /&gt; &lt;BR /&gt; - If the "init.ora" processes parameter seems ok, then you may need to  &lt;BR /&gt;   increase the Unix kernel parameters for the maximum number of processes or  &lt;BR /&gt;   users (for example, nproc or maxuprc).  Check the manuals for the Unix  &lt;BR /&gt;   operating system that you are using for the correct parameters. &lt;BR /&gt; &lt;BR /&gt; - The ORA-12540 can also occur if you do not have enough swap space. You may &lt;BR /&gt;   need to increase your swap space. &lt;BR /&gt; &lt;BR /&gt; - If SQL*Net V2 is installed, by default a direct connection will try to go &lt;BR /&gt;   through the BEQ adapter that is installed automatically when you install &lt;BR /&gt;   SQL*Net V2.  If you don't necessarily want to connect via SQL*Net V2 and you &lt;BR /&gt;   have the SQL*Net V1 Pipe driver installed, set the environment variable &lt;BR /&gt;   TWO_TASK: setenv TWO_TASK=P: &lt;BR /&gt; &lt;BR /&gt;   This is one way to workaround an ORA-12540.  Setting TWO_TASK=P: means your &lt;BR /&gt;   connections will use the V1 Pipe driver, unless a different connect string  &lt;BR /&gt;   is given on the command line.  You may ask yourself, how can this work when  &lt;BR /&gt;   there isn't a SID given in the TWO_TASK string?  In this case the  &lt;BR /&gt;   "ORACLE_SID" will be resolved in the user's environment. &lt;BR /&gt; &lt;BR /&gt;As for the implications of using a V1 Pipe driver... &lt;BR /&gt; &lt;BR /&gt;        - you can only connect to a local database &lt;BR /&gt;        - you can't connect via MTS &lt;BR /&gt; &lt;BR /&gt;...and in some cases, it's the default already.  But that ought to change in &lt;BR /&gt;future releases for most Unix platforms, if it hasn't already. &lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 10:35:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054762#M813616</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-22T10:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054763#M813617</link>
      <description>The parameters dbc_min_pct = 5 and dbc_max_pct = 50 do you suggest to change it to dbc_min_pct =5 and dbc_max_pct=8 ? &lt;BR /&gt;We think that the Server isn't swapping at all why should we change the swapfile size to ratio 1/1 Is it realy neccassary to have a 1/1 ratio between memory and swap ?? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2003 11:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054763#M813617</guid>
      <dc:creator>P. Mijnheer</dc:creator>
      <dc:date>2003-08-22T11:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054764#M813618</link>
      <description>HI,&lt;BR /&gt;for the swap it's only a general rule. There are many other threads that discuss this, with pro and contro, the last decision is up to you.&lt;BR /&gt;&lt;BR /&gt;If you have not enough swap (1/1 ratio), you cannot use all of your memory, because of memory pre-allocation issues.&lt;BR /&gt;&lt;BR /&gt;For the dbc_max_pct, usually it's an oracle advice to set this parameters, to free up some memory and let the buffering be done by oracle and not by OS.&lt;BR /&gt;&lt;BR /&gt;With oracle and oracle/sap 5 and 8 (you interpreted correctly) are the best advice.&lt;BR /&gt;&lt;BR /&gt;But, returning to your problem, before any change to kernel parameters (that requires a kernel rebuild and a reboot), i will check the other parameters regarding oracle.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 22 Aug 2003 11:37:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054764#M813618</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-22T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054765#M813619</link>
      <description>You definitely need to bring dbc_max_pct down to 8-10 which is roughly up to 600MB out of 6GB RAM.  In addition, resize your primary swap space to at least the size of your RAM (6GB).  By looking at the swapinfo output, I can tell that your system consumes a lot of RAM and your swapspace is TOO small to have enough allocated space for each active process.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 22 Aug 2003 12:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054765#M813619</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2003-08-22T12:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054766#M813620</link>
      <description>changing the dbc_max_pct to 8 (we use 10) is a GOOD idea.  Ohterwise you waste memory on unneccesary buffer cache.Do it.&lt;BR /&gt;&lt;BR /&gt;Having swap equal to a minimum of 1 x memory is a good idea.  The OS "reserves" space in swap for every process in memory, so your swap will fill up WAY before your memory and you will get "out of memory" errors in your applications.  Do it.&lt;BR /&gt;&lt;BR /&gt;However, neither of these is your problem here.  The guy above had the answer about "too many concurrent connections."  Fix that problem.</description>
      <pubDate>Fri, 22 Aug 2003 13:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054766#M813620</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-08-22T13:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: possible memory configuration problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054767#M813621</link>
      <description>One is the dynamic buffer cache dbc_max_pct.&lt;BR /&gt;&lt;BR /&gt;The other one is whether you have swapmem_on is set to 1, enabling pseudo-swap.&lt;BR /&gt;&lt;BR /&gt;Revert</description>
      <pubDate>Fri, 22 Aug 2003 13:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/possible-memory-configuration-problem/m-p/3054767#M813621</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-08-22T13:13:46Z</dc:date>
    </item>
  </channel>
</rss>

