<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ftp hangs for long transfers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713828#M580403</link>
    <description>try adding the "hash" command at the beginning of the ftp process so you get some more packets sent back to the HP.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
    <pubDate>Tue, 30 Apr 2002 12:25:33 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2002-04-30T12:25:33Z</dc:date>
    <item>
      <title>ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713824#M580399</link>
      <description>Hi all,&lt;BR /&gt;The situation :&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;The problem :&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;What I already did :&lt;BR /&gt;- Installed the latest ftp patch&lt;BR /&gt;- Made sure the filesystems support largefiles&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 30 Apr 2002 08:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713824#M580399</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-04-30T08:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713825#M580400</link>
      <description>It's all very well making the UNIX end work correctly, but I'd me much more tempted to check on the config of your mainframe... Historically the TCP stack on OS390 &amp;amp; MVS was incredibly flakey, and if your not on an up-to-date version this could be where your problem lies. Does the HP server have difficulty doing FTP transfers to other (non MF) systems on the same site as the mainframe - I would check this out first.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 30 Apr 2002 08:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713825#M580400</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-04-30T08:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713826#M580401</link>
      <description>Hi,&lt;BR /&gt;For clarification (thanks Deepak for making this clear) :&lt;BR /&gt;- We issue ftp get's. The files are on the mainframe and datatwarehouse is on Unix.&lt;BR /&gt;- The mainframe runs on OS/390 V4R1M0 which (I'm being told) is very up-to-date.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 30 Apr 2002 08:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713826#M580401</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-04-30T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713827#M580402</link>
      <description>Hi again,&lt;BR /&gt;Must be really asleep today. I meant "thanks Duncan" :-)&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 30 Apr 2002 08:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713827#M580402</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-04-30T08:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713828#M580403</link>
      <description>try adding the "hash" command at the beginning of the ftp process so you get some more packets sent back to the HP.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Tue, 30 Apr 2002 12:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713828#M580403</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-04-30T12:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713829#M580404</link>
      <description>I would do the same thing that Mark has suggested, sometimes the STDOUT to the console keeps the connection up.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Tue, 30 Apr 2002 12:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713829#M580404</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-04-30T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713830#M580405</link>
      <description>Hi,&lt;BR /&gt;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 :-).&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Tue, 30 Apr 2002 12:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713830#M580405</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-04-30T12:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713831#M580406</link>
      <description>Hi,&lt;BR /&gt;hash seems to work ... at least, the connection wasn't lost.&lt;BR /&gt;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 ...&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 03:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713831#M580406</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-05-02T03:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713832#M580407</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;If there is a firewall between the FTP client and FTP server, check the TCP session timeout settings at the firewall.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Thu, 02 May 2002 04:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713832#M580407</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-02T04:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713833#M580408</link>
      <description>Hi,&lt;BR /&gt;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 ... &lt;BR /&gt;&lt;BR /&gt;We do not have a firewall between the Unix server and the mainframe (both are "internal" servers).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Thu, 02 May 2002 14:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713833#M580408</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-05-02T14:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713834#M580409</link>
      <description>Hmm, I seem to remember that some ftp clients let you set the number of bytes of data that are tx before a hash is sent... but not the default HPUX ftp client...&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;ftp -n &amp;lt; my_ftp_cmds | sed s/^##.*/g &amp;gt; my_ftp_log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yes I know its a kludge!!&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 02 May 2002 14:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713834#M580409</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-05-02T14:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713835#M580410</link>
      <description>Hi All,&lt;BR /&gt;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 ;-).&lt;BR /&gt;&lt;BR /&gt;Regards (and "thank you" for everbody that replied),&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 13 Jan 2003 08:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713835#M580410</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2003-01-13T08:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: ftp hangs for long transfers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713836#M580411</link>
      <description>You might want to do some simple ping tests on the NIC card.&lt;BR /&gt;&lt;BR /&gt;Are ping times consistent, are they changing a lot.  This could point to network glitches that could be bothering your transfer.&lt;BR /&gt;&lt;BR /&gt;also try traceroute and make sure some router isn't causing you problems.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 13 Jan 2003 22:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-hangs-for-long-transfers/m-p/2713836#M580411</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-13T22:47:14Z</dc:date>
    </item>
  </channel>
</rss>

