idle connection timeout

Started by Grzegorz Jaśkiewiczabout 17 years ago3 messagesgeneral
Jump to latest
#1Grzegorz Jaśkiewicz
gryzman@gmail.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Grzegorz Jaśkiewicz (#1)
Re: idle connection timeout

=?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

#3Grzegorz Jaśkiewicz
gryzman@gmail.com
In reply to: Tom Lane (#2)
Re: idle connection timeout

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