LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2006, 10:46 AM   #1
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
FTP Keeps Stalling Out - Updated


Hey,

Ever since I started using Linux (almost 2 years ago now), I've noticed that uploading files via FTP tends to result in occasional stalling. Never before have I noticed a file being uploaded via FTP stall in Windows, but it seems like almost weekly something'll stall out and refuse to work in Linux. It was never a huge problem before, since if I tried again it would usually start to work fine.

However, recently I started running Gentoo Linux and have been plauged by FTP issues ever since. (I'm a web developer, so FTP issues are kinda big) Usually I just use KDE's Konqueror as an FTP client, it's always worked great for me in the past. When I noticed the constant stalling though, I pulled down gftp to test with. gftp got the file the Konqueror kept stalling on to upload, so I assumed it was just an issue with the client. Then, a few days later, I had to do some more uploading. Konqueror stalled out, so I pulled up gftp. gftp stalled out, so I pulled up the shell ftp binary. That stalled out, so I pulled up Google. After downloading yafc, I tried that, again, stalling. Where it stalls depends on the client, but each client stalls the file out at the same place. I left yafc running while I searched for information on the problem, and, as I write this post, the time elapsed on it reads 49:20. It's a 200 kB file at 25.8%; it's been at 25.8% for the last 45+ minutes. So, it isn't going to unstall itself any time soon.

Passive mode is on. There is no firewall. I'm on a router, but accessing the same FTP server works fine under Windows, so I doubt that's the cause.

Thoughts on the case and solution? To me, it seems like the issue probably lies in the Linux Kernel and the way it handles TCP stuff since the issue seems to be client-independent. Google revealed virtually nothing.

Thanks in advance,
Adam A. Flynn

Last edited by Adam A Flynn; 01-22-2006 at 08:57 PM.
 
Old 01-08-2006, 01:39 PM   #2
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Archlinux
Posts: 85

Rep: Reputation: 17
is windows on the same box, and do you have problems with other network clients that use TCP, it is very unlikely that it is a Kernel problem. I'd guess it's a connectivity problem, check your cables. try copying files to and from other computers on your network see if you get the same problem. give us some more information about your network setup
 
Old 01-09-2006, 08:57 PM   #3
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
Yes Windows is on the same box. Basically my computer is wired into a router which is wired into a cable modem. There are a few other windows boxes on the network. Never seen any issues with any network stuff over Windows, but I've noticed stalling out now in both my prior MDK setup and in my current Gentoo one. Odd...

The other thing I saw was that it could be my MTU setting. I had it down to 1400 bytes just to be careful; maybe bringing it up to 1472 will do something...
 
Old 01-09-2006, 10:39 PM   #4
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Archlinux
Posts: 85

Rep: Reputation: 17
you could try that see if it helps, also double check to make sure you are running the correct drivers for your network cards chipset.
 
Old 01-10-2006, 06:14 PM   #5
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
I'm running the e1000 driver, which should be correct for my chipset.

Also, I've noticed after more testing that the files always stall out at exactly the same place (as in, no matter what client I use, it always stops at the same spot). This spot is different for all files and none of the files appear damaged. It strikes me as odd that files are stopping at different places, but for each file always at the same place. What could that indicate?

Thanks for your help thus far, by the way, ak99505
 
Old 01-11-2006, 09:55 AM   #6
ak99505
Member
 
Registered: Feb 2005
Location: Missouri
Distribution: Archlinux
Posts: 85

Rep: Reputation: 17
are you running 64-bit or 32-bit, I've had problems with my internal card on my laptop when I tried 64-bit, the network connection would stop working, I put it back to 32-bit and it works fine. but that's a broadcom chipset not intel as far as I know the intel chipset has been around for awhile and should be pretty stable. but you say it's only happening when using ftp or is it happening with any connection.
 
Old 01-11-2006, 05:40 PM   #7
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
I'm fairly sure I'm running 32-bit. I've got an Intel Gigabit network adapter. According to lspci, it's model 82547EI.

FTP is the only protocol which causes this issue that I've noticed. Don't have any noticable issues with HTTP, SSH, or anything else I use.
 
Old 01-12-2006, 06:41 PM   #8
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
Just tried to set up a DMZ to my IP address from the router... no effect. Neither passive mode on nor off has any effect. Nor does setting the type from binary to ascii.
 
Old 01-22-2006, 08:57 PM   #9
Adam A Flynn
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Original Poster
Rep: Reputation: 0
Did a lot more testing and came to the following conclusions:
* A direct modem connection works, whereas going through the router (even with a DMZ set up) doesn't
* It doesn't work under Windows
* In Windows, I can traceroute to the server; in Linux it won't give me a traceroute
* In both OSs I can ping the server fine
* I can access the server via other protocols fine, just not FTP
* The server's FTP log says I keep timing out

The big thing, obviously, is that it works direct modem but doesn't with the router. I'm wired into the router, so transmission loss would be likely be low. What else could I configure on the router to make things work?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Stalling, Internet Stalling. Need network admin please. teckk Linux - Networking 8 06-26-2009 11:56 PM
Fedora 3 stalling donrena Linux - Newbie 11 07-20-2005 02:25 PM
FTP connections keep stalling Kovacs Slackware 2 07-12-2005 10:55 AM
Install stalling nuxor Mandriva 5 04-11-2005 07:02 PM
mozilla stalling fitz9948 Mandriva 1 04-18-2004 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration