From: Chris Lajoie <chris@etriptrader.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Getting OOM errors from PostgreSQL
Date: Fri, 4 Mar 2016 21:23:02 +0000
Message-ID: <77b989891467460b9e1dede8fedd25f1@etriptrader.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
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 the last one occurred I checked the free mem and got this:
# free -h
total used free shared buff/cache available
Mem: 9.4G 737M 283M 2.1G 8.4G 6.3G
Swap: 2.0G 8.3M 2.0G
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: chris@etriptrader.com
Subject: Re: Getting OOM errors from PostgreSQL
In-Reply-To: <77b989891467460b9e1dede8fedd25f1@etriptrader.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