dead session terminate - Mailing list pgsql-sql

From Jie Liang
Subject dead session terminate
Date
Msg-id 7C760DAA511DC74B99E7D22189F786F1906DE2@MAIL01.stbernard.com
Whole thread Raw
List pgsql-sql
I don't how to put this question in a right way:

I have a web application client to communicate with postgreSQL-7.1.3, in the
case
the application get crash, which sometime happens.
The GUI of my application is disappear, I check my backend process, the
connection
which was done by my application is still there, is there a programatic way,
I can
cleanup those dead sessions, does postgreSQL have a way to terminate those
dead
sessions by timeout?
My current solution is to use 'kill pid' under FreeBSD4.3, I don't think
it's
a good solution.
The side effect of exiting those dead session is to keep my user waiting,
I don't know why, but it does, I think it's wierd.


Thanks.


Jie Liang 
Software Engineer 
St. Bernard Software 
16882 W. Bernardo Dr. 
San Diego, CA 92127 
Tel: 858-524-2134 
Fax:858-676-2228 
jie@stbernard.com 


pgsql-sql by date:

Previous
From: "Hunter, Ray"
Date:
Subject: Optimization Advice
Next
From: Jie Liang
Date:
Subject: system tables