Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Busy FTP adapter?

Status
Not open for further replies.

RedSoxM3

IS-IT--Management
Mar 27, 2006
39
US
6.7.1 Win2K

I was hoping I someone could shed some light on this issue. One of our trading partner's server was down. We could connect, but it would just be waiting for a response.

Anyway, the FTP map for this system did not fail, rather it just hung in the management console. Not only that, ALL Get and Put FTP maps hung. The FTP map is a simple map and "standalone" as far as I could see - meaning there were no contentions. All FTP maps hung for over an hour, then finally one by one, slowly finished.

So, can the FTP adapter be busy if it's stuck on one map that doesn't fail?
 
Hi,

the "create new connection" in DSTX is single threaded (I guess so that connections can be reused and you don't have multiple maps writing to the same target etc.).

Also, in 6.7.1 most adapters in DSTX have no timeout (HTTP is an exception, there may be a couple of others).

So, when the FTP client hangs, you cannot make any more connections anywhere within your Event Server.

You should be able to request a patch for this in 6.7.1, its in the product as standard in 8.0.1 (and probably earlier). The patched version supports a -TIMEOUT parameter where you can specify the number of seconds till the connection is timed out. We typically use "-TIMEOUT 20"

Cheers,
Olly.
 
OllyC, thanks for the explanation! I'll definely open a ticket and see if I can get a patch to address this. Question though, can I set a "timeout" in the .ini file? Specifcally,

IdleFTP=1
;SLimFTP=0
;HLimFTP=0
;MinFTP=0


Or do I need a KEEPxxx parameter?
 
the IdleFTP=1 will close the FTP connection after its been idle for a second (i.e. DSTX is not using it), it won't close a hung connection.

the -TIMEOUT appears on the adapter command string so you can have different timeouts for different servers.

There's nothing in the mercator.ini file that you can use to help a hung FTP server!

cheers,
Olly.
 
Thanks OllyC, I really appreciate your help. Mystery solved!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top