pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: zhuj <zhuj@dragontec.com.cn>
Cc: Dave@micro-automation.net
Cc: pgsql-jdbc@postgresql.org
Subject: Re: maxconnection
Date: Mon, 23 Jun 2003 08:07:06 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.com> (raw)
In-Reply-To: <001701c336c7$c5013b90$d400a8ca@zhuj2k>

You likely need to increase the shared_buffers to at least 2* max 
connections.  Do you have logging of any kind turned on?  If you have 
silent_mode set to true, set it to false and try starting the database 
again and look for error messages.  If you've got it set to log somewhere, 
read the logs after trying to restart.  Or by "not work" do you mean it 
doesn't limit the max connections properly?

On Fri, 20 Jun 2003, zhuj wrote:

> I try to edit the postgresql.conf, set
> "max_connections " to 25 then restart
> postgres, but it seems not work.
> 
> ----- Original Message -----
> From: "Dave Cramer" <Dave@micro-automation.net>
> To: "zhuj" <zhuj@dragontec.com.cn>
> Cc: <pgsql-jdbc@postgresql.org>
> Sent: Friday, June 20, 2003 4:23 AM
> Subject: Re: [JDBC] maxconnection
> 
> 
> > You have to limit the connections on the backend, in postgresql.conf.
> >
> > Dave
> > On Tue, 2003-06-17 at 05:22, zhuj wrote:
> > > hi,all:
> > >     I want to constraint the maximum number of concurrent connections to
> 25
> > > in postgres
> > > jdbc driver. There are no methods for this
> > > change. How would i do?
> > >
> > > TIA
> > >                                  zhuj
> > >
> > >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 3: if posting/reading through Usenet, please send an appropriate
> > >       subscribe-nomail command to majordomo@postgresql.org so that your
> > >       message can get through to the mailing list cleanly
> > >
> > --
> > Dave Cramer <Dave@micro-automation.net>
> >
> >
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 




view thread (7+ messages)

Message-ID: <Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.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-sql@postgresql.org
  Cc: scott.marlowe@ihs.com, zhuj@dragontec.com.cn, Dave@micro-automation.net, pgsql-jdbc@postgresql.org
  Subject: Re: maxconnection
  In-Reply-To: <Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.com>
  References: <001701c336c7$c5013b90$d400a8ca@zhuj2k> <Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.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