After restart of our C++(postgres client) which is running in thekubernetes pod, connection is getting hanged. - Mailing list pgsql-general

From M Tarkeshwar Rao
Subject After restart of our C++(postgres client) which is running in thekubernetes pod, connection is getting hanged.
Date
Msg-id VI1PR0701MB27189107F539C56B412E2845AE0C0@VI1PR0701MB2718.eurprd07.prod.outlook.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Questions about how to streaming replication (pg 9.2)
Next
From: Mladen Marinović
Date:
Subject: Memory usage of pg_basebackup...