WAMP uploading slowly?
Posted by: Bugz000 (---.range81-156.btcentralplus.com)
Date: June 12, 2013 02:36AM

Hello there,

i've been using many HTTP servers including
Lighttpd standalone
Lighttpd hosting package (with mysql etc etc, very similar to wamp)
WAMP
HFS

now i had a few issues with dependancies, long story short i have WAMP (apache 2.2.22) and i can't move to a new server so i gotta fix this one! sad smiley

i'm having an issue where the server will only upload at ~130kb/s to anyone outside the network

it's really quite odd

LAN it's fine, external? 60-130kb/s

HFS uploads at anything between 600-1mb/s but is a bit unstable (as expected cause the HTTPD isn't great)
Lighttpd works fine and seems to upload things instantly, but i can't use this

so, my internet is very fast, "faster than 96% of GB" according to speedtest at 78mbit down and 14mbit up

i understand that speed will deteriorate over long distances but surely not to the extent of 130kb/s?


i've added a few lines to my httpd.conf to no avail

AcceptFilter http connect
#AcceptFilter http data
EnableSendfile on
EnableMMAP on
ThreadsPerChild 250
SendBufferSize 0
#MaxConnectionsPerChild 0

(a few lines are commented as i've been enabling/disabling them to see)
tried Sendfile OFF and enableMMAP off too, nothing seems to work!

MaxConnectionsPerchild made WAMP fail to boot properly so i had to comment that out

i tried the registry edit but all that did was make uploading/downloading any large files just stop mid-way

can anyone help me troubleshoot this issue? it's really quite frustrating as i use this server to transfer 10-20mb files frequently and having my friends sit there waiting for 5-10 mins for a file isn't great sad smiley

here is my full HTTPD.conf [paste2.org]

i thank you for your time!
Bugz.



Edited 1 time(s). Last edit at 06/12/2013 02:38AM by Bugz000.

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: Bugz000 (---.range81-156.btcentralplus.com)
Date: June 12, 2013 10:08AM

bump! sad smiley

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: stevenmartin99 (Moderator)
Date: June 12, 2013 10:17AM

i think your confused

your upload speed is 14mb and your getting 130kb ....

how much were you expecting to get..

you only get 1/10th of what you think your speed should be.. you should be able t oget 1.3mb maximun

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: Bugz000 (---.range81-156.btcentralplus.com)
Date: June 12, 2013 10:25PM

1300 kb/s > 60-100kb/s

and lighttpd uses my full bandwidth - HFS comes damn close, i think you are the one that is confused..

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: stevenmartin99 (Moderator)
Date: June 13, 2013 02:20PM

oh i though you were expecting many Mb

its a registry setting in windows that you need to change.

HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > AFD > Parameters

You need to create TWO DWORD values "DefaultReceiveWindow" and "DefaultSendWindow"


DefaultReceiveWindow = (Download Capacity in Kilobits * 1024) / 8
DefaultSendWindow = (Upload Capacity in Kilobits * 1024) / 8

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: Bugz000 (---.range81-156.btcentralplus.com)
Date: June 17, 2013 11:04AM

Tried that, all it did was make uploading and downloading any file over about 500kb disconnect mid flow
not to mention my speed fluctuates quite alot throughout the day ranging from 1.8mb/s upload to 2.8mb/s upload on and off peak, setting a registry entry like that is inefficient and static, not what i need, specially when other servers provide the correct speed without needing to piss about in the registry
it must be something wrong with WAMP.



Edited 1 time(s). Last edit at 06/17/2013 11:07AM by Bugz000.

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: stevenmartin99 (Moderator)
Date: June 17, 2013 06:41PM

wamp is apache....

so there must be something wrong with apache then.. unlikely

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: Bugz000 (---.range81-156.btcentralplus.com)
Date: June 24, 2013 11:09PM

i am aware wamp is apache, this issue has been experienced many times with various people - i'm looking for a difinitive solution

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: xartiel (78.210.96.---)
Date: July 08, 2013 02:21AM

Put the EnableSendfile line from on to off, that should fix it (worked for me long time ago ^^)

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: Bugz000 (---.range81-152.btcentralplus.com)
Date: July 09, 2013 03:20AM

thanks for the reply but i've tried it both EnableSendfile off and on, it's currently off and uploading to my friend at 200kb/s (HFS averaging at ~800kb/s)
any other ideas?


AcceptFilter http connect
#AcceptFilter http data
EnableSendfile off
EnableMMAP off
ThreadsPerChild 400
SendBufferSize 0
#MaxConnectionsPerChild 0

^ some of the things i've tried

Options: ReplyQuote
Re: WAMP uploading slowly?
Posted by: showstopper (---.dynamic.tstt.net.tt)
Date: July 11, 2013 10:20PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.