On 4/20/2016 7:09 AM, Tom Lane wrote:
> Nathan Mascitelli<nathanmascitelli@geotab.com> writes:
>> >The machine has the postgres server and our application server on it. There
>> >are âaround 300 databases and typically ~1000 connections. At the time of
>> >the crash there was free RAM and disk space on the server.
> You're a braver man than I, to trust Windows with a 1000-connection
> server. But anyway, if the backend count is that high it's far from
> surprising that you hit some Windows resource limit or other. It's
> widely considered best practice to use a connection pooler to limit
> the number of backends to something a lot less than that, regardless
> of platform.
with 300 databases in use, a pooler would not be much help. 1000
connections is an average of 3 connections per database.
--
john r pierce, recycling bits in santa cruz