pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Gabriel Dodan <gabriel.dodan@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Postgresql went crazy and flooded all the SSD
Date: Mon, 6 Nov 2023 13:53:35 +0100
Message-ID: <ZUjhz+qqF9pxJPX6@depesz.com> (raw)
In-Reply-To: <CALZRZKAsyanV_S4dbuCBhTjMSxE8Dxmg-y=Wiw1De2WrrK_6LQ@mail.gmail.com>
References: <CALZRZKAsyanV_S4dbuCBhTjMSxE8Dxmg-y=Wiw1De2WrrK_6LQ@mail.gmail.com>

On Mon, Nov 06, 2023 at 01:11:31PM +0200, Gabriel Dodan wrote:
> Not sure exactly what happened but Postgresql flooded all the available SSD
> space and obviously crashed. It has written a lot of data in the pg_wal
> folder. Most likely it was caused by replication. The postgresql instance
> that crashed was a subscriber and publisher at the same time. Even so, it
> was not a heavy write replication, I mean the data that needed to be
> replicated was rarely updated. Has anyone else encountered such an issue?

You might want to read https://www.depesz.com/2023/06/18/why-is-my-wal-directory-so-large/

Best regards,

depesz






view thread (3+ messages)

Message-ID: <ZUjhz+qqF9pxJPX6@depesz.com>
Permalink:  ../ZUjhz+qqF9pxJPX6@depesz.com/
Also on:    postgresql.org/message-id/ZUjhz+qqF9pxJPX6@depesz.com

 · 

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: depesz@depesz.com, gabriel.dodan@gmail.com
  Subject: Re: Postgresql went crazy and flooded all the SSD
  In-Reply-To: <ZUjhz+qqF9pxJPX6@depesz.com>
  References: <CALZRZKAsyanV_S4dbuCBhTjMSxE8Dxmg-y=Wiw1De2WrrK_6LQ@mail.gmail.com> <ZUjhz+qqF9pxJPX6@depesz.com>

* 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