pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Cc: Nathan Mascitelli <nathanmascitelli@geotab.com>
Subject: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover
Date: Wed, 20 Apr 2016 07:31:28 -0700
Message-ID: <571792C0.3060503@hogranch.com> (raw)
In-Reply-To: <21783.1461161360@sss.pgh.pa.us>
References: <20160419123034.22924.9159@wrigleys.postgresql.org>
	<25458.1461124620@sss.pgh.pa.us>
	<CAJddYyii+-5fDO2QKP3n30MgtOREq8jOgMb25vKabDGRSDdKcQ@mail.gmail.com>
	<21783.1461161360@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <571792C0.3060503@hogranch.com>
Permalink:  ../571792C0.3060503@hogranch.com/
Also on:    postgresql.org/message-id/571792C0.3060503@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pierce@hogranch.com, nathanmascitelli@geotab.com
  Subject: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover
  In-Reply-To: <571792C0.3060503@hogranch.com>
  References: <20160419123034.22924.9159@wrigleys.postgresql.org> <25458.1461124620@sss.pgh.pa.us> <CAJddYyii+-5fDO2QKP3n30MgtOREq8jOgMb25vKabDGRSDdKcQ@mail.gmail.com> <21783.1461161360@sss.pgh.pa.us> <571792C0.3060503@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox