pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: 100 simultaneous connections, critical limit?
Date: Wed, 14 Jan 2004 10:04:53 -0500
Message-ID: <3597.1074092693@sss.pgh.pa.us> (raw)
In-Reply-To: <m3fzeilkyg.fsf@wolfe.cbbrowne.com>
References: <40053A91.5060001@physicallink.com>
	<m3fzeilkyg.fsf@wolfe.cbbrowne.com>

Christopher Browne <cbbrowne@acm.org> writes:
> Clinging to sanity, jonr@physicallink.com (Jón Ragnarsson) mumbled into her beard:
>> Then I read somewhere that Postgres only supports 100 simultaneous
>> connections (default).

> I thought the out-of-the-box default was 32.

Pre-7.4 it was 32; in 7.4 it's 100 (if your kernel settings will allow it).
It's important to point out that both of these are trivial-to-alter
configuration settings, not some kind of hardwired limit.  However, the
more backend processes you have, the more RAM you need on the database
server.  It's good advice to look into connection pooling instead of
trying to push max_connections up to the moon.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <3597.1074092693@sss.pgh.pa.us>
Permalink:  ../3597.1074092693@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3597.1074092693@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, cbbrowne@acm.org
  Subject: Re: 100 simultaneous connections, critical limit?
  In-Reply-To: <3597.1074092693@sss.pgh.pa.us>

* 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