Re: General Performance questions

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: "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 20:45:08
Message-ID: Pine.LNX.4.33.0303111343550.17441-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

On Tue, 11 Mar 2003, Delao, Darryl W wrote:

> 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. 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! At this point, im assuming that netstat-c does not provide an
> accurate count of current connections. Anyone have any thoughts on this?

something on your machine is horribly wrong. You should, on an unloaded
box, be able to open at least 100 connections a second. 1,000 or more is
common.

What OS etc... are you running? What does free, top, or ps ax|grep post
show during this process? Are you running out of swap or free memory or
something like that? Is there a lot of disk access when you connect
(iostat -x)???

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-03-11 20:52:41 Re: ERROR: out of free buffers: time to abort!
Previous Message scott.marlowe 2003-03-11 20:32:10 Re: Installation question

Browse pgsql-novice by date

  From Date Subject
Next Message LA Duerksen 2003-03-11 23:25:46 createdb error after new install
Previous Message scott.marlowe 2003-03-11 20:27:56 Re: General Performance questions