<?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 timeout/performance problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827167#M581271</link>
    <description>Richard,&lt;BR /&gt;&lt;BR /&gt;I've just checked and unfortunately(!) that patch is installed, but thanks for that would have been a quick hit.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
    <pubDate>Fri, 18 Oct 2002 15:10:11 GMT</pubDate>
    <dc:creator>Jim Griffiths</dc:creator>
    <dc:date>2002-10-18T15:10:11Z</dc:date>
    <item>
      <title>FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827160#M581264</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a real time system running on a 6 node N-Class. A large number of files, 20,000+ per day, are ftp'd continously from a 3rd party supplier to this box down a dedicated 1Mb link. The files range in size from 20 bytes to 1Mb, and tend to arrive every few minutes in batches that also very in size. The files are sent from HP an L-class, via a shell script, but I don't have access to this system. So that the receiving system at our end (N class) doesn't try to process partially send files, each file in the batch has "tmp" at the front of the file name, this is removed via a rename when the whole batch has been sent.&lt;BR /&gt;&lt;BR /&gt;The problem: is that occasionally the sending s/w "hangs", and is automatically reset leaving large number of tmpxxxx... files around that are never renamed causing us major problems.&lt;BR /&gt;&lt;BR /&gt;I appreciate that not having access to the sending box does makes diagnosis somewhat difficult to say the least but has anyone got any ideas of things I might try and/or suggest to the supplier?&lt;BR /&gt;&lt;BR /&gt;Pinging the remote server when a batch is being recieved results in round trip times of 500-1000ms so does appear to saturate; there are no errors in syslog.log. Note other customers don't seem to have quite the same problem as we have.&lt;BR /&gt;&lt;BR /&gt;I was wondering whether it could be do with kernel parameters because a colleague of mine says that Oracle recommend upping certain parameters where there is very heavy traffic, eg web servers and the like, but I don't see any errors?&lt;BR /&gt;&lt;BR /&gt;Any help much appreciated,&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Wed, 16 Oct 2002 14:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827160#M581264</guid>
      <dc:creator>Jim Griffiths</dc:creator>
      <dc:date>2002-10-16T14:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827161#M581265</link>
      <description>We have had problems with ftp sessions never completing on one end but thinking they were done on the other.  Turned out to be an EMI sensitive NIC.&lt;BR /&gt;&lt;BR /&gt;Also check&lt;BR /&gt;lanadmin&lt;BR /&gt;lan&lt;BR /&gt;display &lt;BR /&gt;&lt;BR /&gt;look for errors and large percentage of collisions - don't skip the second page of the report.  Maybe it's something simple like a bad cable or a duplex mismatch.&lt;BR /&gt;&lt;BR /&gt;netstat -p tcp&lt;BR /&gt;&lt;BR /&gt;will show you errors and also some information about disconnects and their causes.&lt;BR /&gt;&lt;BR /&gt;netstat -a | grep ftp&lt;BR /&gt;will show you the state of the ftp connections.  Do you have lots of them stuck in FIN_WAIT_II or in ESTABLISHED with data in the queues?&lt;BR /&gt;&lt;BR /&gt;Get your network guy involved.  He should look for errors on the WAN link and drops at the input queues at each end of the WAN.  Sounds like the link is filling up and is being hogged by large data transfers.  He may need to add custom queueing (at the entrance to the WAN link on each end of the WAN)to give your traffic guaranteed bandwidth.  Get rid of Priority queueing if used.  Unless ftp is the highest priority then it can easily happen that a higher priority transmission can wipe you out.&lt;BR /&gt;&lt;BR /&gt;You can tune ftp a little with /etc/inetd.conf  see the man.&lt;BR /&gt;&lt;BR /&gt;Also ndd can be used to tune a few tcp parameters.  ndd -h |grep tcp will give you a list of them.  ndd -h "parametername" will give you a little help writeup on each one.  Dangerous to play with these tho unless you understand tcp.&lt;BR /&gt;&lt;BR /&gt;You can always just write a script which deletes any .tmp file older than x minutes.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 16 Oct 2002 17:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827161#M581265</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-10-16T17:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827162#M581266</link>
      <description>maybe a full duplex / half duplex problem. I have seen a defect switch, kreating the same problem.&lt;BR /&gt;&lt;BR /&gt;Use lanadmin with FD/HD.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Jannik</description>
      <pubDate>Wed, 16 Oct 2002 17:50:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827162#M581266</guid>
      <dc:creator>Telia BackOffice</dc:creator>
      <dc:date>2002-10-16T17:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827163#M581267</link>
      <description>indeed most of the interesting TCP stats will be on the sender.&lt;BR /&gt;&lt;BR /&gt;the bit about checking for errors is a good one. i'm not as convinced that high collision rates would necessarily be a problem - unless they are "late collisions" which are really mis-named errors.&lt;BR /&gt;&lt;BR /&gt;short of finding the reason for the dropped connections (probably a rexmit limit reached on the sender) you might consider a clean-up heuristic.&lt;BR /&gt;&lt;BR /&gt;some binary tcpdump traces (-w filename) could be interesting to examine with tcptrace/xplot&lt;BR /&gt;&lt;BR /&gt;assuming the receiving FTP sessions eventually timeout, you could (probably) detect a file from such a failled session with fuser. ostensibly, if the ftpd has gone away, an fuser on one of those "tmp" files would have no process id listed and so could be considered an orphan.</description>
      <pubDate>Thu, 17 Oct 2002 16:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827163#M581267</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-10-17T16:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827164#M581268</link>
      <description>I don't think its NIC cos there are other apps on the box and I would expect to see problems elsewhere, think it is related to the transient periods, 5-10mins+, of very high traffic. Actually I'm almost guaranteed to get this problem when the 3rd party server has been down for any length of time and is brought back online, its then attempts to send a backlog and "catch up"; this also takes an inordinate length of time so for that reason alone I am trying to justify the cost of upgrading the link to say 2Mb. Hopefully this will also help the "timeout" problem but would nice if I had abit more than a gut feeling! But thanks for your suggestions, I've now got a few things to look at when it next occurs. And thanks Rick for the fuser suggestion, I think I can use that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 18 Oct 2002 10:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827164#M581268</guid>
      <dc:creator>Jim Griffiths</dc:creator>
      <dc:date>2002-10-18T10:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827165#M581269</link>
      <description>You could could consider a replacenment of your ftpd.&lt;BR /&gt;For example wu-ftpd, or the newer proftpd (&lt;A href="http://www.proftpd.org/)" target="_blank"&gt;www.proftpd.org/)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Klaus</description>
      <pubDate>Fri, 18 Oct 2002 11:27:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827165#M581269</guid>
      <dc:creator>Klaus Crusius</dc:creator>
      <dc:date>2002-10-18T11:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827166#M581270</link>
      <description>Jim,&lt;BR /&gt;I had similar problems on an L1000 11.0, and they were resolved when I applied patch PHNE_23949.&lt;BR /&gt;RD</description>
      <pubDate>Fri, 18 Oct 2002 14:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827166#M581270</guid>
      <dc:creator>Richard Darling</dc:creator>
      <dc:date>2002-10-18T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827167#M581271</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;I've just checked and unfortunately(!) that patch is installed, but thanks for that would have been a quick hit.&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 18 Oct 2002 15:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827167#M581271</guid>
      <dc:creator>Jim Griffiths</dc:creator>
      <dc:date>2002-10-18T15:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827168#M581272</link>
      <description>10 minutes is something of a magic number to the transport - it is the value of tcp_ip_abort_interval, which is the maximum amount of time the TCP stack will wait for an ACK of successive retransmissions of the same TCP sequence number.&lt;BR /&gt;&lt;BR /&gt;now, that is only when the HP TCP is actively transmitting something - which would likely only be the control connections. and even then, the only transmission I can think of on the FTP control connection that would have an abort with a file in place would be the transfer completion message prior to the receipt of the rename command.&lt;BR /&gt;&lt;BR /&gt;by any chance are these orphaned files actually complete but just not renamed? I suppose I've missed a few other places where the HP side could have initiated the abort.&lt;BR /&gt;&lt;BR /&gt;still, you might try increasing the value of tcp_ip_abort_interval as an experiment - and check what its analog is on the remote.&lt;BR /&gt;&lt;BR /&gt;also make sure that the remote TCP can back-off its retransmission timers to something reasonable - say 60+ seconds.&lt;BR /&gt;&lt;BR /&gt;also, you mention that the ping times get into the 1000+ millisecond range. setting tcp_smothed_rtt_enabled to 1 might be interesting, &lt;BR /&gt;&lt;BR /&gt;also, with the wu-ftpd there are ways to limit the max number of sessions of a given defined class at a given time - you might consider putting the brakes on the remote system by limiting its max number of simultaneous sessions accepted by the HP box.&lt;BR /&gt;&lt;BR /&gt;capping the max number of simultaneous sessions may help make the transfers go faster overall - I know that goes against getting the link upgraded to 2Mbit :) but showing the boss you can fix things and still save money is sometimes good :) :) :)</description>
      <pubDate>Fri, 18 Oct 2002 17:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827168#M581272</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-10-18T17:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827169#M581273</link>
      <description>Rick, &lt;BR /&gt;&lt;BR /&gt;Absolutely right the orphaned files look as if they are complete, looks like the mput works but the rename fails for some reason, what do you have in mind? &lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Mon, 21 Oct 2002 08:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827169#M581273</guid>
      <dc:creator>Jim Griffiths</dc:creator>
      <dc:date>2002-10-21T08:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827170#M581274</link>
      <description>i'm guessing that the overload situation is causing some packets to be dropped consistently for ten minutes and so the local TCP drops back and punts the connection&lt;BR /&gt;&lt;BR /&gt;you could try increasing tcp_ip_abort_interval - that will make the local TCP wait longer before giving-up on the TCP connection.&lt;BR /&gt;&lt;BR /&gt;however, I think I prefer the route of setting-up the ftpaccess file to limit the number of sessions outstanding at any one time, so you do not have quite the same size of thundering herd beating on the poor 1 Mbps link.</description>
      <pubDate>Tue, 22 Oct 2002 17:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827170#M581274</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-10-22T17:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827171#M581275</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;You may change the tcp window size to set the network packets to accept large size packets. &lt;BR /&gt;&lt;BR /&gt;Also, someone mentioned above to ask your network guy to allocate strict bandwidth instead of shared bandwidth. This will help you data flow in a continuous stream instead of how it is getting affected right now. You may run tcpdump to view this. Another good idea is to run glance or webadmin for this. Webadmin can be got for free.&lt;BR /&gt;&lt;BR /&gt;Regarding the style of FTP to remove hassles of renaming, try this. Use a ftp software like CUTEFTP on the supplier side. Ask him to configure it for resend. This will give you a great help. I believe if he automates the sending of data it would be great thing for you. If he is running unix, still he can use samba to enable a windows based file transfer.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 22 Oct 2002 20:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827171#M581275</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2002-10-22T20:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827172#M581276</link>
      <description>Thanks Chaps,&lt;BR /&gt;&lt;BR /&gt;Rick, I don't think the ftpaccess file will help in this case cos virtually all ftp activity is coming from this one source, ie the one username, cos as I understand it ftpaccess works on username or group basis?&lt;BR /&gt;&lt;BR /&gt;So think I'll try adjusting the tcp_ip_abort_interval value, probably doubling it and see what happens.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Wed, 23 Oct 2002 12:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827172#M581276</guid>
      <dc:creator>Jim Griffiths</dc:creator>
      <dc:date>2002-10-23T12:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827173#M581277</link>
      <description>If your files are complete but not being renamed perhaps the problem is just in the renaming script and not in the data transfer?  What exactly does the script look like?  Can you capture any error messages the script generates?&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Wed, 23 Oct 2002 13:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827173#M581277</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-10-23T13:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827174#M581278</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;I've seen this problem more often when a firewall was used. For some reason if the config is not setup correctly it timeouts after a specific time without leaving messages in the regular files. It only leaves it in de firewall messages-file :)&lt;BR /&gt;Of course this firewall does not have to be installed on your side of the ftp-session, this can be on the other side as well.&lt;BR /&gt;I have seen the exact problem with Sunscreen, if the remote server is using this exact product let me know I can give you the details about how to solve this issue.&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Wed, 23 Oct 2002 13:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827174#M581278</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2002-10-23T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827175#M581279</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;You can look at the router level also. In our case, Connection get dropped to the server. And it was not keeping any logs any where. &lt;BR /&gt;&lt;BR /&gt;Actually what happened, Router was set to wait and fair queue. So when ever it was over loaded it use to drop the packet. Then we have changed it to first-in-first-out and now it is not dropping a single connection. If you are having a CISCO Router, I think you can set the priority for the ftp also, since you are facing the problem with ftp only.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Wed, 23 Oct 2002 14:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827175#M581279</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-10-23T14:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827176#M581280</link>
      <description>iirc, the ftpaccess stuff allows you to define "groups" of sessions, and limit the number of sessions of any one group type. so, you would define a group based on that one user name and say that only 5 or however many sessions could be going at one time.</description>
      <pubDate>Wed, 23 Oct 2002 16:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827176#M581280</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2002-10-23T16:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: FTP timeout/performance problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827177#M581281</link>
      <description>Thanks guys,&lt;BR /&gt;&lt;BR /&gt;Rick, thanks for the clarification I'll look at that.&lt;BR /&gt;It is going through a firewall somewhere so I'll check that as well David.&lt;BR /&gt;Ron, problem in all this is I don't have access to the sending box; the only thing I know is its not some proprietary product but some simple scripts the've written themselves. Anil, also data is sent to their other customers as well so don't think theres much scope in suggesting another product; having said that I'll see if they'll agree to at least sending me a copy of them.&lt;BR /&gt;&lt;BR /&gt;Any further thoughts gratefullly recieved but thanks for all your efforts, I've got quite a few things to look at now, and if I do get a definitive answer I'll let you know.&lt;BR /&gt;&lt;BR /&gt;Regrads,&lt;BR /&gt;&lt;BR /&gt;Jim</description>
      <pubDate>Thu, 24 Oct 2002 10:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-timeout-performance-problems/m-p/2827177#M581281</guid>
      <dc:creator>Jim Griffiths</dc:creator>
      <dc:date>2002-10-24T10:22:51Z</dc:date>
    </item>
  </channel>
</rss>

