pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Stergios Zissakis <szis@intranet.gr>
To: pgsql-odbc@postgresql.org
Cc: Kostas Lykiardopoulos <klyk@intranet.gr>
Cc: Dimitris Pantermalis <dpant@intranet.gr>
Subject: Re: Connections and threading problems
Date: Wed, 10 Mar 2004 12:38:11 +0000
Message-ID: <200403101238.11593.dev@archonet.com> (raw)
In-Reply-To: <NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr>
References: <NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr>

On Thursday 04 March 2004 12:39, Stergios Zissakis wrote:
> Hi there,
>
> I have set up PGSQL 7.4 and unixODBC-2.2.8 on Solaris 8 (with the 113261-02
> patch applied).
> I'm using OTL 4 and a multi-threaded test program.
> I encountered the following problems.
> 1) I cannot get more than 5 threads to connect to the databse at the same
> time.

Your log file says you've reached your maximum number of connections.

2004-03-04 14:24:09 LOG:  connection authorized: user=szis database=test
2004-03-04 14:24:09 FATAL:  sorry, too many clients already

You'll want to increase max_connections in your postgresql.conf. Make sure PG 
re-reads the file.

You also *do not* want to leave enable_seqscan set to false unless you are 
testing.

-- 
  Richard Huxton
  Archonet Ltd



view thread (2+ messages)

Message-ID: <200403101238.11593.dev@archonet.com>
Permalink:  ../200403101238.11593.dev@archonet.com/
Also on:    postgresql.org/message-id/200403101238.11593.dev@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: dev@archonet.com, szis@intranet.gr, klyk@intranet.gr, dpant@intranet.gr
  Subject: Re: Connections and threading problems
  In-Reply-To: <200403101238.11593.dev@archonet.com>
  References: <NGBBJHBHDKPNOODGDMMAGEBNCGAA.szis@intranet.gr> <200403101238.11593.dev@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox