Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTJvi-0001VH-LO for pgsql-admin@arkaria.postgresql.org; Tue, 28 Apr 2020 06:41:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jTJvh-0000sx-HL for pgsql-admin@arkaria.postgresql.org; Tue, 28 Apr 2020 06:41:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTJvh-0000rL-9e for pgsql-admin@lists.postgresql.org; Tue, 28 Apr 2020 06:41:17 +0000 Received: from impout009aa.msg.chrl.nc.charter.net ([47.43.20.33] helo=impout009.msg.chrl.nc.charter.net) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jTJve-000532-Sc for pgsql-admin@postgresql.org; Tue, 28 Apr 2020 06:41:16 +0000 Received: from cerberus.crazybean.net ([24.151.69.73]) by cmsmtp with ESMTP id TJvdjbkRt2HYJTJvdj7rFa; Tue, 28 Apr 2020 06:41:13 +0000 Authentication-Results: crazybean.net; none X-Authority-Analysis: v=2.3 cv=AKi/Lllh c=1 sm=1 tr=0 a=YXTuGtgWN9YX+aIhe8tYuA==:117 a=YXTuGtgWN9YX+aIhe8tYuA==:17 a=xqWC_Br6kY4A:10 a=cl8xLZFz6L8A:10 a=ZlyK2CvnAAAA:8 a=T64gVNDThljCIxfi5e8A:9 a=QEXdDO2ut3YA:10 a=nJDA7pAwL9_mp88Y2hEA:9 a=-DE-HuDqvbtxyieV:21 a=_W_S_7VecoQA:10 a=65LznRTJNR0fhtMdHxbG:22 Received: from [IPv6:2001:470:e117:4:60b1:c785:603b:e373] ( [2001:470:e117:4:60b1:c785:603b:e373]) by cerberus.crazybean.net (OpenSMTPD) with ESMTPSA id b73cd590 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 28 Apr 2020 02:41:12 -0400 (EDT) From: Rui DeSousa Message-Id: <913378B8-0A7F-44A6-BF34-32BF58FC0876@crazybean.net> Content-Type: multipart/alternative; boundary="Apple-Mail=_A6EE429D-2390-4FE6-8086-9DDD9127E255" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: PostgreSQL DB checkpoint error! Date: Tue, 28 Apr 2020 02:41:11 -0400 In-Reply-To: Cc: "pgsql-admin@postgresql.org" , "pgsql-admin@lists.postgresql.org" To: Ashok kumar Mani References: X-Mailer: Apple Mail (2.3608.80.23.2.2) X-CMAE-Envelope: MS4wfDFE2AJNuAcNl7RJZiuQbx2ci/KAeUeHdle7jW1ctBlmKwKt9MnWulb9uZIYqHRJ/PSW9LlBYiox2/Y8dZOT5fRe2e1aBP10wN07U9l5krlhMlthRRnR DSIN/nAQglc8YYyWpXktodsSfIDQjgLBvhW11stD7uEUHOkYrlU4l7TCkjOPl81p1zbaN24NaTBBpg4HXsLn2NhvflJ7Nk0sJPo5Z4m//cYnPlaLDDZSfQej JxXlpheYTwj/wo1K19qcch8JjYtb/8Y6zdLZYKuHPLo= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_A6EE429D-2390-4FE6-8086-9DDD9127E255 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 28, 2020, at 2:13 AM, Ashok kumar Mani = wrote: >=20 > Database is getting hung every day at 5AM. I found the below message = from log file , Could you please help me , should I need to increase the = max_wal_size value ? Most likely. I would recommend enabling checkpoint logging to get a = better understanding how often checkpoint are occurring, duration, and = size in relation to buffer pool. Check for 'checkpoint starting=E2=80=99 = and 'checkpoint complete=E2=80=99 in the PostgreSQL log files after = enabling it. log_checkpoints =3D on What is shared_buffers, max_wal_size, and wal_buffers set to? > Why it say =E2=80=9Cincomplete startup packet=E2=80=9D in the log. This should be benign.= --Apple-Mail=_A6EE429D-2390-4FE6-8086-9DDD9127E255 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Apr 28, 2020, at 2:13 AM, Ashok kumar Mani <amani@accelaero.com>= wrote:

Database is getting hung every day at 5AM. I found the below = message from log file , Could you please help me , should I need to = increase the max_wal_size value = ?

Most = likely.  I would recommend enabling checkpoint logging to get a = better understanding how often checkpoint are occurring, duration, and = size in relation to buffer pool.  Check for 'checkpoint = starting=E2=80=99 and 'checkpoint complete=E2=80=99  in the = PostgreSQL log files after enabling it.

log_checkpoints =3D on
What is shared_buffers, max_wal_size, = and wal_buffers set to?

Why it say =E2=80=9Cincomplete startup = packet=E2=80=9D in the log.

This should be benign.
= --Apple-Mail=_A6EE429D-2390-4FE6-8086-9DDD9127E255--