Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1abxDP-0002Tx-AB for pgsql-admin@arkaria.postgresql.org; Fri, 04 Mar 2016 21:24:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1abxDO-0005R0-OE for pgsql-admin@arkaria.postgresql.org; Fri, 04 Mar 2016 21:24:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1abxBj-0003Yj-D8 for pgsql-admin@postgresql.org; Fri, 04 Mar 2016 21:23:07 +0000 Received: from etriptrader.com ([192.5.31.223]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1abxBh-0000Sx-5M for pgsql-admin@postgresql.org; Fri, 04 Mar 2016 21:23:06 +0000 Received: from ETT-EXCHANGE.ett.aero (unknown [63.228.190.225]) by etriptrader.com (Postfix) with ESMTPS id 9C38B626886 for ; Fri, 4 Mar 2016 14:23:03 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=etriptrader.com; s=default; t=1457126583; bh=eg5x1j/XpNhh5Y7hS+oVvIzJg+oTkVbOT5SGlnTl89g=; h=From:To:Subject:Date; b=GnYqEFa/FgkeKmTAw1ZPKvttqY9OBOlZsiEFfZSlAOSpS1jCPVJoxGCn7qLLJmHTS sJbBFJeKgH1ophR4YLq7j4toynj+HPQkJqcT+UN474OV7g9/vcNBiDDW3tD/m2i4FO rnJ3WK8zheGUghzN6u62e2MzzJpT2y5mShpJtY/4= Received: from ETT-EXCHANGE.ett.aero (172.20.0.101) by ETT-EXCHANGE.ett.aero (172.20.0.101) with Microsoft SMTP Server (TLS) id 15.1.225.42; Fri, 4 Mar 2016 14:23:02 -0700 Received: from ETT-EXCHANGE.ett.aero ([fe80::fcb1:50a7:4dcf:a6c5]) by ETT-EXCHANGE.ett.aero ([fe80::fcb1:50a7:4dcf:a6c5%15]) with mapi id 15.01.0225.041; Fri, 4 Mar 2016 14:23:02 -0700 From: Chris Lajoie To: "pgsql-admin@postgresql.org" Subject: Getting OOM errors from PostgreSQL Thread-Topic: Getting OOM errors from PostgreSQL Thread-Index: AdF2WjNtliSFVdN6TH6ZwERkotax5g== Date: Fri, 4 Mar 2016 21:23:02 +0000 Message-ID: <77b989891467460b9e1dede8fedd25f1@etriptrader.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.20.10.2] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org In my log I have been getting errors that look like this: LOG: could not fork new process for connection: Cannot allocate memory This seems to only happen during periods of high activity. Shortly after th= e last one occurred I checked the free mem and got this: # free -h total used free shared buff/cache avail= able Mem: 9.4G 737M 283M 2.1G 8.4G = 6.3G Swap: 2.0G 8.3M 2.0G