Re: TCP keepalive support for libpq

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: TCP keepalive support for libpq
Дата
Msg-id db471ace1002110833v708f7f60xd07e9534cdb3cf20@mail.gmail.com
обсуждение исходный текст
Ответ на Re: TCP keepalive support for libpq  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: TCP keepalive support for libpq
Re: TCP keepalive support for libpq
Список pgsql-hackers
From the Slony-I docs (http://www.slony.info/documentation/faq.html) :

"Supposing you experience some sort of network outage, the connection
between slon and database may fail, and the slon may figure this out
long before the PostgreSQL  instance it was connected to does. The
result is that there will be some number of idle connections left on
the database server, which won't be closed out until TCP/IP timeouts
complete, which seems to normally take about two hours. For that two
hour period, the slon will try to connect, over and over, and will get
the above fatal message, over and over. "

Speaking as someone who uses Slony quite a lot, this patch sounds very
helpful. Why hasn't libpq had keepalives for years?

Regards,
Peter Geoghegan


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

Предыдущее
От: Koichi Suzuki
Дата:
Сообщение: Bug on pg_lesslog
Следующее
От: Andrew Chernow
Дата:
Сообщение: Re: TCP keepalive support for libpq