Unix Technical Forum

Terminating Idle Connections

This is a discussion on Terminating Idle Connections within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Is there a way inside of Postgresql to automatically terminate idle connections? I would like to terminate any connection ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:58 AM
Chris Hoover
 
Posts: n/a
Default Terminating Idle Connections

Is there a way inside of Postgresql to automatically terminate idle
connections? I would like to terminate any connection to my database that
has not has any activity for a specified period of time. I would like to be
able to do this despite the state of the connection (the majority of my
truly idle connections show "idle in transaction" in the process table). I
would love for the db engine to do this, but if it can't, is there an easy
way to do this outside the database with some sort of script?

If this is not possible, would there be a possibility of it being added to a
future version?

thanks,

Chris

RH 4.0 AS
PostgreSQL 8.1.3

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 02:58 AM
Ludek Finstrle
 
Posts: n/a
Default Re: Terminating Idle Connections

Tue, May 09, 2006 at 07:29:24PM -0400, Chris Hoover napsal(a):
> Is there a way inside of Postgresql to automatically terminate idle
> connections? I would like to terminate any connection to my database that


Your question isn't ODBC related. Please try another mailing list like
pgsql-admin.

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com