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 > how do I increase connection timeout ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-17-04, 08:57
rh71 rh71 is offline
Registered User
 
Join Date: Jul 2004
Posts: 7
how do I increase connection timeout ?

DB2 Connect v7.2 on Windows platform...

Error message:
2004-08-14-21.18.23.800001 Instance:DB2 Node:000
PID:2584(namgr.EXE) TID:2580 Appid:092D72E5.8E0F.040814085003
common_communication sqlcctcpconnr Probe:101
DIA3202C The TCP/IP call "connect" returned an errno="10060".

I found this errno="10060" to mean:
WSAETIMEDOUT (10060): The establishment of a connection timed out before a connection was made.

All we're doing is having notes applications use DB2 ODBC to connect to other defined datasources. This is failing intermittently, then starts to fail more and more often with the above error message in the DB2DIAG log appearing often. We've already tried a reinstall of DB2 Connect. Do I increase the timeout somewhere or is there another problem at hand ? This started happening for no apparent reason a few weeks back.

Weird thing is that connects made from Command Center or CLP are always successful.

Last edited by rh71; 08-17-04 at 09:01.
Reply With Quote
  #2 (permalink)  
Old 08-17-04, 11:55
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Actually, this looks like a network problem to me...
Reply With Quote
  #3 (permalink)  
Old 08-17-04, 12:53
rh71 rh71 is offline
Registered User
 
Join Date: Jul 2004
Posts: 7
I should also add that a reboot of the box clears this "snowball effect" of more and more failures.. but it does eventually build up in number again. Does that still say network issue to you ? Or perhaps memory leak ? Can this symptom still be DB2-related ?
Reply With Quote
  #4 (permalink)  
Old 08-17-04, 14:47
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
DIA3202C The TCP/IP call "connect" returned an errno="10060".
I don't have any experience with DB2 Connect on Windows but I read the log messages as this:
- DB2 Connect requests a network connection to the host
- WinSock, Windows socket driver returns an error because of a timeout
- the error gets reported in the db2diag.log

I'd first make sure that the Windows TCP/IP stack is patched up to date and monitor network performance at the time when those errors occur: check how fast your DNS server responds; if you can ping the host at all; run a tracert and see the delays.
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