Re: Maximum number of client connection supported by Postgres 8.4.6

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Jenish Vyas <jenishvyas(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Maximum number of client connection supported by Postgres 8.4.6
Date: 2011-07-21 10:16:39
Message-ID: CAFj8pRA97V8E+pMgK_1vYV-LptTcCZ1S+ewQ=jjt6QtDfizxrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

2011/7/21 Jenish Vyas <jenishvyas(at)gmail(dot)com>:
> Hi All,
>
> please let me know what is the maximum number of concurrent client
> connection supported by Postgres 8.4.6
>
> max_connections = ????
>
> For my database,
>
> If I am running the test for more then 1000 concurrent active user it is
> showing me error “running out of connection”
>
> I have set max_connections = 1200.
>
> Thanks & regards,
> JENISH VYAS
>

this is just note - maximum connections should be related to number
of processors on the server - optimum is about 20-30. Very high number
of current concurrent connections is very ineffective - there is very
high content switch overhead. If you need it, the use some connection
pool sw like pgPool or pgBouncer

http://wiki.postgresql.org/wiki/Replication,_Clustering,_and_Connection_Pooling#Connection_Pooling_and_Acceleration

Regards

Pavel Stehule
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brar Piening 2011-07-21 11:56:28 Re: compile postgres with visual studio 2010
Previous Message Jenish Vyas 2011-07-21 10:00:37 Maximum number of client connection supported by Postgres 8.4.6