Page 1 of 1

[Forum/Website] Server limitation to upload-size

Posted: Sat Sep 26, 2015 8:57 am
by ssilk
I tested this https://forums.factorio.com/forum/vie ... 82#p109982 and indeed if uploading more than about 30 MiB the server returns status code 500. (I guess there is a directive anywhere like "upload_max_filesize = 32M" )
The problem or bug with it is, that the forum is configured, to upload up to 150 MiB. The numbers should be the same (my suggestion: 50 MiB... (*) more is technically possible but includes also more danger to run out of discspace).
(*) Which means to configure the server for 50.2 MiB for example and the forum to 50.

Re: [Forum/Website] Server limitation to upload-size

Posted: Sat Sep 26, 2015 1:10 pm
by DaveMcW
There are 3 variables you need to increase. http://www.cyberciti.biz/faq/linux-unix ... oad-limit/

Re: [Forum/Website] Server limitation to upload-size

Posted: Sun Sep 27, 2015 7:25 am
by ssilk
Generally speaking, this is not correct. If handled correctly, the uploaded file is not handled in (PHP-)memory, it's a temporary file on disk.
I followed the phpcode, how it handles the upload and it does this as far as I have seen.

Re: [Forum/Website] Server limitation to upload-size

Posted: Mon Oct 26, 2015 3:11 pm
by kovarex
I contacted the providers, and with our current hosting, we can't set these values higher.

Considering this, and also the limitation of running processes (503 page), we should do something about it, it is on our priority list.

Re: [Forum/Website] Server limitation to upload-size

Posted: Fri Feb 09, 2018 11:18 pm
by Jon8RFC
Looks like the server moved hosts and subsequently the maximum was increased. Fixed.
viewtopic.php?f=55&t=18175&p=119576#p119233
viewtopic.php?f=55&t=16583&p=109982#p119784