pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Cramer <davecramer@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Unable to allocate 2G of shared memory on wheezy
Date: Wed, 18 Jun 2014 15:37:27 -0400
Message-ID: <27332.1403120247@sss.pgh.pa.us> (raw)
In-Reply-To: <CADK3HH+gTbmUDNO+N0XerYjNnA6_XPv5v2smG5CYP8BVcK25wA@mail.gmail.com>
References: <CADK3HH+iffaL7rJWvr49k0Ln917uPWnOszowox5Pv9OV5ZO66A@mail.gmail.com>
	<26671.1403118912@sss.pgh.pa.us>
	<CADK3HH+gTbmUDNO+N0XerYjNnA6_XPv5v2smG5CYP8BVcK25wA@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Dave Cramer <davecramer@gmail.com> writes:
> 2014-06-18 13:37:15 EDT FATAL:  could not map anonymous shared memory:
> Cannot allocate memory
> 2014-06-18 13:37:15 EDT HINT:  This error usually means that PostgreSQL's
> request for a shared memory segment exceeded available memory or swap
> space. To reduce the request size (currently 8826445824 bytes), reduce
> PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or
> max_connections.

Oh, interesting.  That was the mmap that failed, so this has nothing to do
with SysV shm limits.

Note that your request seems to be pushing 9G, not 2G as you thought.
Maybe it's just more memory than you have?

			regards, tom lane


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



view thread (5+ messages)

Message-ID: <27332.1403120247@sss.pgh.pa.us>
Permalink:  ../27332.1403120247@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27332.1403120247@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, davecramer@gmail.com
  Subject: Re: Unable to allocate 2G of shared memory on wheezy
  In-Reply-To: <27332.1403120247@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