Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
SJ77 Posted March 14, 2023 Posted March 14, 2023 (edited) I know the plupload chunk size is automatically configured based upon the php upload_max_filesize Right now I have upload_max_filesize set to 10MB Is this the best setting if people are uploading 2GB or 3GB files? Thank you in advance. Edited March 14, 2023 by SJ77
Makoto Posted March 14, 2023 Posted March 14, 2023 It depends. You ideally don't want it so small you end up having to make a crazy number of requests for larger uploads. For a 1GB file, you'd need to make 100 requests to finish uploading a file, which is a decent bit, but as this isn't sustained traffic it's not the worst thing. People with faster connections may hit you with a large spike of requests when uploading larger files, as a gig line can push 10MB of data in no time at all, so just need to make sure you can handle that if you want to keep it at a lower value. You could increase it a bit if you wanted to reduce that overhead a bit, as 10MB is pretty low. But unless you're noticing performance issues, particularly when uploading files, it's probably not a big concern. SJ77 1
balazsp Posted March 14, 2023 Posted March 14, 2023 Just my 2cents: if you have any AV (or mod_security) configured, you may want to exclude these large files (if they are not exluded by default), otherwise they can take up a LOT of memory while processing them. SJ77 1
Recommended Posts