LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-29-2007, 05:15 PM   #1
iokepa
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
http timeout - files larger than 5 KB


I am using Debian etch, 2.6.18-5-686 and am having problems transfering http files. In a browser like Epiphany I can load only part of any page but it stops loading before completing the page. It is impossible to use wget to download images larger than 5KB - they all stop after 5KB. Transfering files via FTP works fine regardless of the size. If I mess with my MTU the maximium size if the files I can transfer via http changes (increases, decreases accordingly). I have tried disabling ipv6 (from both my browser and in /etc/modprobe.d/aliases). The machine is on a LAN behind a pf based firewall. All of the other machines on the LAN are working fine. I have apache installed and there are no problems loading anything locally.
 
Old 11-30-2007, 11:05 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Does this problem exist only when transferring through the router, or also on the LAN? What happens when 'it stops loading'? Error messages, etc.? On all ports, or only on port 80? (There are web sites out there that use non-standard ports, but I can't think of any off the top of my head; also HTTPS). What happens when you reload a page? Have you tried operating the host in question as a server?
--- rod.
 
Old 12-03-2007, 09:17 AM   #3
iokepa
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
The problem only exists when transferring through the router, not on the LAN. All other machines on my LAN are working fine though.

I have experienced this problem with Debian on other machines. Maybe there is something about the combination of my firewall and Debian.

I don't think that the pages actually stop loading. I think they eventually time out - I really haven't waited long enough < 10 minutes. When using wget I can see the number of bytes transferred - the number transfered always stops at the same amount before reaching the total.

I was not aware of ports other than 80 and 443 (https). Regardless, both port types exhibit the same problem on any website.

The host is running an apache server and functions fine on the LAN. I haven't bothered to configure my firewall to test it from the outside.
 
Old 12-03-2007, 05:58 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
It is very difficult to imagine what is causing this. The two obvious points of failure are the host itself, and the router, and yet it seems to be only the combination of these two components that is causing the problem. What is the exact nature of your firewall? It is as if there is some throttling mechanism being applied.
My only suggestion is to look very closely at the firewall rules, and see if there is some obscure rule being applied. I'm guessing, but something such as QoS filtering, perhaps. Does your firewall provide any kind of logging capability? If yes, then you should look closely at what rules are being applied to your Debian host's traffic, and especially compared to other hosts. A network sniffer, such as wireshark may be useful. Compare the traffic for a working transfer from a different host, to a non-working transfer on the Debian host. This will take quite some effort, and may require that you insert a hub somewhere into the LAN, but I cannot conceive any other way to track down such a fault.
Good luck.
--- rod.
 
Old 12-10-2007, 11:48 AM   #5
iokepa
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your help. This is not an issue anymore. I got rid of the debian server. Instead I am running a VM. My ultimate goal was to set up a wiki server on debian using twiki. Instead I found deki wiki which runs debian on a VM. So far it has been running good. Again, thanks for the help.
 
  


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
mkisofs with files larger than 4GB daihard Linux - Software 6 10-26-2006 03:08 AM
Files larger than 4 GB Hamsjael Linux - Software 1 03-09-2005 01:51 PM
Can't copy files larger than 2GB? Rotwang Linux - General 6 03-09-2005 12:17 AM
Cannot see files larger than 4G in NTFS and 2G in SMB Muddy Linux - General 4 07-21-2004 05:42 PM
HTTP error: 500 read timeout precioso77 Linux - Software 0 11-17-2003 04:59 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration