Re: Increasing number of postgres connections

From: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
To: Akash Garg <akash(at)sona(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Increasing number of postgres connections
Date: 2005-05-17 14:38:37
Message-ID: 20050517143837.GA6298@nic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 16, 2005 at 11:42:13AM -0700,
Akash Garg <akash(at)sona(dot)com> wrote
a message of 12 lines which said:

> How do you recompile postgres to allow more than 1024 connections?

Do you really need to recompile? I find in the man page:

-N max-connections
Sets the maximum number of client connections that this postmas-
ter will accept. By default, this value is 32, but it can be set
as high as your system will support. (Note that -B is required
to be at least twice -N. See the section called ``Managing Ker-
nel Resources'' in the documentation for a discussion of system
resource requirements for large numbers of client connections.)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-05-17 14:50:35 Re: Increasing number of postgres connections
Previous Message Kathy Boyle 2005-05-17 14:33:30 initdb: failed