After restart of our C++(postgres client) which is running in the kubernetes pod, connection is getting hanged.

From: M Tarkeshwar Rao <m(dot)tarkeshwar(dot)rao(at)ericsson(dot)com>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: After restart of our C++(postgres client) which is running in the kubernetes pod, connection is getting hanged.
Date: 2020-01-22 05:58:34
Message-ID: VI1PR0701MB27189107F539C56B412E2845AE0C0@VI1PR0701MB2718.eurprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

We are new to Kubernetes. Our application is in C++ and it is connecting to postgres server.
We are facing problems during sending traffic to postgres server. Initially it is running fine.

When we restarting the container it hanged. We took tcpdump. After analyzing the dump we found that
Connection is established but not getting the response.

Initially when everything ok(without restart of container) we are getting 1 byte response from server after connection established.
But after restarting of the container, postgres server is not sending this 1byte response .

Regards
Tarkeshwar

Browse pgsql-general by date

  From Date Subject
Next Message Mladen Marinović 2020-01-22 09:37:18 Memory usage of pg_basebackup...
Previous Message Laurenz Albe 2020-01-21 16:47:46 Re: Questions about how to streaming replication (pg 9.2)