Re: Maximum number of client connection supported by Postgres 8.4.6 - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Maximum number of client connection supported by Postgres 8.4.6
Date
Msg-id CAFj8pRA97V8E+pMgK_1vYV-LptTcCZ1S+ewQ=jjt6QtDfizxrA@mail.gmail.com
Whole thread Raw
In response to Maximum number of client connection supported by Postgres 8.4.6  (Jenish Vyas <jenishvyas@gmail.com>)
List pgsql-general
Hello

2011/7/21 Jenish Vyas <jenishvyas@gmail.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
>
>

pgsql-general by date:

Previous
From: Jenish Vyas
Date:
Subject: Maximum number of client connection supported by Postgres 8.4.6
Next
From: Brar Piening
Date:
Subject: Re: compile postgres with visual studio 2010