Re: General Performance questions

From: "Delao, Darryl W" <ddelao(at)ou(dot)edu>
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Delao, Darryl W" <ddelao(at)ou(dot)edu>
Cc: "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: General Performance questions
Date: 2003-03-11 15:36:19
Message-ID: FC0CEBD77311DA499A67ADB355A24FA2546B6D@mail4.oulan.ou.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Netstat -c shows both tcp and unix...at no time did they ever show more than
4 connections when the server reached its limit..

Whats a good way to check ps output?

Darryl

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, March 11, 2003 9:38 AM
To: Delao, Darryl W
Cc: 'pgsql-novice(at)postgresql(dot)org'; 'pgsql-general(at)postgresql(dot)org'
Subject: Re: [GENERAL] General Performance questions

"Delao, Darryl W" <ddelao(at)ou(dot)edu> writes:
> I have been monitoring netstat -c on my db server for a few days now. I
am
> trying to determine if when I see a postgres connection, if that is indeed
> just 1 connection or if it is a bunch of connections tied up in 1.

One connection is one connection.

> The
> other day I had postgres set to a limit of 128 connections, and that was
> reached. But at no time while monitoring netstat -c did I see 128
> connections!

Are you watching both Unix and TCP sockets? Have you compared netstat
to ps output?

regards, tom lane

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-03-11 15:37:53 Re: General Performance questions
Previous Message Tom Lane 2003-03-11 15:34:08 Re: commiting in/between functions

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2003-03-11 15:37:53 Re: General Performance questions
Previous Message Delao, Darryl W 2003-03-11 14:14:57 General Performance questions