Very slow FTP Transfers

Issues related to configuring your network
Post Reply
zbzz
Posts: 2
Joined: 2010/07/13 18:36:55

Very slow FTP Transfers

Post by zbzz » 2010/07/13 19:41:00

I'm having a bizarre problem with FTP transfers from my CentOS 5.3 boxes, All of my CentOS boxes appear to be limited at ~10kb/s when connecting to any FTP server outside of our network. We have no network infrastructure which would cause this, however when I use a windows based machine it is able to connect fine.
I took my laptop running Vista, and rebooted it onto a CentOS 5.3 LiveCD, and same issue.
I have checked our iptables, cleared the rules, removed the kernel modules, checked CBQ/TC it looks like nothing is limiting this. Also, other protocols work fine. Both the windows and linux boxes used passive transfers for it.

Has anyone ran into similar issues? Is there anything other than iptables/CBQ which would be on a out of the box install of CentOS I should check? Is there any kernel settings for NAT connections which may cause this? I have researched this issue a bit and I'm at a bit of a dead end.

Thanks

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Very slow FTP Transfers

Post by pschaff » 2010/07/13 21:26:11

Welcome to the CentOS fora. The following reading is recommended for new users:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25128&forum=47]How to provide information about your system[/url]

Can't guarantee that it will help, but you should immediately update to the current/supported release 5.5. 5.3 is seriously obsolete and has numerous known bugs and security
issues that have been fixed in subsequent updates. Obsolete releases are not supported, nor is it advisable to be running them.

See the [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.5]CentOS 5.5 Release Notes[/url] for details.

User avatar
dfateyev
Posts: 34
Joined: 2009/11/15 03:34:01
Location: Kostanay, Kazakhstan
Contact:

Re: Very slow FTP Transfers

Post by dfateyev » 2010/07/14 04:10:19

Probably, there are issues with active/passive FTP-connections (you've tried to use `passive` from windows and `active` from centos, or vice versa). Your windows machines also may have an auto-assigned proxy (obtained with the automatic configuration), which centos hasn't.

zbzz
Posts: 2
Joined: 2010/07/13 18:36:55

Re: Very slow FTP Transfers

Post by zbzz » 2010/07/14 17:31:40

Well, it looks like my questions needs to be geared more towards linux in general.
I attempted with CentOS 5.5 LiveCD, no dice. I tried with Ubuntu, same issue.
I use passive transfers on both Windows/Linux, linux, 10kb/s, windows, 500+kb/s.
Other protocols work fine on linux (I tested even with higher port ranges that FTP would use, out of curiousity.)

I'm assuming that if I take my laptop to another network and tested on linux, it will work fine. But that leads me to wonder, what specific network settings/differentiation would linux have for FTP's that my windows cygwin-based ncftp would not have? I have a lot of experience with linux and networking, and this one just stumps me. The only problem seems to be on that network with linux boxes using FTP, and I'm having trouble isolating any further than that.

User avatar
dfateyev
Posts: 34
Joined: 2009/11/15 03:34:01
Location: Kostanay, Kazakhstan
Contact:

Re: Very slow FTP Transfers

Post by dfateyev » 2010/07/15 07:45:00

Well, have you tried with another ftp-client (wget, some gui-clients) ?

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: Very slow FTP Transfers

Post by r_hartman » 2010/07/28 09:31:16

[quote]I use passive transfers on both Windows/Linux[/quote]

If you're using the native FTP client on Windows you're not using passive transfers, as the native client does not support passive mode, at least on XP and anything older. Probably still on Vista and W7. If you're using a proper client, like FileZilla, you can switch modes and compare. Alternatively, you could try and use active mode on CentOS.

Post Reply