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 > data studio disconnects after inactivity

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-10, 10:38
nigelrivett nigelrivett is offline
Registered User
 
Join Date: Oct 2001
Location: England
Posts: 426
data studio disconnects after inactivity

We are using Data Studio v2.2 on windows to connect to DB2 v9.5 on Linux .
After a while without use this disconnects and drops any temporary tables.
I's causing some users a lot of dificulty.

Is there any way of preventing or extending this disconnect?
Is it controlled from the client?
Reply With Quote
  #2 (permalink)  
Old 03-09-10, 10:53
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,574
My guess is that your connection is being dropped without your knowledge. This can be controlled from the server. What is the output of: "cat /proc/sys/net/ipv4/tcp_keepalive_time"?

Andy
Reply With Quote
  #3 (permalink)  
Old 03-09-10, 11:14
nigelrivett nigelrivett is offline
Registered User
 
Join Date: Oct 2001
Location: England
Posts: 426
Quote:
Originally Posted by ARWinner View Post
My guess is that your connection is being dropped without your knowledge. This can be controlled from the server. What is the output of: "cat /proc/sys/net/ipv4/tcp_keepalive_time"?

Andy
Thanks
Would that be on the DB2 server which I don't have access to - onlt via a database connection.
Reply With Quote
  #4 (permalink)  
Old 03-09-10, 11:16
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,574
Yes it would.

Andy
Reply With Quote
  #5 (permalink)  
Old 03-09-10, 11:37
nigelrivett nigelrivett is offline
Registered User
 
Join Date: Oct 2001
Location: England
Posts: 426
Got someone to look and he says
/proc/sys/net doesn't exist
/proc/sys does.
Reply With Quote
  #6 (permalink)  
Old 03-09-10, 11:39
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,574
What flavor of linux is it?

Andy
Reply With Quote
  #7 (permalink)  
Old 03-09-10, 16:44
nigelrivett nigelrivett is offline
Registered User
 
Join Date: Oct 2001
Location: England
Posts: 426
I'm told it's
SUSE Linux Enterprise Server 10 SP1 (x86_64)

thanks.
Reply With Quote
  #8 (permalink)  
Old 03-09-10, 16:57
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,574
Sorry, I do not know anything about SUSE. Have them figure out what the keepalive_time is for the system.

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