Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZxHC-0004VE-SD for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 12:18:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gZxHB-0006P0-Ig for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 12:18:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZxHB-0006OE-4X for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 12:18:05 +0000 Received: from sonic314-19.consmr.mail.gq1.yahoo.com ([98.137.69.82]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gZxH7-0004z8-F0 for pgsql-general@postgresql.org; Thu, 20 Dec 2018 12:18:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1545308277; bh=Ki7KQxQlIL35QH4cJrnulX/rgmYqPM+Am03Pba2fvic=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=sJT+/folh1JMTF3DqRktx+3bHZRyhgM8QrHuCb33eHDFMShUbj2kbfCyDzUsTg7CIrQmqKEPk0jpSBRU+AAqW/Pvh5eIaRtRTHl6hUwgUtYIIH+6rogjXT+Uchif1eN/gasiBj/SFuK2XMtuvT5KSPEpyzMDlIw9LKqbH3he+4Ow3bvu82HDyLwwHTK1iFOQXHGgiHrQz3g6xK7hefm5fe+rP44aqUf6JYP0xqQj+Cb6lW0OF+XKlWPjMh1mEVJ5wk+hWshR9G8jvbXhL6lyf3gZrHHlxgDTK+zrLikh10NCy4B31ip1UOIO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.atC1h1.1ByYolTQnYOoGEHps HtrZWEr_gVMA4VZTxm6VkMWy6S9SVzKaoobSegexhdMTTz2WlPZWsc.KWLWL2bI8D9iQnUI0f92c X_.kt_ZJQMCD3YTRKgGTOaAfFs_igSwyHBAWm3LzFhMdVk7EDmPdF25J_JZ8- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Thu, 20 Dec 2018 12:17:57 +0000 Date: Thu, 20 Dec 2018 12:17:56 +0000 (UTC) From: Rijo Roy Reply-To: "rjo_roy@yahoo.com" To: "pgsql-general@postgresql.org" Message-ID: <1093342998.7970426.1545308276060@mail.yahoo.com> Subject: Wals not recycling MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7970425_2069829385.1545308276058" References: <1093342998.7970426.1545308276060.ref@mail.yahoo.com> X-Mailer: WebService/1.1.12857 YahooMailAndroidMobile YMobile/1.0 (com.yahoo.mobile.client.android.mail/5.35.1; Android/8.0.0; HUAWEIDUK-L09; HWDUK; HUAWEI; DUK-L09; 4.02; 1768x1080;) Content-Length: 3159 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_7970425_2069829385.1545308276058 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All,=C2=A0 I am facing an issue with wal recycling in one of my Postgresql servers run= ning ina rhel box and the PG version is 10. The issue is that wal files are= not recycling at all. Please note that its a qa server and the load is qui= te high on it. It is running in no archive mode with fsync on, max_wal_size= is 8GB with checkpoint_timeout of 5mins and default checkpoint_completion_= target of 0.5. Could you please give me some pointers what could be wrong, = if it is hardware that is problem here, how can I collect some facts about = it so that 8 can take this matter with system guys.=C2=A0 Average wal generation is approximately 9k per day I have enabled log_checkpoint in my server and I can see it says checkpoint= complete: wrote ###buffers, 0 wal files added, 0 removed, 0 recycled,,,, L= ogCheckpointEnd I have no active replication slots in this database cluster.Also the wal_ke= ep_segments is set to 0. Appreciate your help!=C2=A0 Thanks,=C2=A0 Rijo Roy=C2=A0 Sent from Yahoo Mail on Android ------=_Part_7970425_2069829385.1545308276058 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi All, 

I am facing an issue with wal recycling in one of my Postgresql servers running ina rhel box and the PG version is 10. The issue is that wal files are not recycling at all. Please note that its a qa server and the load is quite high on it. It is running in no archive mode with fsync on, max_wal_size is 8GB with checkpoint_timeout of 5mins and default checkpoint_completion_target of 0.5. Could you please give me some pointers what could be wrong, if it is hardware that is problem here, how can I collect some facts about it so that 8 can take this matter with system guys. 
Average wal generation is approximately 9k per day
I have enabled log_checkpoint in my server and I can see it says checkpoint complete: wrote ###buffers, 0 wal files added, 0 removed, 0 recycled,,,, LogCheckpointEnd
I have no active replication slots in this database cluster.Also the wal_keep_segments is set to 0. Appreciate your help! 

Thanks, 

Rijo Roy 


------=_Part_7970425_2069829385.1545308276058--