<?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: Program error combined with Oracle error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191223#M164783</link>
    <description>Hi Steve &lt;BR /&gt;&lt;BR /&gt;As you can see, that ITRC thread was also unresolved....&lt;BR /&gt;&lt;BR /&gt;I'll check the Oracle references.</description>
    <pubDate>Mon, 16 Feb 2004 08:45:41 GMT</pubDate>
    <dc:creator>Jakes Louw</dc:creator>
    <dc:date>2004-02-16T08:45:41Z</dc:date>
    <item>
      <title>Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191218#M164778</link>
      <description>Greeting all forum addicts!&lt;BR /&gt;&lt;BR /&gt;I've got a cute problem here: a batch program is falling over, with the following message:&lt;BR /&gt;&lt;BR /&gt;"Feb 13 06:40:06 tcenh046 Operational[18073]: (log:ARINATBDAY_ATBDAY_84_TSA200402&lt;BR /&gt;13) Fatal Error occured in file /tsahome/tsa/cc/cctsa/bb/opign/v04_1n/os/src/OPS&lt;BR /&gt;YS_GenRtn.c, in function Opsys_runUnixCommand, line 1085 : Command sh   -c "arat&lt;BR /&gt;b_day_pr ARINATBDAY ATBDAY_84 TSA 3" can not be executed."&lt;BR /&gt;&lt;BR /&gt;The program mentioned (ARINATBDAY) has been running well for a long time. &lt;BR /&gt;&lt;BR /&gt;After scrutinizing the job logs more carefully, I found this:&lt;BR /&gt;&lt;BR /&gt;"ORA-12223: TNS:internal limit restriction exceeded"&lt;BR /&gt;&lt;BR /&gt;and at this point it would appear as if the connection to the Oracle database fails. &lt;BR /&gt;&lt;BR /&gt;Metalink says we should check kernel params and swap-space. After analysis of dmesg, syslog, and perfview, I can safely say we have NOT exceeded any limits.&lt;BR /&gt;&lt;BR /&gt;What I do know, is that over 100 instances of this program were started almost simultaneously with various run parameters.&lt;BR /&gt;&lt;BR /&gt;I also saw a very short peak in the memory queue (7.51), priority queue (5.46), IPC subsystem queue (248), and sleep queue (3534), all within the same 5 minute snapshot.&lt;BR /&gt;Syscalls jumped to 556000. But the run queue was stable at 1.3, there was no paging or swapping, and memory usage peaked at 36%. Swap use was minimal at 18%.&lt;BR /&gt;A strange stat was that alive processes jumped from 935 to 3606 at the time of the error, and a huge jump in the request for virtual memory (swap).&lt;BR /&gt;&lt;BR /&gt;Analysis of Oracle using Precise shows no problems with init*.ora limits. &lt;BR /&gt;&lt;BR /&gt;Now my question: is there a practical limit to the number of concurrent, simaltaneous job requests that the scheduler can handle?&lt;BR /&gt;Is there also a limit when it comes to other resource allocation, like RSS/VSS, semaphores, queues, and other what-nots that are requested in a very shoer period? &lt;BR /&gt;Now my question is</description>
      <pubDate>Fri, 13 Feb 2004 04:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191218#M164778</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-02-13T04:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191219#M164779</link>
      <description>ORA-12223: TNS:internal limit restriction exceeded &lt;BR /&gt;Cause: Too many TNS connections open simultaneously. &lt;BR /&gt;&lt;BR /&gt;Action: Wait for connections to close and re-try. &lt;BR /&gt;&lt;BR /&gt;see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dbaclick.com/forums/archive/11/3118.html" target="_blank"&gt;http://www.dbaclick.com/forums/archive/11/3118.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe maxuprc in the kernel has run out.&lt;BR /&gt;&lt;BR /&gt;All these things are user oracle&lt;BR /&gt;&lt;BR /&gt;May be errors in syslog.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                     Steve STeel</description>
      <pubDate>Fri, 13 Feb 2004 07:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191219#M164779</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-02-13T07:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191220#M164780</link>
      <description>There is another possibility that if maxuprcs hasn't run out, you may have run into either a maxssiz, maxdsiz or maxmsiz or shmseg,shmmni. These might have been exceeded, also. but The message I got with maxuprcs being exceeded was "unable to fork..."&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Fri, 13 Feb 2004 08:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191220#M164780</guid>
      <dc:creator>Tim Sanko</dc:creator>
      <dc:date>2004-02-13T08:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191221#M164781</link>
      <description>Steve:&lt;BR /&gt;&lt;BR /&gt;Yes, I'm aware what the Oracle error description is. Analysis indicates that they had not exceeded their max number of processes as defined by init.ora. And as I said, there is nothing in syslog or dmesg, which would clearly show if maxuprc or nproc was exceeded.&lt;BR /&gt;Tim: stack size limitations would be prevalent for EVERY call to this program with a specific set of params. In this case, the jobs ran perfectly after a short wait. That implies that Steve is partially correct, but I'm not picking up the specific internal limit that is being exceeded: it's definitely not one of the published limits that I can see.</description>
      <pubDate>Mon, 16 Feb 2004 03:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191221#M164781</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-02-16T03:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191222#M164782</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Getting An ORA-12223 When Trying To Connect GSX:1014739.6 &lt;BR /&gt;ORA-12223 Using SQL*NET V2 GSX:1008370.6 &lt;BR /&gt;&lt;BR /&gt;Are logged on oracle references&lt;BR /&gt;&lt;BR /&gt;look also at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=92217" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=92217&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;              Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Feb 2004 08:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191222#M164782</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-02-16T08:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191223#M164783</link>
      <description>Hi Steve &lt;BR /&gt;&lt;BR /&gt;As you can see, that ITRC thread was also unresolved....&lt;BR /&gt;&lt;BR /&gt;I'll check the Oracle references.</description>
      <pubDate>Mon, 16 Feb 2004 08:45:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191223#M164783</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-02-16T08:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191224#M164784</link>
      <description>&amp;gt; Yes, I'm aware what the Oracle error description is.&lt;BR /&gt;&amp;gt; Analysis indicates that they had not exceeded their max number of processes as defined by init.ora.&lt;BR /&gt;&lt;BR /&gt;If Oracle indicates that an internal limit was exceeded one has to assume it was right.&lt;BR /&gt;How did you proof otherwise? Through V$RESOURCE_LIMIT (of course after the proble, before restart? Some connection logging? Alert.log? Please help us understand hwo you can write this of.&lt;BR /&gt;&lt;BR /&gt;What is the relation between Unix limits like nproc and sockets versus Oracle limits? IMHO, the Oracle limits shoudl trigger first for the most concise error messages.&lt;BR /&gt;&lt;BR /&gt;Sounds like the application 'has gone wild'.&lt;BR /&gt;Is it issueing forks and got carried away?&lt;BR /&gt;Is it tied to end users (that rarely jump in usage numbers) or tight to an automated queue / process that perhpas locked up for a while and got released?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is a tiny query the I use for a quick v$resource_limit check in readable/narrow form:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;column NAME format  A25&lt;BR /&gt;column INIT format A10&lt;BR /&gt;column LIMIT format A10&lt;BR /&gt;SELECT RESOURCE_NAME "Name", CURRENT_UTILIZATION "Current",&lt;BR /&gt;       MAX_UTILIZATION "Max", INITIAL_ALLOCATION "Init", LIMIT_VALUE "Limit"&lt;BR /&gt;  FROM V$RESOURCE_LIMIT;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; @resources.sql&lt;BR /&gt;&lt;BR /&gt;Name                         Current        Max Init       Limit&lt;BR /&gt;------------------------- ---------- ---------- ---------- ----------&lt;BR /&gt;processes                         10         11         40         40&lt;BR /&gt;sessions                          10         12         60         60&lt;BR /&gt;enqueue_locks                     26         31        810        810&lt;BR /&gt;:&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Groetjes,&lt;BR /&gt;Hein.&lt;/SNIP&gt;</description>
      <pubDate>Mon, 16 Feb 2004 09:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191224#M164784</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-02-16T09:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Program error combined with Oracle error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191225#M164785</link>
      <description>Vielen dank, Hein.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the DB was bounced yesterday due to an unrelated problem (some 8.0.6 bug that Oracle says will remain a bug due to the termination of support......:-(   )&lt;BR /&gt;&lt;BR /&gt;But I'll keep the query for later use.....</description>
      <pubDate>Tue, 17 Feb 2004 03:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/program-error-combined-with-oracle-error/m-p/3191225#M164785</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-02-17T03:40:43Z</dc:date>
    </item>
  </channel>
</rss>

