Jump to content

Recommended Posts

Posted (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 by SJ77
Posted

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.

Posted

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. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...