Page 1 of 1

[Kovarex] [0.14.8] max upload works at server start then doesn't

Posted: Thu Sep 22, 2016 12:23 pm
by impetus maximus
i posted a report about this yesterday when i found my 'max_upload_in_kilobytes_per_second": 100,' setting wasn't working.
upon setting it to 50, restarting the server seemed to fix it. even connecting to 'localhost'. so i deleted my report.
after a few players join however the server started using all my upload bandwidth (2.5Mbps) when players download map.

i'm around if you need me to show you, run tests etc.

thanks

Re: max upload works at server start then doesn't

Posted: Thu Sep 22, 2016 6:21 pm
by Loewchen
What version of the game would that be?

Re: max upload works at server start then doesn't

Posted: Fri Sep 23, 2016 8:50 am
by impetus maximus
Loewchen wrote:What version of the game would that be?
sorry, it's MS windows 64 0.14.8

Re: [0.14.8] max upload works at server start then doesn't

Posted: Fri Sep 23, 2016 3:04 pm
by kovarex
Can you provide the log of the server when this happens?

Re: [0.14.8] max upload works at server start then doesn't

Posted: Fri Sep 23, 2016 4:06 pm
by impetus maximus
kovarex wrote:Can you provide the log of the server when this happens?
will do.

Re: [0.14.8] max upload works at server start then doesn't

Posted: Fri Sep 23, 2016 7:11 pm
by impetus maximus
here ya go. started the server and disabled pause while no users are in it.
connected 3 times and it obeyed the 50kB upload for the 14mb map.
4th time it was almost instant. (localhost)
factorio-current.zip

Re: [0.14.8] max upload works at server start then doesn't

Posted: Sat Sep 24, 2016 11:51 pm
by Oarc
I've seen the same issue on 0.14.9. Sometimes it's clear the upload limit is having an effect, but after a few times, it clearly stops working.
I limited to between 300-500kBps (tried a few times) and every time I saw 7-8mbps on my upload when someone joins and downloads the map.

Would love this to be fixed (assuming it's a bug) because it kills my ability to host a smaller home server. I only have issues when people join (and leave), otherwise it's super smooth even with 20 people!

<3


Useful Info:
Win10 64bit (latest updates)
Factorio 0.14.9
Vanilla / No Mods
Behind a router with just the UDP ports opened, not even sure if that's needed.

I can easily reproduce it:
Change the setting.
Let people join.
Every time it will eventually show 7-8mbps upload when people start joining.


Also, probably not the right place, but does the max upload only apply to map downloading? That would be great if that's the case...

Re: [Kovarex] [0.14.8] max upload works at server start then doesn't

Posted: Sun Sep 25, 2016 10:03 am
by impetus maximus
thanks for your input/info Oarc. it's appreciated. :)
they'll get it fixed i'm sure.

Re: [Kovarex] [0.14.8] max upload works at server start then doesn't

Posted: Wed Sep 28, 2016 2:07 pm
by kovarex
Twinsen fixed this for 0.14.10

Re: [Kovarex] [0.14.8] max upload works at server start then doesn't

Posted: Wed Sep 28, 2016 4:59 pm
by impetus maximus
kovarex wrote:Twinsen fixed this for 0.14.10
WOOOOOO! thanks 8-)