michaelnixon / mm-file-support

SFU M&M project
0 stars 3 forks source link

What is the maximum size of a file that can be uploaded and downloaded? #13

Closed omimo closed 7 years ago

omimo commented 8 years ago

It has to be specified in the create new track page

omimo commented 8 years ago

I could not upload a file which is 1.6 GB.

michaelnixon commented 8 years ago

You can set the max size using Paperclip (the gem used to handle file uploads). This is not currently done, however. You can set the max size using Apache. I don't believe this is currently done. You can set the max size using the user account on linux. I haven't looked into this at all.

From my research, Apache has an unavoidable 2gb file size limit, which may be the practical upper limit. The resource I checked specified this for 32-bit Apache, which may not be applicable, so you should confirm it.

At any rate, you're looking for the upper limit on what Apache/the OS can handle, since we're not throttling it anywhere else, AFAIK.

----- Original Message ----- From: "Omid Alemi" notifications@github.com To: "michaelnixon/mm-file-support" mm-file-support@noreply.github.com Sent: Monday, 21 December, 2015 13:16:55 Subject: [mm-file-support] What is the maximum size of a file that can be uploaded and downloaded? (#13)

It has to be specified in the create new track page


Reply to this email directly or view it on GitHub: https://github.com/michaelnixon/mm-file-support/issues/13

omimo commented 8 years ago

Thanks Michael for the through response.

@subirranjan1, can you please make sure this information is provided to the users on the upload page and they are given a proper error message if the file is larger that the limit?

subirranjan1 commented 8 years ago

@omimo , Sure.

@omimo Are we on a conclusion what is the upper limit?

omimo commented 8 years ago

@subirranjan1, can you check the documentation for the limit?