Re: Blocking connection and timeout problem - Mailing list pgsql-admin

From Dario Brignardello
Subject Re: Blocking connection and timeout problem
Date
Msg-id 1123090397.15646.36.camel@aleph.hq.sinectis.com.ar
Whole thread Raw
In response to Re: Blocking connection and timeout problem  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
List pgsql-admin
Assuming you are on a linux box (Not sure if it's stated in your mail,
sorry if I miss that) you could set

/proc/sys/net/ipv4/tcp_keepalive_time

to a lower value. That should do the trick :-)


Hope it helps.

Greetings
Dario.



On Wed, 2005-08-03 at 16:48 +0200, KÖPFERL Robert wrote:
>
>
>
> |-----Original Message-----
> |From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> |Sent: Mittwoch, 03. August 2005 16:38
> |To: KÖPFERL Robert
> |Cc: pgsql-admin@postgresql.org
> |Subject: Re: [ADMIN] Blocking connection and timeout problem
> |
> |
> |=?iso-8859-1?Q?K=D6PFERL_Robert?= <robert.koepferl@sonorys.at> writes:
> |> Why is that? Why isn't client A's transaction detected as dead ?
> |
> |It will be eventually, when the TCP connection times out.  The standard
> |timeout is generally an hour or two :-(
>
> Seems not like so. I waited for two hours and it still existed.
>
> But non-the-less. Can this timeout be configured to be less?
>
> |
> |            regards, tom lane
> |
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
--
Atte:
Dario Brignardello
Planificacion y Desarrollo
Tecnologia
UOL Argentina S.A

Florida 537 Piso 6, Buenos Aires, Argentina
+54-11-4321-9110 ext 2533
PGP public key: http://webs.uolsinectis.com.ar/dbrignar/pgp.html

Attachment

pgsql-admin by date:

Previous
From: "Vahe Ghorghorian"
Date:
Subject: Hello
Next
From: Jeff Frost
Date:
Subject: Re: hot backup