If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Inactive threads - how to automatically terminate them?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-05, 15:44
mvo@work mvo@work is offline
Registered User
 
Join Date: Nov 2004
Posts: 15
Inactive threads - how to automatically terminate them?

Hi,

We're running UDB 7.1 (yes, upgrade is on its way) on Solaris. I have a number of users using DB2 command center to connect to the database and they often don't terminate their session at the end of the day after issuing a SELECT that can return a large result set. Therefore, the locks are never released and the online application sometimes fails to insert into the database because the transaction log is full.

Is there any config parameter that will cause DB2 to terminate those threads when they go inactive for a given time period ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-07-05, 16:43
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think you can use DB2 Governor utility to disconnect idle and/or long-running applications.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On