From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin <pgsql-admin@postgresql.org>
To: Radovan Jablonovsky <radovan.jablonovsky@replicon.com>
Subject: Re: PostgreSQL oom_adj postmaster process to -17
Date: Wed, 01 Aug 2012 12:48:45 -0500
Message-ID: <501925AD020000250004932E@gw.wicourts.gov> (raw)
In-Reply-To: <CAJYcdTvw-Xk9oi0Hzb9w3wZYfB6LJ5KMCQW0uR7o0HdFATC4tQ@mail.gmail.com>
References: <CAJYcdTvw-Xk9oi0Hzb9w3wZYfB6LJ5KMCQW0uR7o0HdFATC4tQ@mail.gmail.com>
Radovan Jablonovsky <radovan.jablonovsky@replicon.com> wrote:
> We are running PostgreSQL version 9.1.1
You should apply the latest bug fixes by updating to 9.1.4.
http://www.postgresql.org/support/versioning/> with 32GB of RAM, 32GB of SWAP and during high load we could reach
> (swap + RAM) memory limit.
If you're even *starting* to swap you're doing something wrong, much
less exhausting swap space equal to actual RAM. What is your
configuration?
http://wiki.postgresql.org/wiki/Server_Configuration
While it's probably a good idea to configure the OOM killer to
behave more sanely, we tend to ignore it in favor of ensuring that
it never comes into play. We run about 200 databases 24/7 and I
think I've seen it kick in about twice -- when we ran queries that
leaked memory on each row in a big query.
-Kevin
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, radovan.jablonovsky@replicon.com
Subject: Re: PostgreSQL oom_adj postmaster process to -17
In-Reply-To: <501925AD020000250004932E@gw.wicourts.gov>
References: <CAJYcdTvw-Xk9oi0Hzb9w3wZYfB6LJ5KMCQW0uR7o0HdFATC4tQ@mail.gmail.com> <501925AD020000250004932E@gw.wicourts.gov>
* 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