pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgresql went crazy and flooded all the SSD
3+ messages / 3 participants
[nested] [flat]

* Postgresql went crazy and flooded all the SSD
@ 2023-11-06 11:11  Gabriel Dodan <gabriel.dodan@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Gabriel Dodan @ 2023-11-06 11:11 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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?

Best!

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Postgresql went crazy and flooded all the SSD
@ 2023-11-06 11:29  Andreas Kretschmer <andreas@a-kretschmer.de>
  parent: Gabriel Dodan <gabriel.dodan@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Andreas Kretschmer @ 2023-11-06 11:29 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org, Gabriel Dodan <gabriel.dodan@gmail.com>



On 6 November 2023 12:11:31 CET, Gabriel Dodan <gabriel.dodan@gmail.com> 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?
>
>Best!


Check the logs.

Andreas





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Postgresql went crazy and flooded all the SSD
@ 2023-11-06 12:53  hubert depesz lubaczewski <depesz@depesz.com>
  parent: Gabriel Dodan <gabriel.dodan@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: hubert depesz lubaczewski @ 2023-11-06 12:53 UTC (permalink / raw)
  To: Gabriel Dodan <gabriel.dodan@gmail.com>; +Cc: pgsql-general@lists.postgresql.org

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






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-11-06 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 11:11 Postgresql went crazy and flooded all the SSD Gabriel Dodan <gabriel.dodan@gmail.com>
2023-11-06 11:29 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2023-11-06 12:53 ` hubert depesz lubaczewski <depesz@depesz.com>

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