Re: Optimal values for 500 connections

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>
Cc: Postgresql Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Optimal values for 500 connections
Date: 2009-06-26 19:05:50
Message-ID: dcc563d10906261205s5f296ac5o2bda6caf39044aa0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 26, 2009 at 12:52 PM, Pedro Doria
Meunier<pdoria(at)netmadeira(dot)com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I'm wondering what are the correct values in postgresql.conf for
> max_connections = 500 ...
>
> The values I had in 8.2.13 conf file worked without a problem but with
> the new 8.3.7 postmaster simply refuses to start.
>
> Any pointers would be highly appreciated ;-)

You likely need to increase max shared mem. With linux that's easy to do with

sysctl -a|grep shm

to get a list, and then copy and paste with changes to
/etc/sysctl.conf. Look them up on the google, or in our docs, some
good examples both places.

Note that anytime the postmaster doesn't startup it tries to log it
somewhere. Look for postmaster logs and such.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pedro Doria Meunier 2009-06-26 19:12:13 Re: Optimal values for 500 connections
Previous Message Pedro Doria Meunier 2009-06-26 18:52:43 Optimal values for 500 connections