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 03-18-2005, 12:49 PM   #1
TTL_2
LQ Newbie
 
Registered: Jul 2004
Location: Germany
Posts: 26

Rep: Reputation: 15
Angry Uploading files stops after a few KB


Hello,
I have a big problem with uploading files. When I try to upload a file, only the first few kilobytes (sometimes 20KB and sometimes only 2KB) are transferred, after that the upload speed decreases down to zero and the upload process never comes to an end (no error messages are given). The behavior is the same with:
1. Sending emails with an attachment from my mail client (Mozilla).
2. Trying to upload a file to an other computer (a Windows machine) with samba within my local network
3. Trying to upload a file with ftp to my homepage (regardless whether I use ftp in the shell or Konqueror).

Uploading works on websites which support file-uploading with the browser (like a web interface for email or a forum with file upload). But the upload speed is very slow, around 10KB/s.
Other user in my local network can download files from my PC, but again only with no more than 10KB/s (our local network supports 100MBit/s).

Downloading works without any problem.

I am using Debian/testing with the kernel 2.4.25-1.
With Knoppix, I can upload files as fast as expected.

I even do not know which program is responsible for this behavior.
Please help me to configure my system so that file upload is usable again.
 
Old 03-18-2005, 04:32 PM   #2
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
can you successfully upload really small files? try uploading a text file that is only 100 bytes or so. This will tell you if you're actually establishing a connection or not.

are you able to download fine?

what program are you using to upload?
 
Old 03-18-2005, 05:14 PM   #3
TTL_2
LQ Newbie
 
Registered: Jul 2004
Location: Germany
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by pfunk
can you successfully upload really small files? try uploading a text file that is only 100 bytes or so. This will tell you if you're actually establishing a connection or not.
Uploading a 1,1KB file with ftp worked very well.
I tried to upload a 63KB png picture with ftp. I even can load the .png in my browser and see the first small part of the picture. Pressing the reload button after a few minutes, some more lines of the picture are visible.
Quote:

are you able to download fine?
Yes very well, surfing, fetching emails, updating my system downloading a Knoppix cd image.

Quote:

what program are you using to upload?
I tried sending mail attachments (mail client of Mozilla) next I tried to upload files with the "ftp" command in a console and establish a ftp connection with Konqueror and at last I tried to upload with "smb:/" and Konqueror to a computer in my local network.

During writing your answer he has uploaded 30,7 KB of the 63KB png file. It seems there are long delays without any upload followed by a short time of acceptable upload speed.
 
Old 03-18-2005, 05:42 PM   #4
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
Are you using binary mode in ftp to upload the binary file? that still wouldn't answer why mozilla can't upload an attachment.

sometimes ISP's limit upload speed (especially during peak hours) you should check withyour ISP to verify what your upload speed should be.

BTW - your english is fine! better than my spanish/german/french/etc.. :^)
 
Old 03-19-2005, 02:48 AM   #5
TTL_2
LQ Newbie
 
Registered: Jul 2004
Location: Germany
Posts: 26

Original Poster
Rep: Reputation: 15
Good morning,
Yes, the ftp program uses binary mode.

I don't think this is a problem with my ISP because I have the same problem with uploading (using Samba) files to a local computer in my network (no transfer to my ISP is needed) and with Knoppix I can upload files very well to my homepage.

And to make it a little bit more complicated, I tried a ftp program (Leechftp) for Windows with WINE and the upload worked as expected.

I think there is a problem very deep inside my system because very different programs are affected. I always hoped the problem would be solved by an update of the right program (apt-get update; apt-get upgrade) but nothing changed. (I did not had the problem within the first weeks after installing the system). I tried to find pages related to my problem with Google but I did not find anything useful.
 
Old 03-31-2005, 12:08 PM   #6
TTL_2
LQ Newbie
 
Registered: Jul 2004
Location: Germany
Posts: 26

Original Poster
Rep: Reputation: 15
Talking My problem had been solved

As I guess, it was a problem deep inside my system - the kernel.
I upgraded from kernel 2.4.25-1-386 to kernel 2.4.27-2-k7 and now the problem is completely gone.
For test purpose I started kernel 2.4.25-1-386 again and then the problem comes back.

Now I can upload files within my local network with around 2MB/s

TTL
PS: I stopped the time and it seems like my system starts one second faster with the new kernel.
 
  


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
Uploading Files lmanwarren Linux - Software 1 03-21-2005 08:48 AM
Managing a Website - Uploading Files BionicJoe Linux - Software 1 02-11-2005 02:37 AM
Uploading files to IMAP server ror Linux - Software 0 05-18-2004 04:26 AM
uploading files using putty ? lozz1978 Linux - Newbie 2 02-20-2004 10:30 AM
PHP and uploading files Syncrm Linux - General 5 07-02-2002 11:49 AM

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

All times are GMT -5. The time now is 01:12 AM.

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