pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Piotr Włodarczyk <piotrwlodarczyk89@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: OOM Killer kills PostgreSQL
Date: Wed, 20 May 2020 12:54:19 -0400
Message-ID: <20200520165419.GH3418@tamriel.snowman.net> (raw)
In-Reply-To: <CAP-dhMo5E7QLVWaDgH0D39G98ggYyYQxww-H670ZwnyZXb42CA@mail.gmail.com>
References: <CAP-dhMo5E7QLVWaDgH0D39G98ggYyYQxww-H670ZwnyZXb42CA@mail.gmail.com>

Greetings,

* Piotr Włodarczyk (piotrwlodarczyk89@gmail.com) wrote:
> We met unexpected PostgreSQL shutdown. After a little investigation we've
> discovered that problem is in OOM killer which kills our PostgreSQL.

You need to configure your system to not overcommit.

Read up on overcommit_ratio and overcommit_memory Linux settings.

Thanks,

Stephen

Attachments:

  [application/pgp-signature] signature.asc (818B, ../20200520165419.GH3418@tamriel.snowman.net/2-signature.asc)
  download

view thread (6+ messages)

Message-ID: <20200520165419.GH3418@tamriel.snowman.net>
Permalink:  ../20200520165419.GH3418@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20200520165419.GH3418@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-performance@postgresql.org
  Cc: sfrost@snowman.net, piotrwlodarczyk89@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: OOM Killer kills PostgreSQL
  In-Reply-To: <20200520165419.GH3418@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