Re: TCP keepalive support for libpq

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: TCP keepalive support for libpq
Дата
Msg-id 4C2309D402000025000329B3@gw.wicourts.gov
обсуждение исходный текст
Ответ на TCP keepalive support for libpq  (Tollef Fog Heen <tollef.fog.heen@collabora.co.uk>)
Список pgsql-hackers
Greg Stark  wrote:
> we'll find that other timeouts are longer than we expect too. TCP
> Keepalives won't come into it at all if there is any unacked data
> pending -- TCP *will* detect that case but it might take longer
> than you want too and you won't be able to lower it.
If memory servers after twenty years, and the standard hasn't
changed, if you add up all the delays, it can take about nine minutes
maximum for a connection to break due to a wait for unacked data. 
That's longer than the values Robert showed (which I think was
between one and two minutes -- can't fine the post at the moment),
but quite a bit less than the two hours and ten minutes you get with
the defaults for keepalive.
-Kevin



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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: ECPG FETCH readahead
Следующее
От: PostgreSQL - Hans-Jürgen Schönig
Дата:
Сообщение: Re: ECPG FETCH readahead