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 1mZeWS-0005u3-VK for pgsql-general@arkaria.postgresql.org; Sun, 10 Oct 2021 19:30:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZeWR-0006sN-FY for pgsql-general@arkaria.postgresql.org; Sun, 10 Oct 2021 19:30:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZeWR-0006s4-2r for pgsql-general@lists.postgresql.org; Sun, 10 Oct 2021 19:30:11 +0000 Received: from mail-oi1-x232.google.com ([2607:f8b0:4864:20::232]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mZeWM-000891-9Y for pgsql-general@lists.postgresql.org; Sun, 10 Oct 2021 19:30:10 +0000 Received: by mail-oi1-x232.google.com with SMTP id q129so926119oib.0 for ; Sun, 10 Oct 2021 12:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=vGE7vwjN2cpU4aL+m8LOcIJ54p6qMQSWe0HNf6c/m9c=; b=EBsUadMdEaIeTUNwNHfM7x8g2vzo2ao8qXkhUqM76XXd5pCx0gh8PahNz/WlHLCN9g nw3FhlGnz9K5GLdvYXKLUcQf1Gr1FIOHCQJnpyJSPKHRG/5Cc8w/E/33J5rFEfOnSnLn TtSBcwUmpmWpPC9N+d+6306lHCgumTzorUIXqj+aK6dS8qItOpzD270I/IMGth6Pd6YS uWKG4a8ISLn9MKWy8frcUHGUrizVzQSu6NN1RgVLaUQxNZjBAsnlbIW1Oj/ZHGk2oFTD ERwKzMhnCCZ6WDdUkCF8jtLIQoxcsR1B8sELwqpg8FtAbH3g+sYApI4tCkLC0CrCRFtw ejwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=vGE7vwjN2cpU4aL+m8LOcIJ54p6qMQSWe0HNf6c/m9c=; b=WHiLm55zTR1d3iM7F+IwHr9dqHWiG0D4c/VoNgDrZ/rHDzyzuy5bRnrJ8/oezBnAeE gZSSfw/k/wzakGZ58xuhcDTejLLLZ+7qGzYMDwJ7v9o/tSOiCgGxvvP8SvmpXJQJm8d2 PQZHK3az2cDdC0d/8SgSabkFz5+yUp+UeLP5TlWo3z6JyAjlLDY9XgysZUxjjh6YFiA2 3+r47w3jtO3EyZPs34HBCczwcNX4pg6lR36Lu4F39fD0eXwc3g2/idlu9susL4ZXQU6K B0GzTHu+T+WbRg4k9uHHbrNhKqASwZaoXMVZyn6COP/knarAUkweEfCV5jlKCABTOkTA su4g== X-Gm-Message-State: AOAM530DYGL3kvk5+lau5R5hFVBwCuZOOKhbKycW8IUtwN4CG8N5wpLP 7wuXQLer6oIxk1c3FHpTZlw18QBMfww= X-Google-Smtp-Source: ABdhPJwq90CtabSU2A1G/NjIdUEt8aGtM7yVa/r4R1skTJrTUGMTbLdg84JW4AenvX+K5FFkfjz6SQ== X-Received: by 2002:a54:410f:: with SMTP id l15mr3900080oic.153.1633894202430; Sun, 10 Oct 2021 12:30:02 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id bh39sm1312441oib.37.2021.10.10.12.30.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Oct 2021 12:30:01 -0700 (PDT) Subject: Re: Error: server closed the connection unexpectedly To: pgsql-general@lists.postgresql.org References: <4bcbf4b4-747b-5cee-8de4-229852fa8d1b@gmail.com> <122c4f4b-17c5-d0e5-f8a7-c541cfb910d6@aklaver.com> <320d769e-70bb-b78a-d31b-24ff200ae339@gmail.com> <320615.1633893603@sss.pgh.pa.us> From: Ron Message-ID: <88091b4c-0731-0077-46c7-41b402601878@gmail.com> Date: Sun, 10 Oct 2021 14:30:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <320615.1633893603@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------791CE0B9BC509A77BCE2ECBE" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------791CE0B9BC509A77BCE2ECBE Content-Type: multipart/alternative; boundary="------------0F1471282E6A1EAE54BB5444" --------------0F1471282E6A1EAE54BB5444 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 10/10/21 2:20 PM, Tom Lane wrote: > Ron writes: >> I think Anil mentioned that there's *nothing* in the Postgresql server log, >> even (in my case) with log_min_messages cranked to debug5. > I'm skeptical that you're looking in the right place, then. > What do you get from > > show log_destination; > show log_directory; This is AWS RDS Postgresql.  The db server log is accessed via a web interface, and is /the/ postgresql log just like you see in vanilla Postgresql. I've attached it.  My attempt to connect happened some time between between 04:10:30 and 04:17:30. > > regards, tom lane -- Angular momentum makes the world go 'round. --------------0F1471282E6A1EAE54BB5444 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 10/10/21 2:20 PM, Tom Lane wrote:
Ron <ronljohnsonjr@gmail.com> writes:
I think Anil mentioned that there's *nothing* in the Postgresql server log, 
even (in my case) with log_min_messages cranked to debug5.
I'm skeptical that you're looking in the right place, then.
What do you get from

show log_destination;
show log_directory;

This is AWS RDS Postgresql.  The db server log is accessed via a web interface, and is the postgresql log just like you see in vanilla Postgresql.

I've attached it.  My attempt to connect happened some time between between 04:10:30 and 04:17:30.


			regards, tom lane

--
Angular momentum makes the world go 'round.
--------------0F1471282E6A1EAE54BB5444-- --------------791CE0B9BC509A77BCE2ECBE Content-Type: text/x-log; charset=UTF-8; name="postgresql.2021-10-03-04.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="postgresql.2021-10-03-04.log" 2021-10-03 04:01:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:01:30 UTC::@:[1721]:LOG: checkpoint complete: wrote 235 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=23.706 s, sync=0.004 s, total=23.733 s; sync files=73, longest=0.004 s, average=0.001 s; distance=66469 kB, estimate=68389 kB 2021-10-03 04:06:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:10:21 UTC::@:[1714]:LOG: received SIGHUP, reloading configuration files 2021-10-03 04:10:21 UTC::@:[1714]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1714]:LOG: parameter "log_min_error_statement" changed to "debug5" 2021-10-03 04:10:21 UTC::@:[1719]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1723]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1727]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1722]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1726]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1724]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1725]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:21 UTC::@:[1721]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:10:36 UTC::@:[1721]:LOG: checkpoint complete: wrote 6166 buffers (0.1%); 0 WAL file(s) added, 0 removed, 2 recycled; write=269.121 s, sync=0.008 s, total=269.152 s; sync files=172, longest=0.008 s, average=0.001 s; distance=64636 kB, estimate=68014 kB 2021-10-03 04:16:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:16:12 UTC::@:[1721]:LOG: checkpoint complete: wrote 56 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=5.788 s, sync=0.007 s, total=5.816 s; sync files=39, longest=0.004 s, average=0.001 s; distance=130865 kB, estimate=130865 kB 2021-10-03 04:17:40 UTC::@:[1714]:LOG: received SIGHUP, reloading configuration files 2021-10-03 04:17:40 UTC::@:[1714]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1714]:LOG: parameter "log_min_error_statement" changed to "info" 2021-10-03 04:17:40 UTC::@:[1719]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1724]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1723]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1722]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1726]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1725]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1721]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:17:40 UTC::@:[1727]:LOG: skipping missing configuration file "/rdsdbdata/config/recovery.conf" 2021-10-03 04:21:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:21:07 UTC::@:[1721]:LOG: checkpoint complete: wrote 8 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.958 s, sync=0.006 s, total=0.986 s; sync files=5, longest=0.006 s, average=0.002 s; distance=65543 kB, estimate=124333 kB 2021-10-03 04:26:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:26:28 UTC::@:[1721]:LOG: checkpoint complete: wrote 215 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=21.796 s, sync=0.006 s, total=21.823 s; sync files=117, longest=0.006 s, average=0.001 s; distance=65729 kB, estimate=118473 kB 2021-10-03 04:31:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:31:29 UTC::@:[1721]:LOG: checkpoint complete: wrote 230 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=23.305 s, sync=0.013 s, total=23.339 s; sync files=89, longest=0.013 s, average=0.001 s; distance=65945 kB, estimate=113220 kB 2021-10-03 04:36:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:36:26 UTC::@:[1721]:LOG: checkpoint complete: wrote 199 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=20.187 s, sync=0.006 s, total=20.214 s; sync files=84, longest=0.003 s, average=0.001 s; distance=65478 kB, estimate=108446 kB 2021-10-03 04:41:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:41:21 UTC::@:[1721]:LOG: checkpoint complete: wrote 144 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=14.647 s, sync=0.005 s, total=14.672 s; sync files=77, longest=0.005 s, average=0.001 s; distance=65133 kB, estimate=104114 kB 2021-10-03 04:46:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:46:33 UTC::@:[1721]:LOG: checkpoint complete: wrote 261 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=26.426 s, sync=0.004 s, total=26.457 s; sync files=140, longest=0.004 s, average=0.001 s; distance=65678 kB, estimate=100271 kB 2021-10-03 04:51:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:51:21 UTC::@:[1721]:LOG: checkpoint complete: wrote 150 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=15.252 s, sync=0.007 s, total=15.279 s; sync files=69, longest=0.006 s, average=0.001 s; distance=65318 kB, estimate=96775 kB 2021-10-03 04:56:06 UTC::@:[1721]:LOG: checkpoint starting: time 2021-10-03 04:56:24 UTC::@:[1721]:LOG: checkpoint complete: wrote 177 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=17.972 s, sync=0.006 s, total=17.999 s; sync files=72, longest=0.006 s, average=0.001 s; distance=66034 kB, estimate=93701 kB --------------791CE0B9BC509A77BCE2ECBE--