pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: replication primary writting infinite number of WAL files
Date: Fri, 24 Nov 2023 13:22:08 +0100
Message-ID: <ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de> (raw)
In-Reply-To: <CAKXe9UDZKGevV6t+Y0adUgy2-k-1gMdRUi4Baz=4BMKX1Oig_A@mail.gmail.com>
References: <CAKXe9UDZKGevV6t+Y0adUgy2-k-1gMdRUi4Baz=4BMKX1Oig_A@mail.gmail.com>



Am 24.11.23 um 12:39 schrieb Les:
>
> Hello,
>
> Yesterday we were faced with a problem that we do not understand and 
> cannot solve ourselves. We have a postgresql cluster using repmgr, 
> which has three members. The version of all instances (currently) is 
> "PostgreSQL 14.5 (Debian 14.5-2.pgdg110+2) on x86_64-pc-linux-gnu, 
> compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit.". Under 
> normal circumstances, the number of write operations is relatively 
> low, with an average of 4-5 MB/sec total write speed on the disk 
> associated with the data directory. Yesterday, the primary server 
> suddenly started writing to the pg_wal directory at a crazy pace, 
> 1.5GB/sec, but sometimes it went up to over 3GB/sec. The pg_wal 
> started fattening up and didn't stop until it ran out of disk space.
>

please check the database log, a VACUUM can also lead to massive wal 
generation. Can you find other related messages? by the way, the picture 
is hard to read, please post text instead of pictures.


Regards, Andreas

-- 
Andreas Kretschmer - currently still (garden leave)
Technical Account Manager (TAM)
www.enterprisedb.com






view thread (20+ messages)  latest in thread

Message-ID: <ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de>
Permalink:  ../ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de/
Also on:    postgresql.org/message-id/ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de

 · 

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: andreas@a-kretschmer.de
  Subject: Re: replication primary writting infinite number of WAL files
  In-Reply-To: <ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de>
  References: <CAKXe9UDZKGevV6t+Y0adUgy2-k-1gMdRUi4Baz=4BMKX1Oig_A@mail.gmail.com> <ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de>

* 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