Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1assoo-00028t-Qo for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Apr 2016 14:09:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1assoo-0002o7-Df for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Apr 2016 14:09:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1asson-0002nB-Sf for pgsql-bugs@postgresql.org; Wed, 20 Apr 2016 14:09:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1assok-00085c-SN for pgsql-bugs@postgresql.org; Wed, 20 Apr 2016 14:09:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3KE9KAo021784; Wed, 20 Apr 2016 10:09:20 -0400 From: Tom Lane To: Nathan Mascitelli cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14101: Postgres Service Crashes With Memory Error And Does Not Recover In-reply-to: References: <20160419123034.22924.9159@wrigleys.postgresql.org> <25458.1461124620@sss.pgh.pa.us> Comments: In-reply-to Nathan Mascitelli message dated "Wed, 20 Apr 2016 08:03:44 -0400" Date: Wed, 20 Apr 2016 10:09:20 -0400 Message-ID: <21783.1461161360@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Nathan Mascitelli 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