connections

Lists: pgsql-admin
From: "jaya" <jayas(at)bsil(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: connections
Date: 2002-04-05 11:15:19
Message-ID: 004001c1dc93$2c6f00e0$ed060080@jayantsrv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Hi,
The documentation on MAX_CONNECTIONS mentions default of 32 connections and a compiled in hard upper limit of 1024 connections. It also mentions that it can be altered when compiling the server.

Does this mean that the upper limit can be increased to more than 1024 at the time of server startup?

what will be the typical number of concurrent users if the MAX_CONNECTIONS is kept at 32 ?

WIll appreciate quick reply,

Regards


From: postgresql(at)fruru(dot)com
To: jaya <jayas(at)bsil(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: connections
Date: 2002-04-05 11:43:26
Message-ID: Pine.LNX.4.44.0204051339480.32491-100000@perycles.unix.be.EU.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

On Fri, 5 Apr 2002, jaya wrote:

> Hi, The documentation on MAX_CONNECTIONS mentions default of 32
> connections and a compiled in hard upper limit of 1024 connections. It
> also mentions that it can be altered when compiling the server.
>
> Does this mean that the upper limit can be increased to more than 1024
> at the time of server startup?
Guess so, if the server (and the libraries which the server uses) have
been configured and compiled to support more than 1024 concurrent
connections.

Why would you want more than 1024 simultaneous connections to the same
database instance ? (Perhaps some connection pooling could help reduce
your requirements)

> what will be the typical number of concurrent users if the
> MAX_CONNECTIONS is kept at 32 ?
I'm not sure what you mean, but I'd suppose it would be between 0 and 32...

Cheers
Tycho

--
Tycho Fruru tycho(dot)fruru(at)conostix(dot)com
Users' impressions of different operating systems, expressed as emoticons:
Linux: :)
Windows: XP