Connection Drop from PostgreSQL Database Server

Поиск
Список
Период
Сортировка
От Mohit Kumar Sahni
Тема Connection Drop from PostgreSQL Database Server
Дата
Msg-id TYAPR01MB2063E77CF28C350045ABEACFBC720@TYAPR01MB2063.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответы Re: Connection Drop from PostgreSQL Database Server  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
I have done a setup over Azure Cloud for my PostgreSQL DB.
It's Ubuntu 18.04 LTS (4vCPU, 8GB RAM) machine with PostgreSQL 9.6 version.
The problem that occurring is, when the connection to the postgresql db stays idle for some time let's say 2 to 10
minutesthen the connection to the db does not respond such that it doesn't fulfil the request and keep processing the
query.
Same goes with my JAVA Springboot Application. The connection doesn't respond and the query keep processing.

This happens randomly such that the timing is not traceable sometimes it happens in 2 minutes, sometimes in 10 minutes
&sometimes don't. 
I have tried with PostgreSQL Configuration file parameters. I have tried:
tcp_keepalive_idle, tcp_keepalive_interval, tcp_keepalive_count.
Also statement_timeout & session_timeout parameters but it doesn't change anyway.

Thank you

В списке pgsql-general по дате отправления:

Предыдущее
От: Sergei Kornilov
Дата:
Сообщение: Re: Question about pg_upgrade from 9.2 to X.X
Следующее
От: Boris Sagadin
Дата:
Сообщение: Slave server sometimes locks up