VERY slow FTP uploads, downloads are fine --ppp or ftp setup problem?

VERY slow FTP uploads, downloads are fine --ppp or ftp setup problem?

Post by Andrei Kog » Sat, 11 Oct 1997 04:00:00


Hello,

Here is the problem: I am using ppp to connect to Internet. I've recently
discovered that when I try to upload large files ( 0.1-2MB,  mostly tar.gz
archives) via ftp it takes really long time. Trying the upload with the
hash marks on shows that uproximmately 50-100 K gets uploaded ( this is
how many
########################## appear) and then the transfer seems to stall.
Short files (1-50K) eventually get uploaded( albeit very slowly).  The
speed of FTP downloads is consistent with what I expect (2.8-3K/sec on a
28.8 modem) during the same connection, and this happens no matter what
server I try to upload a file to.

Is this likely to be an FTp or ppp problem? FTPing from WIN95 using the
same ISP  works fine both ways.

What debugging strategy would you suggest? Also-- this is something I
couldn't find from the FAQ/HOWTO/locate ppp|grep doc:
How do I find out what the negotiated connection speed has been set? (When
dialing from win, I usually get 24000 baud)

TIA for any info or suggestions. I am using the RedHat 4.1 distribution,
with no changes ( to the best of my knowledge) to relevant " factory
settings".

Best Wishes,
Andrei



 
 
 

VERY slow FTP uploads, downloads are fine --ppp or ftp setup problem?

Post by Henrik Uhrenfeld » Mon, 13 Oct 1997 04:00:00



> Hello,

> Here is the problem: I am using ppp to connect to Internet. I've recently
> discovered that when I try to upload large files ( 0.1-2MB,  mostly tar.gz
> archives) via ftp it takes really long time. Trying the upload with the
> hash marks on shows that uproximmately 50-100 K gets uploaded ( this is
> how many
> ########################## appear) and then the transfer seems to stall.
> Short files (1-50K) eventually get uploaded( albeit very slowly).  The
> speed of FTP downloads is consistent with what I expect (2.8-3K/sec on a
> 28.8 modem) during the same connection, and this happens no matter what
> server I try to upload a file to.

> Is this likely to be an FTp or ppp problem? FTPing from WIN95 using the
> same ISP  works fine both ways.

I've encountered a problem quite like that. With my linux box set up as
a PPP server, I connected my Amiga computer (well, I had to try) with a
null-modem cable. The link established 100% OK, and I was able to do FTP
(and more). Here I could download at about 5-6 k/sec, but upload was
incredibly slow. So this might look like the same thing - just the
opposite direction. My guess is that the PPP parameters should be adjusted
in some way - maybe the link floods with errors, which results in
retransmissions. OK.. this really didn't help much, but I'm curious too!

Best Regards

Msg. from

------------------------------------------

* Department of Communication Technology *
* D3-group 321, room A4-217, Fr.B 7A     *
* www.geocities.com/Yosemite/Rapids/1025 *
------------------------------------------

 
 
 

1. Very Slow FTP on Local LAN Linux server/masquerading box, but internet FTP is fine.

I have a complex network setup on a RedHat 7.0 linux box. I am trying to
troubleshoot a Very Slow Linux FTP Server.  The wu-ftpd 2.6 server on my
linux box is not serving up files faster than 64 kb/s, and only works if I
use an FTP client where I can force a limit to throughput of 64 kb/s or
less. If I use the command line FTP client, I can't get files to transfer at
all.

I have a Windows 2000 network client using LeechFTP, a nice FTP Client for
windows, that allows you to throttle your FTP download speed to a maximum of
say, 16 kb/s.  If I set that limit before I start a download, of 16 kb/s,
then the download will proceed at a steady pace, at 16 kb/s. If  I set the
limit to 64 kb/s, it proceeds at 64 kb/s.  If I remove the limit altogether,
the file transfer stops.  This weird behaviour only applies to my local
Linux box. Any downloads through the Linux box out to the internet, via IP
Masquerading, are working just fine.  FTP from my windows client machine out
through linux IP masquerading, to an Internet FTP host like ftp.cdrom.com,
regularly exceeds 100 kb/s in speed, and has no problems.

It's only from my local LAN Client (Windows 2000) to my local LAN server
(RedHat 7.0) that the FTP is so slow.

Details: RedHat 7, kernel 2.2.17, on 486/66 box (with Pentium Overdrive
chip), 32 megs RAM.
CPU usage on the linux box stays consistently low, and does not exceed 50%
total usage, even when FTP is in progress.

I have tried the following:
- removed all ip_masq_* Modules using rmmod
- Only bring up eth1, which is the local internal LAN (on subnet
10.42.42.xx)
- Bring up both ETH0 and ETH1, but don't enable IP Masquerading
- Tried starting up SAMBA, it runs so slowly as to be unusable as well, and
Windows has timeouts trying to access SAMBA.
- Tried accesing the FTP server via its local ethernet IP (10.42.42.2) and
its Internet IP (24.xx.yy.zz) and got the same slow rate of transfer and
"apparent LAN freezeup".

I am completely stumped. I have set up other FTP Servers before and they've
always performed well on the local LAN. What's going on?  How can I diagnose
this?  It's not just SLOW it freezes up.

Warren Postma

2. PPTP and RH7.1 iptables

3. FTP slow download fast upload Red-Hat 6.1

4. Boot problem

5. Slow FTP download over ppp

6. please help: I killed my hard drive with efdisk

7. PPP slow download but upload is ok.

8. ufsdump a directory instead of a filesystem

9. ftp upload/download loggging in SOlaris 2.6

10. FTP upload goes down when download is using

11. FTP uploading and downloading at the same time

12. Allowing FTP upload but not download

13. FTP with uploading and downloading ratio