pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Евгений Селявка <evg.selyavka@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgresql 9.1 out of memory
Date: Sat, 26 Oct 2013 15:48:54 -0400
Message-ID: <20131026194854.GT2706@tamriel.snowman.net> (raw)
In-Reply-To: <CAKPhvNY+LJV1MDTW=1KHX+igoUyyPVW8_V1-5+T18qBQ3CJGrw@mail.gmail.com>
References: <CAKPhvNY+LJV1MDTW=1KHX+igoUyyPVW8_V1-5+T18qBQ3CJGrw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Евгений,

* Евгений Селявка (evg.selyavka@gmail.com) wrote:
> What other steps can I take to avoid such behavior in the future?

Monitor /proc/meminfo (specifically, Committed_AS vs. CommitLimit).  If
the amount of committed memory is getting up close to the commit limit,
you need to adjust something to use less memory- perhaps fewer shared
buffers, or lower work_mem, etc.

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (6+ messages)  latest in thread

Message-ID: <20131026194854.GT2706@tamriel.snowman.net>
Permalink:  ../20131026194854.GT2706@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20131026194854.GT2706@tamriel.snowman.net

 · 

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-admin@postgresql.org
  Cc: sfrost@snowman.net, evg.selyavka@gmail.com
  Subject: Re: postgresql 9.1 out of memory
  In-Reply-To: <20131026194854.GT2706@tamriel.snowman.net>

* 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