From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Error: server closed the connection unexpectedly
Date: Sun, 10 Oct 2021 09:27:23 -0700
Message-ID: <122c4f4b-17c5-d0e5-f8a7-c541cfb910d6@aklaver.com> (raw)
In-Reply-To: <4bcbf4b4-747b-5cee-8de4-229852fa8d1b@gmail.com>
References: <CANnUUWLrWmLi+YFfjkt5KN3brBCtKaAAQ7tGKYP3SedW7+VFQg@mail.gmail.com>
<cbd0c999-f05b-d03e-5195-1479e0001af6@aklaver.com>
<4bcbf4b4-747b-5cee-8de4-229852fa8d1b@gmail.com>
On 10/9/21 23:18, Ron wrote:
> On 10/9/21 3:26 PM, Adrian Klaver wrote:
>> On 10/9/21 9:01 AM, Anil wrote:
>>> Hi Team,
>>>
>>> I am using Postgres (AWS instance, version: PostgreSQL 12.7 on
>>> x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.3 20140911 (Red Hat
>>> 4.8.3-9), 64-bit) with python for programming and pgAdmin for
>>> querying. However facing below error very often but did not see any
>>> aborted information in log (in server activity, pdAdmin
>>> dashboard). Tried to get support from open community but no luck so
>>> writing to you, could you help me?
>>
>> What does the actual Postgres log show?
> Adrian,
>
> I've been getting the same error for two months from psql 12.5 on an EC2
> Linux host, trying to connect to an RDS Postgresql 12.7 instance, after
> months of working properly.
>
> [a467197@uisawsprdlinrds ~]$ psql postgres
> psql: error: server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
Unfortunately this message is from the wrong end of the transaction. You
and the OP need to look on the server end for the cause. I would start
with the Postgres server log and the OS system logs.
>
> --
> Angular momentum makes the world go 'round.
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
Subject: Re: Error: server closed the connection unexpectedly
In-Reply-To: <122c4f4b-17c5-d0e5-f8a7-c541cfb910d6@aklaver.com>
References: <CANnUUWLrWmLi+YFfjkt5KN3brBCtKaAAQ7tGKYP3SedW7+VFQg@mail.gmail.com> <cbd0c999-f05b-d03e-5195-1479e0001af6@aklaver.com> <4bcbf4b4-747b-5cee-8de4-229852fa8d1b@gmail.com> <122c4f4b-17c5-d0e5-f8a7-c541cfb910d6@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox