Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6VCU-0019Sq-AN for pgsql-general@arkaria.postgresql.org; Fri, 24 Nov 2023 12:22:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r6VCS-00AjUl-L7 for pgsql-general@arkaria.postgresql.org; Fri, 24 Nov 2023 12:22:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6VCS-00AjUc-6c for pgsql-general@lists.postgresql.org; Fri, 24 Nov 2023 12:22:24 +0000 Received: from ssl.schlittermann.de ([46.38.236.101]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r6VCP-008Hq1-Gn for pgsql-general@lists.postgresql.org; Fri, 24 Nov 2023 12:22:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=schlittermann.de; s=dd201504; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Cc: Content-Description:Content-ID:Resent-Cc:Resent-To; bh=mr4M/MaMZhP4GgFyjVIdpgI16vrlVNxdlVGvENsowK8=; b=IuxP0ooFyYmAwZryJpLuuLzHxv Ek7Ipg5KlsmY3lCOrYplaBW8rMq6TihToR3yDBXTuhFARRrArxATwNwFBOGdi9kVHOGKDsJXtiDYc QzCvjE4k3hHvV7V+Iz3xaCxCT1SvcjYnx4KmNDLSzukyLNoV4GFyxmkrWghBRpSul3xg=; Received: by ssl.schlittermann.de with esmtpsa (TLS1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.x) (envelope-from ) id 1r6VCO-00GwwB-5Y for pgsql-general@lists.postgresql.org; Fri, 24 Nov 2023 13:22:20 +0100 Message-ID: Date: Fri, 24 Nov 2023 13:22:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: replication primary writting infinite number of WAL files Content-Language: en-US To: pgsql-general@lists.postgresql.org References: From: Andreas Kretschmer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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