| From: | Thomas Markus <t(dot)markus(at)proventis(dot)net> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | infinite blocking statements in 8.2.3 |
| Date: | 2007-05-02 08:33:46 |
| Message-ID: | 46384CEA.9080906@proventis.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
I'm running 8.2.3 on ubuntu 6.06 (2.6.15-26-server SMP i686)
sometimes i have SELECTs that never ends. Normally I drop connections by
killing the connection process (kill <PID>). But these hanging
connections (which blocks other statements infinitly) cant be killed.
the only way is a pg_ctl -m immediate stop or a brutal kill -9
what can i do to
- limit statement runtime (set hard timeout)
- remove these blocking connections without killing other connections
Thomas
| Attachment | Content-Type | Size |
|---|---|---|
| t.markus.vcf | text/x-vcard | 251 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gabriele Bartolini | 2007-05-02 10:05:33 | VACUUM FULL ANALYSE hanging |
| Previous Message | Verna Violet | 2007-05-02 06:52:39 | Compile Postgres 8.2.4 under Windows failing |