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 1mYyaM-0005zz-3S for pgsql-admin@arkaria.postgresql.org; Fri, 08 Oct 2021 22:43:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mYyaJ-0002Vc-Dj for pgsql-admin@arkaria.postgresql.org; Fri, 08 Oct 2021 22:43:23 +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 1mYyaJ-0002VO-4w for pgsql-admin@lists.postgresql.org; Fri, 08 Oct 2021 22:43:23 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYyaH-0007ut-1W for pgsql-admin@postgresql.org; Fri, 08 Oct 2021 22:43:22 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1mYyaF-0000kT-0L; Fri, 08 Oct 2021 18:43:19 -0400 Date: Fri, 8 Oct 2021 18:43:18 -0400 From: Bruce Momjian To: Wells Oliver Cc: Tom Lane , pgsql-admin Subject: Re: 13.4 on RDS, SSL SYSCALL EOF on restore Message-ID: <20211008224318.GE31533@momjian.us> References: <20211008213535.GD31533@momjian.us> <12415.1633731375@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Oct 8, 2021 at 03:34:04PM -0700, Wells Oliver wrote: > Dug out some more logging: > > 2021-10-08 20:18:46 UTC::@:[27842]:LOG:  checkpoint complete: wrote 43719 > buffers (8.3%); 0 WAL file(s) added, 0 removed, 842 recycled; write=3239.859 s, > sync=0.560 s, total=3242.821 s; sync files=67, longest=0.050 s, average=0.008 > s; distance=55175592 kB, estimate=55185037 kB > 2021-10-08 20:24:44 UTC::@:[27842]:LOG:  checkpoint starting: time > 2021-10-08 20:35:08 UTC::@:[12682]:LOG:  server process (PID 3970) was > terminated by signal 9: Killed ------------------------------ Ah, this line above is probably the out-of-memory killer, meaning you allocated too much memory and the operating system killed a backend process with kill -9, causing the server to have to restart. Reducing maintenance_work_mem is probably the right solution, or increase your RAM. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.