Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: New DB Connections Failing ?

RE: New DB Connections Failing ?

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infosys.com>
Date: Wed, 15 Nov 2006 12:06:59 +0530
Message-ID: <BBD944BCAC3AB4499DFBAFB1D8AF3020021439D5@BLRKECMSG11.ad.infosys.com>


Folks  

4 Points of Advice by Oracle Corp:-  

  1. This seems to be a failure to create a socket and resulting failure to create a connection
  2. There is an Operating System Error in the error stack: ntresnt[1]=227, which appear to be 'can't assign requested address', but you would need to verify this on your platform.
  3. Verify that the adapters command shows all of the adapters, in particular TCP

> adapters
> adapters sqlplus

4) Try using the actual IP address of the target database server in place of the hostname to see if the
behavior changes.    

../network/admin/cli_14053.trc sample:-

NOTE - It has the Error 12157 below in it.  

 [14-NOV-2006 12:48:14:866] ntt2err: entry

[14-NOV-2006 12:48:14:866] ntt2err: soc 9 error - operation=1,
ntresnt[0]=515, ntresnt[1]=227, ntresnt[2]=0

[14-NOV-2006 12:48:14:866] ntt2err: exit

[14-NOV-2006 12:48:14:875] nttcnp: exit

[14-NOV-2006 12:48:14:875] nttcon: exit

[14-NOV-2006 12:48:14:875] niotns: niotns failed to create NS ctx, error
code 12157

[14-NOV-2006 12:48:14:875] niotns: Couldn't connect, returning 12157

[14-NOV-2006 12:48:14:875] niotns: exit

[14-NOV-2006 12:48:14:875] nigcui: entry
     


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of VIVEK_SHARMA
Sent: Tuesday, November 14, 2006 7:42 PM Folks  

In a NEW Setup, after about 700 database (dedicated server) Connections are spawned, New Connections via the Listener process to the RAC Database node from an Application server machine are FAILING.  

Also Performance of Queries becomes very slow of already existing Connections to the Database.

NOTE - CPU Utilization of the DB & APP Servers is Low.  

$ sqlplus <user>/<passwd>@<connect string> gives the Oracle Error ORA-12157   $ oerr ora 12157

12157, 00000, "TNS:internal network communication error"

// *Cause: Internal error during network communication.

// *Action: Not normally visible to the user. For further details, turn

// on tracing and reexecute the operation. If error persists, contact

// Worldwide Customer Support.  

On DB Server Node:-

$ netstat -a | grep <Port Num of Listener process> | wc -l

700  

Qs 1 - Will adding a 2nd Listener process to each of the 2 RAC Nodes Help overcoming the NEW DB connections problem?  

Thanks Indeed  

Config:-

Oracle 10.2.0.2

HP-UX ver B11.23  

Init.ora:-

processes=3500

sessions=3500      

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 15 2006 - 00:36:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US