From: | Hannu Krosing <hannu(at)skype(dot)net> |
---|---|
To: | Greg Stark <gsstark(at)mit(dot)edu> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Stats collector performance improvement |
Date: | 2006-01-09 15:48:21 |
Message-ID: | 1136821701.4076.1.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches pgsql-performance |
Ühel kenal päeval, P, 2006-01-08 kell 11:49, kirjutas Greg Stark:
> Hannu Krosing <hannu(at)skype(dot)net> writes:
>
> > Interestingly I use pg_stat_activity view to watch for stuck backends,
> > "stuck" in the sense that they have not noticed when client want away
> > and are now waitin the TCP timeout to happen. I query for backends which
> > have been in "<IDLE>" state for longer than XX seconds. I guess that at
> > least some kind of indication for this should be available.
>
> You mean like the tcp_keepalives_idle option?
>
> http://www.postgresql.org/docs/8.1/interactive/runtime-config-connection.html#GUC-TCP-KEEPALIVES-IDLE
>
Kind of, only I'd like to be able to set timeouts less than 120 minutes.
from:
http://developer.apple.com/documentation/mac/NetworkingOT/NetworkingWOT-390.html#HEADING390-0
kp_timeout
Set the requested timeout value, in minutes. Specify a value of
T_UNSPEC to use the default value. You may specify any positive
value for this field of 120 minutes or greater. The timeout
value is not an absolute requirement; if you specify a value
less than 120 minutes, TCP will renegotiate a timeout of 120
minutes.
-----------
Hannu
From | Date | Subject | |
---|---|---|---|
Next Message | Kurt Roeckx | 2006-01-09 15:57:36 | Re: Fw: Is anyone interested in getting PostgreSQL working |
Previous Message | Ron Mayer | 2006-01-09 15:25:13 | Re: ISO 8601 Intervals |
From | Date | Subject | |
---|---|---|---|
Next Message | Yoshiyuki Asaba | 2006-01-09 17:04:20 | CREATEUSER == SUPERUSER? |
Previous Message | Neil Conway | 2006-01-09 08:16:58 | Re: plpgsql: check domain constraints |
From | Date | Subject | |
---|---|---|---|
Next Message | Szűcs Gábor | 2006-01-09 15:59:16 | Re: Avoiding cartesian product |
Previous Message | Harry Jackson | 2006-01-09 15:40:31 | Re: help tuning queries on large database |