VPS - Windows and Apache transfer speeds

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Spifft
A regular
A regular
Posts: 42
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Feb 17, 2011 2:42 pm

VPS - Windows and Apache transfer speeds

Post by Spifft »

I have looked all over, found fixes and they did not hold their ground. So I come here to see if anyone has any idea on what I can do to resolve my problem.

I am running a program, that runs apache web services, hmail, php etc etc. It is not Xampp, it is a newer opensource project I have been following for some time.

The problem I am having is the upload speed of the VPS to clients.
Being on a Gig line, this server should push a lot of bandwidth to anyone who is downloading from it.
There are known issues with Apache on windows machines.

I run win2k8 r2

Have changed in apaches httpd.conf:
From:

Code: Select all

EnableMMAP on
#EnableSendfile off
To:

Code: Select all

EnableMMAP off
EnableSendfile off
After restarting the server it was steady at 5mbs download speed. To confirm I even used another NFO VPS, remote desktop in and downloaded and was steady at 5mbs. (should be around 30-50).

Figured I was at least on the right path. 5mbs compared to 200kbs.

Searched more didn't find anything.
Decided to try a shot at changing the DefaultSendWindow values in registry.
Didnt exist, so I created. Also created a DefaultReceiveWindow.

Restart vps, WALLA 50mbs download speed from the other vps!

Ran for about 30 seconds and I tried again, 50mbs woot.

Now 15 minutes later, it's back down to the 200kbs, but it even continues to drop 1kbs each second after lowering to 200kbs, slowly down to 10kbs.

I run speedtest and everything seems ok, download from other sites and seems ok.

This has got to be an Apache issue and I am hoping someone where has some experience with it=)

If so please let me know if you have heard of this and know how to fix.

Some say it could be the NIC, but I am pretty sure the VPS I am on is on a newish machine in Seattle.

Thanks for any future help =)


****EDIT*****



PS: i do run mod_bw through the web panel I use. I had to create some custom ones since the CP only allowed up to 1mbs. Added custom ones of 2/10/100/1000 and they registered in the output of mod_bw vhost files.

Maybe mod_bw has limits? Throttle has been set to on with no limit, a 1000 limit and has also been set to off. But doesn't effect the high speeds I am looking for.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: VPS - Windows and Apache transfer speeds

Post by Edge100x »

One other item that I would recommend checking is that the network adapter options have LSO/TSO/GSO turned off. They should be turned off in a new Win2k8 R2 VDS, but it's a good thing to double-check.

I'd also recommend doing your tests without mod_bw for now, just to keep that ruled out.
Spifft
A regular
A regular
Posts: 42
Joined: Thu Feb 17, 2011 2:42 pm

Re: VPS - Windows and Apache transfer speeds

Post by Spifft »

Ok will do thanks John.
Post Reply