Re: maxconnection

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: zhuj <zhuj(at)dragontec(dot)com(dot)cn>
Cc: <Dave(at)micro-automation(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: maxconnection
Date: 2003-06-23 14:07:06
Message-ID: Pine.LNX.4.33.0306230805470.23728-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-sql

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(at)micro-automation(dot)net>
> To: "zhuj" <zhuj(at)dragontec(dot)com(dot)cn>
> Cc: <pgsql-jdbc(at)postgresql(dot)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(at)postgresql(dot)org so that your
> > > message can get through to the mailing list cleanly
> > >
> > --
> > Dave Cramer <Dave(at)micro-automation(dot)net>
> >
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2003-06-23 16:05:01 Re: setMaxFieldSize
Previous Message Fernando Nasser 2003-06-23 13:32:56 setMaxFieldSize

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-06-23 14:28:03 Re: convert_numeric_to_scalar: unsupported type 354210
Previous Message Rod Taylor 2003-06-23 14:00:32 Re: convert_numeric_to_scalar: unsupported type 354210