[Forum/Website] Server limitation to upload-size

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

[Forum/Website] Server limitation to upload-size

Post 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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3715
Joined: Tue May 13, 2014 11:06 am
Contact:

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

Post by DaveMcW »

There are 3 variables you need to increase. http://www.cyberciti.biz/faq/linux-unix ... oad-limit/
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

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

Post 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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post 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.
User avatar
Jon8RFC
Filter Inserter
Filter Inserter
Posts: 554
Joined: Tue May 10, 2016 3:39 pm
Contact:

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

Post 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
Image
Post Reply

Return to “Minor issues”