pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <cmt@burggraben.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jason McLaurin <jason@jcore.io>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Very slow queries followed by checkpointer process killed with signal 9
Date: Mon, 3 Apr 2023 15:06:04 +0200
Message-ID: <ZCrPPJs7Z3vZeOC2@squirrel.exwg.net> (raw)
In-Reply-To: <1077329.1680479022@sss.pgh.pa.us>
References: <CAJN0UCS1xhx11YMVXua4LkyDYmLbJWF0dUwcasjhWGcHCvBCbQ@mail.gmail.com>
	<1077329.1680479022@sss.pgh.pa.us>

## Tom Lane (tgl@sss.pgh.pa.us):

> Jason McLaurin <jason@jcore.io> writes:
> > I'm troubleshooting an issue where about once a week, a database appears to
> > lock up and then the PostgreSQL process crashes and recovers. When this
> > happens, a few queries will be logged, but there is no pattern to which
> > queries are executing when the crash happens, and the queries logged don't
> > appear to be queries that would consume a lot of resources.
> 
> Hmm, is it always the checkpointer that gets the OOM kill?  That seems
> quite odd.

Are you sure it's OOM? That's a frequent source of SIGKILLs, but
SIGKILL is not exclusive to oomkiller. Maybe something in the
container stack (some cgroup resource limiting? would be in line
with slowdown at least; or a hard ulimit on cpu time?) or maybe even
some "anti virus" thingy ("It's been 0 days since AV ate the database").

Regards,
Christoph

-- 
Spare Space.





view thread (6+ messages)

Message-ID: <ZCrPPJs7Z3vZeOC2@squirrel.exwg.net>
Permalink:  ../ZCrPPJs7Z3vZeOC2@squirrel.exwg.net/
Also on:    postgresql.org/message-id/ZCrPPJs7Z3vZeOC2@squirrel.exwg.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 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-general@postgresql.org
  Cc: cmt@burggraben.net, tgl@sss.pgh.pa.us, jason@jcore.io
  Subject: Re: Very slow queries followed by checkpointer process killed with signal 9
  In-Reply-To: <ZCrPPJs7Z3vZeOC2@squirrel.exwg.net>
  References: <CAJN0UCS1xhx11YMVXua4LkyDYmLbJWF0dUwcasjhWGcHCvBCbQ@mail.gmail.com> <1077329.1680479022@sss.pgh.pa.us> <ZCrPPJs7Z3vZeOC2@squirrel.exwg.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