Web Hosting Talk







View Full Version : Problem: Downloading Stops


Studio64
08-04-2004, 10:05 AM
An intranet site I run is having some problems. It allows downloads of very large files (1+ GB) and due to a few little issues I have to use HTTP instead of FTP..

I was using IIS6 (win2k3) to server the files but, IIS6 was throttling the connections down since I don't have QOS installed (nor, can I). So IIS would throttle the download to about 700k which isn't nice when downloading a 2.2 gig file...

So, I installed Apache2 on the box. I get about 8MB/s off it which is a remarkable improvement but, the problem is now I get a "Internet Connection Reset" when the file has finished downloading, so I never receive the file...

I've tried tweaking a few things in httpd.conf but, it hasn't seemed to help

Does anyone know what setting I'm missing that's causing this problem?

Studio64
08-04-2004, 12:37 PM
Apache gets to 2gig's of mem usage before it tanks...

Any suggestions on a fix? Or how do I raise the limit of the amount of memory a service application can use?

hiryuu
08-04-2004, 02:48 PM
That would be the limit on application size, yes. There's a kernel patch that allows 4GB:4GB (4 gig limit for kernel and applications), but I don't have the name offhand. A 64-bit processor (like Athlon 64, Alpha, etc) won't have that problem, but that probably isn't an option for you.

Look into thttpd. It handles static files with far less overhead than Apache, and I'm also betting it uses file reads instead of memory maps, so it can handle 64-bit file sizes.

Studio64
08-10-2004, 12:15 AM
Originally posted by hiryuu
That would be the limit on application size, yes. There's a kernel patch that allows 4GB:4GB (4 gig limit for kernel and applications), but I don't have the name offhand. A 64-bit processor (like Athlon 64, Alpha, etc) won't have that problem, but that probably isn't an option for you.

Look into thttpd. It handles static files with far less overhead than Apache, and I'm also betting it uses file reads instead of memory maps, so it can handle 64-bit file sizes.

Well... I doubt I can re-compile the kernal here... Since if you read the original post I'm on a Win2k3 server...

The problem is def software since these boxes are Dual 3.06 Xeons w/ 2 gig's of mem....

So it's something in the software config I can't find..

hiryuu
08-10-2004, 05:49 PM
I suppose I should read the whole post. Anyway, thttpd has a Windows port, so that's still a valid possibility.

Studio64
08-12-2004, 11:42 AM
Does anyone have a solution on how to speed up downloads off IIS...

This is becoming a slightly critical issue... Any solutions?