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 -> Re: connections - netstat

Re: connections - netstat

From: hopehope_123 <hopehope_123_at_yahoo.com>
Date: 17 Dec 2006 02:43:34 -0800
Message-ID: <1166352214.509041.236850@f1g2000cwa.googlegroups.com>

Hi ,

We use jdbc connection pooling. But event with jdbc connection pooling , establishede tcp communications must have both ends , mustnt it?

On the other hand , iwe have another app server called C , it has the same problem , we dont use connection pooling on it.

Kind Regards,
hope

EscVector wrote:
> On Dec 15, 2:56 am, "hopehope_123" <hopehope_..._at_yahoo.com> wrote:
> > 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

>

> Connection Pooling, are you using MTS? If not, pool is app side or
> load balanced on hardware.
Received on Sun Dec 17 2006 - 04:43:34 CST

Original text of this message

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