Re: Postgresql went crazy and flooded all the SSD

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Gabriel Dodan <gabriel(dot)dodan(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgresql went crazy and flooded all the SSD
Date: 2023-11-06 12:53:35
Message-ID: ZUjhz+qqF9pxJPX6@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthias Leisi 2023-11-06 19:26:43 Cluster for an appliance-type deployment
Previous Message Andreas Kretschmer 2023-11-06 11:29:20 Re: Postgresql went crazy and flooded all the SSD