henkvancann / MOOC-trials

Key management is key to asset security. We'd like the people in the world to self-educate themselves on their smartphone.
1 stars 0 forks source link

Hard disk and RAM memory requirements #13

Open ghost opened 2 years ago

ghost commented 2 years ago

Disk space (Server hard disk): 200MB for the Moodle code, plus as much as you need to store content (100 users * 100MB content=10GB). Memory (Server RAM): minimum 512MB, 1GB or more is recommended. 8GB plus is likely on a large production server. For the RAM memory, it's important to know if many users will access the website at the same time (so called concurrent users). I assume that the users will feel free to take the quizzes and access the resources at any time.

henkvancann commented 2 years ago

What I foresee is that lots of users A. create an account and B. will only do the first 1, 2 or 3 exams.

A. How much space will an "empty" new account occupy in kB/MB per user? B. How much space will an account occupy that has 3 questionnaires filled out?

Maybe we should simply test this or ask hosting provider?

Just a rough guess is enough for now.

kordwarshuis commented 2 years ago

Maybe it's possible to assign a default space to users in de Moodle settings?

ghost commented 2 years ago

Unfortunately, we can't assign a default space to users in Moodle... We can add upload limit though.

Is it possible to check A and B (Henk's questions) on the server and share the info here?

You can check my account (assigned in two exams) and some test account to see how much space they occupy.

henkvancann commented 2 years ago

@kordwarshuis will you have a look at this, then self-assign this issue to you.

kordwarshuis commented 2 years ago

I will check this out, and if necessary contact hosting provider.

kordwarshuis commented 2 years ago

I have searched the directoctory structure but cannot find the moodledata directoctory. See chat.

kordwarshuis commented 2 years ago

Will do another seach.

kordwarshuis commented 2 years ago

Directory found

kordwarshuis commented 2 years ago

The directory does not have the default name (“moodledata”). See documentation for more info. Current size: 30MB

Available space: 40 Gig. Assume 10 000 users: 40 Gig / 10 000 users = 4.096 Megabytes per user

This may be enough if only text is stored but not much in case of pdf, images, etc.

Also we should consider auto purging after a inactivity more than a certain time span.

kordwarshuis commented 2 years ago

The relevant directory is called “filedir” and contains a text file with a warning: “This directory contains the content of uploaded files and is controlled by Moodle code. Do not manually move, change or rename any of the files and subdirectories here.”