Re: Client connection lost; still in the task list

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Client connection lost; still in the task list
Дата
Msg-id 24431.1208885368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Client connection lost; still in the task list  ("Didier Gasser-Morlay" <didiergm@gmail.com>)
Ответы Re: Client connection lost; still in the task list  ("Didier Gasser-Morlay" <didiergm@gmail.com>)
Список pgsql-novice
"Didier Gasser-Morlay" <didiergm@gmail.com> writes:
> So my question is what makes PostgreSQL realise that a connection is
> dead ? when will it drop it and free the connection ?

It'll drop it when the kernel tells it the connection is dead.
Standard TCP timeouts are measured in hours, though.  You might
be able to get a shorter timeout to be applied by fooling with
the "keepalive" parameters, if those can be adjusted on your platform.

            regards, tom lane

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

Предыдущее
От: "Didier Gasser-Morlay"
Дата:
Сообщение: Client connection lost; still in the task list
Следующее
От: "Fernando Fontana"
Дата:
Сообщение: pgoptions syntax?