From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Ram Pratap Maurya <ram.maurya@lavainternational.in>
To: 'pgsql-admin@lists.postgresql.org' <pgsql-admin@lists.postgresql.org>
Subject: Re: PG15 DB Error :::could not receive data from client: Connection reset by peer
Date: Wed, 19 Feb 2025 09:38:04 +0100
Message-ID: <d8c778c50dc7600acb4ae5797e82b37f1dab6689.camel@cybertec.at> (raw)
In-Reply-To: <KL1PR0601MB4433812008E9B08E754609B6F0C52@KL1PR0601MB4433.apcprd06.prod.outlook.com>
References: <KL1PR0601MB443336C9B802CED1A9B9B1E1F02D9@KL1PR0601MB4433.apcprd06.prod.outlook.com>
<KL1PR0601MB4433812008E9B08E754609B6F0C52@KL1PR0601MB4433.apcprd06.prod.outlook.com>
On Wed, 2025-02-19 at 06:16 +0000, Ram Pratap Maurya wrote:
> We are getting error frequently in PostgresDB:15 log file ,
> Please suggest why this error is coming and what is workaround to solve this error.
>
> /var/lib/pgsql/15/data/log/postgresql-Tue.log:2025-02-18 08:07:32.309 IST [1166457] LOG: could not receive data from client: Connection reset by peer
> /var/lib/pgsql/15/data/log/postgresql-Tue.log:2025-02-18 08:07:32.310 IST [1166411] LOG: could not receive data from client: Connection reset by peer
That is a complaint by the server about the client connection being
forcibly interrupted. Perhaps the client is not closing the database
session correctly, perhaps some network component is misconfigured.
I would first investigate what went on at the client side. Did the
client get an error too?
Yours,
Laurenz Albe
--
*E-Mail Disclaimer*
Der Inhalt dieser E-Mail ist ausschliesslich fuer den
bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte,
dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder
Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sich
in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen.
*CONFIDENTIALITY NOTICE & DISCLAIMER
*This message and any attachment are
confidential and may be privileged or otherwise protected from disclosure
and solely for the use of the person(s) or entity to whom it is intended.
If you have received this message in error and are not the intended
recipient, please notify the sender immediately and delete this message and
any attachment from your system. If you are not the intended recipient, be
advised that any use of this message is prohibited and may be unlawful, and
you must not copy this message or attachment or disclose the contents to
any other person.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, ram.maurya@lavainternational.in, pgsql-admin@lists.postgresql.org
Subject: Re: PG15 DB Error :::could not receive data from client: Connection reset by peer
In-Reply-To: <d8c778c50dc7600acb4ae5797e82b37f1dab6689.camel@cybertec.at>
* 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