I was told 500Mb is the limit. Our courses + user data are very close to exceeding that llimit. Why such a limit? I would be more confortable with 1Gb...Is that possible? Thanks for your feedback.
Stephane, the uploadable file size limit is for files that you upload to your moodle (courses, media, images etc individually), where you talk about all together, then Moodle can be limitless.
even that uploadable file size can be changed in PHP settings, but seldom I have seen a full course made up of that big size unless its all made up of video content, but then there will be limit on time for upload and session time may expire.
I had a feeling 500 Mb was an artificial limit. I was wondering if the upload time limit can be changed to accommodate larger files? Thank you
One more thought on the subject. If I was able to backup a 930 Mb file today without timing out...shoud I be able to do the reverse (restore) without timing out? Thanks
One would logically think that, but ... remember that 930MB is compressed (.mbz is a zip) and that restoring will un-zip that file. Also, depending upon what's in the course, one might need to increase DB settings for max_packets_allowed or number of files opened and php time limits.
Soooo .... how about testing now to see? Restore that backup to another new course in a hidden category. ;)
'spirit of sharing', Ken
Stephane, as long as you are on a Dedicated/Hybrid/VPS, you have full control over your server handling so yes you can increase the session time for as long as you want, BUT, then comes the resource allocation towards sessions. As this "time" is actually called session in terms of web servers, so allocating high session means, you are dedicating server resources for that much time in finishing up a particular task. add up more sessions like that, and you can bring server to a halt as server resources will start allocating towards that particular task, but you can always try testing and increasing the session time to a level where you reach a sweet spot of session handling time.
If you have faster upstream connection, then it shouldn't be issue.
Where you mentioned that you were able to backup 930MB, I assume you meant that you have made backup and downloaded it? if this is the case, then ideally you should be able to, but do consider the fact that download is quicker than upload, unless you are on a synchronous connection where upload and download speeds are equal, and as well like Ken mentioned, writing to database and UN-compressing it, so other than session, you are allocating memory and CPU towards this task. but again, no harm in giving a try.
Where did you get the idea that there is a 500MB limit in Moodle? There isn't?
For individual items, however, (i.e. ones that students have to download again) give some thought to students on poor connections. 500MB is far too big for a single resource.
*sigh*
As the administrator of said site please allow me to interject a few details.
8 different intertwined moodle servers of differing versions, accessing over a dozen different databases, all using extremely specialized configurations, accommodating close to 1,000,000 user accounts on multiple continents, authenticated by a combination of MNet and LDAP (server dependent), across multiple LAN's and WAN's, for a grand total of hundreds of terabytes of backup data daily spanning multiple days for hundreds of thousands of courses.
"I was told 500Mb is the limit." would be more accurately stated as "I was told
the max upload file size is set at 500Mb" because
that is the extremely generous size I set it at.
Thanks Dave,
Glad we got to the bottom of this. I would reduce it to a much less generous 100MB
I think you are confusing allowing thousands of students to upload 1Gb files with one individual (me) having the ability to restore a 930Mb course if and when the need arises. The issue is that I can backup the courses but cannot restore the ones that exceed 500Mb. By the way, I just called Godaddy and they upped my max uplodable file size to 1Gb (PhP setting in the ini file). They also increased the "time out" setting or something like that. I can now upload files up to 1Gb on my own personal Moodle without issues!
Generally I recommend allowing access via sftp and then using the file system repository to a small number of "trusted" users who won't abuse it
Now we know that this appears to be an internal issue at your own site, perhaps this is no longer the place to act this out?
Yes - you can set the upload limit on the server and in Moodle to (within certain bounds) anything you like. IF you are the administrator. If you are not the administrator then there isn't much to say really....
Thank you all for your feedback. Stéphane