pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michal Taborsky <michal@taborsky.cz>
To: Paul Serby <paul.serby@clockltd.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: The black art of postgresql.conf  tweaking
Date: Wed, 04 Aug 2004 15:10:55 +0200
Message-ID: <4110E05F.9030404@taborsky.cz> (raw)
In-Reply-To: <4110DA83.7020505@clockltd.com>
References: <4110DA83.7020505@clockltd.com>

Paul Serby wrote:

> Apache on the Web server can take up to 300 connections and PHP is using 
>  pg_pconnect

> max_connections = 300
> But Apache is still maxing out the non-super user connection limit.

Don't forget also that some connections are reserved for superusers 
(usually 2), so if you want 300 users, you need to set max_connections 
to 300 + superuser_reserved_connections.

-- 
Michal Taborsky
http://www.taborsky.cz




view thread (14+ messages)  latest in thread

Message-ID: <4110E05F.9030404@taborsky.cz>
Permalink:  ../4110E05F.9030404@taborsky.cz/
Also on:    postgresql.org/message-id/4110E05F.9030404@taborsky.cz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: michal@taborsky.cz, paul.serby@clockltd.com
  Subject: Re: The black art of postgresql.conf  tweaking
  In-Reply-To: <4110E05F.9030404@taborsky.cz>

* 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