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

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.

			regards, tom lane


-- 
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: <21783.1461161360@sss.pgh.pa.us>
Permalink:  ../21783.1461161360@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21783.1461161360@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, nathanmascitelli@geotab.com
  Subject: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover
  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>

* 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