Re: [NOVICE] Many connections lingering

From: Richard Huxton <dev(at)archonet(dot)com>
To: Slavisa Garic <sgaric(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [NOVICE] Many connections lingering
Date: 2005-04-13 17:36:55
Message-ID: 425D58B7.5030909@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-performance

Slavisa Garic wrote:
> This is a serious problem for me as there are multiple users using our
> software on our server and I would want to avoid having connections
> open for a long time. In the scenario mentioned below I haven't
> explained the magnitute of the communications happening between Agents
> and DBServer. There could possibly be 100 or more Agents per
> experiment, per user running on remote machines at the same time,
> hence we need short transactions/pgsql connections. Agents need a
> reliable connection because failure to connect could mean a loss of
> computation results that were gathered over long periods of time.

Plenty of others have discussed the technical reasons why you are seeing
these connection issues. If you find it difficult to change your way of
working, you might find the pgpool connection-pooling project useful:
http://pgpool.projects.postgresql.org/

HTH
--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tim Pushor 2005-04-13 22:03:25 Re: ISAM to SQL
Previous Message Anthony Mullen 2005-04-13 17:16:49 Re: Converting the sgml documentation...

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Wong 2005-04-13 18:11:41 PLM pulling from CVS nightly for testing in STP
Previous Message Richard Huxton 2005-04-13 17:30:35 Re: speed of querry?