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 > db2 idle out

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-11, 04:08
alwayssathya alwayssathya is offline
Registered User
 
Join Date: Aug 2010
Location: Chennai India
Posts: 161
Wink db2 idle out

hi,

i have issue in db2 sever where i could see lot of users/application connecting, but they are not disconnecting from the db, So i have to kill the application to avoid CPU and memory related issues.

Is there any way that users/application will get disconnected if they idle for a particular period of time.

Db2 V 9.7 fp4
Rhel 5.5

Kindly help me

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-14-11, 09:41
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Ideally this should be handled by the application. Idle connections should not be impacting the CPU, just taking up a small amount of memory. You would have to write a cron script to periodically do it for you.

Andy
Reply With Quote
  #3 (permalink)  
Old 11-14-11, 22:54
alwayssathya alwayssathya is offline
Registered User
 
Join Date: Aug 2010
Location: Chennai India
Posts: 161
Thanks Andy,

I will do a script, By any chance can i use db2gov to avoid thes issues.
db2gov is for all enviroment or is it for a partitioned db environment.

Kindly correct me if wrong
Reply With Quote
  #4 (permalink)  
Old 11-15-11, 09:28
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
db2gov has been deprecated in v9.7. You can look at the Work Load Management to see it it can do it.

Andy
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