Обсуждение: idle connection timeout

Поиск
Список
Период
Сортировка

idle connection timeout

От
Grzegorz Jaśkiewicz
Дата:
hey folks,

is there any potential idle connection timeout on server side ?
I got a C++ client here, using pqxx, that waits with CLOSE_WAIT, which
would potentially mean that back end called close() on connection,
if there's such idle timeout, how long is it set to by default, and
can it be set by user ?
the server version in this case is 8.1.4

ta.


--
GJ

Re: idle connection timeout

От
Tom Lane
Дата:
=?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?= <gryzman@gmail.com> writes:
> is there any potential idle connection timeout on server side ?

No.

You might be getting bit by an idle timeout somewhere else, such as
in a NAT router between the client and server.

            regards, tom lane

Re: idle connection timeout

От
Grzegorz Jaśkiewicz
Дата:
2009/3/26 Tom Lane <tgl@sss.pgh.pa.us>:

> You might be getting bit by an idle timeout somewhere else, such as
> in a NAT router between the client and server.

ok, thanks tom.



--
GJ