- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp hangs for long transfers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:08 AM
тАО04-30-2002 01:08 AM
ftp hangs for long transfers
The situation :
We use Control-M to schedule jobs that contain steps on both (IBM)Mainframe and HP(Unix). We initiate the ftp's from the HP platform (initiating them on Mainframe makes them real slow).
The problem :
Sometimes (for Datawarehouse) we ftp files that run into the gigabytes. Most nights this works fine. But sometimes these ftp's hang. And they hang for days (they don't get a timeout) until we at last have mercy on them and kill them.
What I already did :
- Installed the latest ftp patch
- Made sure the filesystems support largefiles
Any help would be welcome. The suggested workaround would be to check if the ftp does something and if not kill it ... but personally I don't like that kind of solution.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:15 AM
тАО04-30-2002 01:15 AM
Re: ftp hangs for long transfers
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:25 AM
тАО04-30-2002 01:25 AM
Re: ftp hangs for long transfers
For clarification (thanks Deepak for making this clear) :
- We issue ftp get's. The files are on the mainframe and datatwarehouse is on Unix.
- The mainframe runs on OS/390 V4R1M0 which (I'm being told) is very up-to-date.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:27 AM
тАО04-30-2002 01:27 AM
Re: ftp hangs for long transfers
Must be really asleep today. I meant "thanks Duncan" :-)
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 05:25 AM
тАО04-30-2002 05:25 AM
Re: ftp hangs for long transfers
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 05:30 AM
тАО04-30-2002 05:30 AM
Re: ftp hangs for long transfers
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 05:40 AM
тАО04-30-2002 05:40 AM
Re: ftp hangs for long transfers
Ok, I'm gonna try hash. As this will be for tonight, I'll assign the points (which are coming) in the morning (naughty me :-).
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 08:22 PM
тАО05-01-2002 08:22 PM
Re: ftp hangs for long transfers
hash seems to work ... at least, the connection wasn't lost.
I didn't forsee (never worked with hash before) the fact however that a # is added to the stdout for every 1024 bytes. With big files this tends to generate a serious logfiles. We need these logfiles because everything runs in batch ...
To make a long story short :-) ... I ran out of filesystem space on the logfiledirectory. I'll try again next night ... but if anyone has a different solution ... I'd still like to here it.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2002 09:48 PM
тАО05-01-2002 09:48 PM
Re: ftp hangs for long transfers
If you run a firewall in-between the FTP client and FTP server, one possibility is the TCP session timeout (TCP connection idle timeout) set at your firewall.
When you have a huge file transfer, commands are sent to the FTP control connection (port 21), subsequently, the FTP data connection (port 20) takes over for the file transfer. The FTP control connection is left to sleep until the file transfer completes. If the period of file transfer over the FTP data connection exceeds the TCP session timeout value set at your firewall, this results in the FTP data connection sleeping longer than the TCP session timeout value. As a result, your FTP control connection will be terminated by the firewall.
I suspect that "hash on" sends hashes via the FTP control connection, thus ensuring that the FTP control connection never exceeds the TCP session timeout and this prevented your FTP session from hanging.
If there is a firewall between the FTP client and FTP server, check the TCP session timeout settings at the firewall.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 07:26 AM
тАО05-02-2002 07:26 AM
Re: ftp hangs for long transfers
The DATATIMEOUT parameter (which - so they tell me - is the only parameter that could have effect) on the mainframe is set to 5 minutes. They also tell me that this can not have a negative effect ...
We do not have a firewall between the Unix server and the mainframe (both are "internal" servers).
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2002 07:59 AM
тАО05-02-2002 07:59 AM
Re: ftp hangs for long transfers
Of course if all these annoying hashes are just filling up your logs, you could filter the output of ftp thro sed to get rid of them, something like:
ftp -n < my_ftp_cmds | sed s/^##.*/g > my_ftp_log
Yes I know its a kludge!!
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2003 12:22 AM
тАО01-13-2003 12:22 AM
Re: ftp hangs for long transfers
It took me a while to get back to this, but the problem is solved. Apparently the problem was situated on the IBM Mainframe (OS390). The fix is APAR PQ47412 - PTF UQ53021 (for those interested in OS390 patches ;-).
Regards (and "thank you" for everbody that replied),
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2003 02:47 PM
тАО01-13-2003 02:47 PM
Re: ftp hangs for long transfers
Are ping times consistent, are they changing a lot. This could point to network glitches that could be bothering your transfer.
also try traceroute and make sure some router isn't causing you problems.
I would investigate patches with the name largefiles and ftp in them, and have at the very least a near current patch bundle on the machine.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com