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

Home -> Community -> Usenet -> c.d.o.server -> connections - netstat

connections - netstat

From: hopehope_123 <hopehope_123_at_yahoo.com>
Date: 14 Dec 2006 23:56:41 -0800
Message-ID: <1166169401.036145.270290@n67g2000cwd.googlegroups.com>


Hi ,

 I ahve a question regarding to the db serverconnections.

The db server is 9.2.0.8 , and app server is 10g.

A is the db server

B is the app server.

According to the sql :

 select username,count(*) from v$session group by username

USERNAME                         COUNT(*)
------------------------------ ----------
usera                            45

WHEN I run the followin on db server:

bash-2.03$ netstat -an | grep B | wc -l

      51
bash-2.03$ netstat -an | grep B | grep ESTA |wc -l

      50

I see 50 connections connected from application server.

but when i check this on application server :

bash-2.05# netstat -an | grep A.1521 | grep ESTAB | wc -l

     103

I see 103 connections.

So , application server has 103 connections to the db , but db has 50 connections from app server.

Why do these numbers differ?

Kind Regards,
hope Received on Fri Dec 15 2006 - 01:56:41 CST

Original text of this message

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