<?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 connection is slow -- in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605745#M82607</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Take a quick look at /etc/hosts&lt;BR /&gt;&lt;BR /&gt;See that the system has a line in it to resolve its own host name to its public IP address.&lt;BR /&gt;&lt;BR /&gt;Adding this deals with a common problem, which is slow DNS response. &lt;BR /&gt;&lt;BR /&gt;You may need to look at /etc/nsswitch.conf to insure that files is part of host resolution, ahead of DNS.&lt;BR /&gt;&lt;BR /&gt;You can test this little theory by seeing if the ftp connection works faster if you use the systems numeric IP address as opposed to its hostname.&lt;BR /&gt;&lt;BR /&gt;If the actual file transfer itself is slow, check the systems network duplex with mii-tool and/or ethtool.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 23 Mar 2010 20:35:34 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2010-03-23T20:35:34Z</dc:date>
    <item>
      <title>FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605744#M82606</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  We have a server installed with RHEL3. Using the server as FTP server. Whenever trying to connect this (FTP) from any other server, it is responding slowly (taking 30 sec approx.). How to reduce this delay ? any solution from your side?</description>
      <pubDate>Tue, 23 Mar 2010 15:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605744#M82606</guid>
      <dc:creator>BalajiJV</dc:creator>
      <dc:date>2010-03-23T15:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605745#M82607</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Take a quick look at /etc/hosts&lt;BR /&gt;&lt;BR /&gt;See that the system has a line in it to resolve its own host name to its public IP address.&lt;BR /&gt;&lt;BR /&gt;Adding this deals with a common problem, which is slow DNS response. &lt;BR /&gt;&lt;BR /&gt;You may need to look at /etc/nsswitch.conf to insure that files is part of host resolution, ahead of DNS.&lt;BR /&gt;&lt;BR /&gt;You can test this little theory by seeing if the ftp connection works faster if you use the systems numeric IP address as opposed to its hostname.&lt;BR /&gt;&lt;BR /&gt;If the actual file transfer itself is slow, check the systems network duplex with mii-tool and/or ethtool.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 23 Mar 2010 20:35:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605745#M82607</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-03-23T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605746#M82608</link>
      <description>FTP server software will often try to send an identd query to the client system by default. 30 seconds sounds like a common time-out value for an identd query.&lt;BR /&gt;&lt;BR /&gt;This used to be somewhat useful in the past, but in modern networks, the identd service is usually disabled (or does not exist at all, like in Windows systems) and/or traffic to the identd port (113/TCP) is blocked in most firewalls.&lt;BR /&gt;&lt;BR /&gt;There are two ways for a firewall to block a connection:&lt;BR /&gt;A) drop the connection, i.e. simply pretend the connection attempt did not exist. In the firewall rules, this is usually known as the DROP rule.&lt;BR /&gt;B) fake a response from the target system, saying essentially "this service is not available, don't bother trying." In the firewall rules, this is often known as the REJECT rule.&lt;BR /&gt;&lt;BR /&gt;If there is no firewall, but the target system does not have the service requested, the target system would send a response identical to the type B.&lt;BR /&gt;&lt;BR /&gt;When the FTP server sends an identd query, it expects to receive either a valid identd answer or a type B rejection. &lt;BR /&gt;If there is a firewall with a type A block for identd queries, the FTP server cannot detect it in any way: it is indistinguishable from a really slow connection. So the server must wait until the identd query times out. &lt;BR /&gt;&lt;BR /&gt;But as the response to the identd query is optional, the connection can then proceed as normal.&lt;BR /&gt;&lt;BR /&gt;Things to do at the FTP server side:&lt;BR /&gt;- If you wish to use the identd queries, make sure the FTP server's own iptables firewall does not block the identd responses.&lt;BR /&gt;- If you don't care about the identd queries, switch the identd query function off in the FTP server configuration.&lt;BR /&gt;&lt;BR /&gt;Things to do for firewall administrators:&lt;BR /&gt;- Please don't use DROP rules for the identd service (113/TCP). Use the REJECT rules instead. If you're worried about someone using the rejection response as a component for DoS attacks, set up a firewall rule that limits the maximum number of identd connections, and uses the DROP rule only if the number of connections is excessive.&lt;BR /&gt;&lt;BR /&gt;See also:&lt;BR /&gt;&lt;A href="http://www.chiark.greenend.org.uk/~peterb/network/drop-vs-reject" target="_blank"&gt;http://www.chiark.greenend.org.uk/~peterb/network/drop-vs-reject&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 24 Mar 2010 07:28:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605746#M82608</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-03-24T07:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605747#M82609</link>
      <description>Entry made in /etc/hosts and also checked earlier with nsswitch.conf entries. I am trying with numeric ip instead of host. I think this would not be worried with nsswitch.conf file. &lt;BR /&gt;&lt;BR /&gt;One more issue is: A scritp is written to connect ftp and it is working fine when it is executed manually. But when it is scheduled the script is firing but the log says "login failed"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Mar 2010 12:15:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605747#M82609</guid>
      <dc:creator>BalajiJV</dc:creator>
      <dc:date>2010-03-24T12:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605748#M82610</link>
      <description>Have you check the speed and duplex of all nodes inbetween?&lt;BR /&gt;&lt;BR /&gt;For your linux box use 'ethtool'.&lt;BR /&gt;&lt;BR /&gt;ethtool eth0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Mar 2010 13:37:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605748#M82610</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-03-24T13:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605749#M82611</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Entry made in /etc/hosts and also checked&lt;BR /&gt;&amp;gt; earlier with nsswitch.conf entries.&lt;BR /&gt;&lt;BR /&gt;Which entry on which system?  Checked what&lt;BR /&gt;how?  As usual, showing actual commands with&lt;BR /&gt;their actual output can be more helpful than&lt;BR /&gt;vague descriptions and interpretations.&lt;BR /&gt;Saying exactly what you did, and where you&lt;BR /&gt;did it, and what happened when you did it&lt;BR /&gt;may be more helpful than saying what you&lt;BR /&gt;think it all means.&lt;BR /&gt;&lt;BR /&gt;The usual slow-connection problem occurs when&lt;BR /&gt;the server can't look up the client's IP&lt;BR /&gt;address (to get the client's name).  The test&lt;BR /&gt;involves (on the server):&lt;BR /&gt;&lt;BR /&gt;      nslookup client_IP_address&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; A scritp is written [...]&lt;BR /&gt;&lt;BR /&gt;If my psychic powers were stronger, then I&lt;BR /&gt;might be able to tell you something about&lt;BR /&gt;your secret script.</description>
      <pubDate>Wed, 24 Mar 2010 13:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605749#M82611</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-24T13:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605750#M82612</link>
      <description>Yes I checked it &lt;BR /&gt;&lt;BR /&gt;$ sudo /usr/sbin/ethtool eth2&lt;BR /&gt;Password:&lt;BR /&gt;Settings for eth2:&lt;BR /&gt;        Supported ports: [ MII ]&lt;BR /&gt;        Supported link modes:   10baseT/Half 10baseT/Full&lt;BR /&gt;                                100baseT/Half 100baseT/Full&lt;BR /&gt;                                1000baseT/Half 1000baseT/Full&lt;BR /&gt;        Supports auto-negotiation: Yes&lt;BR /&gt;        Advertised link modes:  10baseT/Half 10baseT/Full&lt;BR /&gt;                                100baseT/Half 100baseT/Full&lt;BR /&gt;                                1000baseT/Half 1000baseT/Full&lt;BR /&gt;        Advertised auto-negotiation: Yes&lt;BR /&gt;        Speed: 1000Mb/s&lt;BR /&gt;        Duplex: Full&lt;BR /&gt;        Port: Twisted Pair&lt;BR /&gt;        PHYAD: 1&lt;BR /&gt;        Transceiver: internal&lt;BR /&gt;        Auto-negotiation: on&lt;BR /&gt;        Supports Wake-on: g&lt;BR /&gt;        Wake-on: d&lt;BR /&gt;        Current message level: 0x000000ff (255)&lt;BR /&gt;        Link detected: yes&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Mar 2010 13:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605750#M82612</guid>
      <dc:creator>BalajiJV</dc:creator>
      <dc:date>2010-03-24T13:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605751#M82613</link>
      <description>You only checked you NIC.  Traceroute the connection and verify the speed and duplex for all hops in between, including switches / ports.</description>
      <pubDate>Wed, 24 Mar 2010 13:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605751#M82613</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-03-24T13:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605752#M82614</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;# traceroute linuxftp&lt;BR /&gt;traceroute to linuxftp (172.17.4.100), 30 hops max, 40 byte packets&lt;BR /&gt; 1  linuxftp (172.17.4.100)  0.161 ms  0.125 ms  0.135 ms&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Mar 2010 13:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605752#M82614</guid>
      <dc:creator>BalajiJV</dc:creator>
      <dc:date>2010-03-24T13:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605753#M82615</link>
      <description>Sigh.&lt;BR /&gt;&lt;BR /&gt;Switches, like bridges, I don't think are going to show up in traceroutes as your default router is.&lt;BR /&gt;&lt;BR /&gt;Please contact the network admin for a topology.&lt;BR /&gt;&lt;BR /&gt;Please follow you network cables and ID the switch and port that you are plugged into.</description>
      <pubDate>Wed, 24 Mar 2010 14:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605753#M82615</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-03-24T14:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605754#M82616</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] Whenever trying to connect this (FTP)&lt;BR /&gt;&amp;gt; from any other server, it is responding&lt;BR /&gt;&amp;gt; slowly (taking 30 sec approx.). [...]&lt;BR /&gt;&lt;BR /&gt;Are data transfers slow, or is the only&lt;BR /&gt;problem a delay when first connecting?&lt;BR /&gt;&lt;BR /&gt;If the only problem is a delay when first&lt;BR /&gt;connecting, then the problem is not likely&lt;BR /&gt;to be anything in the network hardware.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The usual slow-connection problem occurs when&lt;BR /&gt;&amp;gt; the server can't look up the client's IP&lt;BR /&gt;&amp;gt; address (to get the client's name).  The test&lt;BR /&gt;&amp;gt; involves (on the server):&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt;       nslookup client_IP_address&lt;BR /&gt;&lt;BR /&gt;I'm still wondering how that works.</description>
      <pubDate>Wed, 24 Mar 2010 15:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605754#M82616</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-24T15:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605755#M82617</link>
      <description>data transfer is fine without any delay. Only the connection initiation takes time.</description>
      <pubDate>Wed, 24 Mar 2010 15:20:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605755#M82617</guid>
      <dc:creator>BalajiJV</dc:creator>
      <dc:date>2010-03-24T15:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: FTP connection is slow --</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605756#M82618</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Only the connection initiation takes time.&lt;BR /&gt;&lt;BR /&gt;Ok.  That means that you can safely ignore&lt;BR /&gt;all the noise about network hardware&lt;BR /&gt;problems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I'm still wondering how that works.&lt;BR /&gt;&lt;BR /&gt;Still true.</description>
      <pubDate>Wed, 24 Mar 2010 18:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ftp-connection-is-slow/m-p/4605756#M82618</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-24T18:23:04Z</dc:date>
    </item>
  </channel>
</rss>

