pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: Frédéric Liotino <Liotino@wotan.lu>
To: pgsql-jdbc@postgresql.org
Subject: Re: max connection
Date: Sun, 4 May 2003 08:38:12 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGCEAGHFAA.nickf@ontko.com> (raw)
In-Reply-To: <000a01c30f11$e9ce06c0$7f006f0a@WOTAN4>


In postgresql.conf, add the line MAX_CONNECTIONS = n, where n is the number
of simultaneous client connections you want. The default is 32. For details
see:

http://www.postgresql.org/docs/view.php?version=7.3&file=runtime-config.html

Also, if you have that many connections, you should consider using a
connection pool if you aren't already doing so.

-Nick


-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Frédéric Liotino
Sent: Wednesday, April 30, 2003 7:14 AM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] max connection


Hello,

I have a problem when I launched simultaneous several connections, under
more or less 50 connections I have a JDBC error : Backend start-up failed :
FATAL : Sorry, too many clients already.

Please, How soluce this.

Thank you.

Liotino Frédéric




view thread (4+ messages)  latest in thread

Message-ID: <NEBBLAAHGLEEPCGOBHDGCEAGHFAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGCEAGHFAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGCEAGHFAA.nickf@ontko.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-jdbc@postgresql.org
  Cc: nickf@ontko.com, Liotino@wotan.lu
  Subject: Re: max connection
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGCEAGHFAA.nickf@ontko.com>
  References: <000a01c30f11$e9ce06c0$7f006f0a@WOTAN4> <NEBBLAAHGLEEPCGOBHDGCEAGHFAA.nickf@ontko.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