פרסומים שנוצרו על-ידי Visvanath Ratnaweera

Moodle in English -> Quiz and question banks -> Import as new version plugin -> Import as new version plugin

על ידי Visvanath Ratnaweera בתאריך
תמונה של Particularly helpful Moodlers תמונה של Translators
When I tried https://moodle.atlassian.net/browse/MDL-86671 around 17/18th, after logging in as I always do, got a "no permission". It seemed to be fixed since then. Now I can see the tracker issue.
תמונה של Particularly helpful Moodlers תמונה של Translators
When one says, "our shared question bank", is it clear? Is it always a course category level question category? It can't be course level question categories, unless they teach in the same course.
תמונה של Particularly helpful Moodlers תמונה של Translators
We are experiencing something on the line of what you've reported in the General help forum, Course deletion/duplication timeout on Moodle 4.5.6. Ours don't time out, but are taking very long, in the range of 5 minutes, things that used to be under a minute. We too are on Moodle 4.5.6.
 
The big change in between was an organized moving around of question categories. Earlier we used to have whole lot more courses of the same general subject running in parallel, even each teacher taking multiple courses. These courses make use of quizzes intensively as a teaching instrument - not as exams. As a result the courses contain a large number of fairly small quizzes, which the teachers get from a central collection. Each teacher was autonomous in his course category. The result was that the questions got duplicated in a massive scale. Then there is this feature of Moodle, it duplicates course categories every time the courses import sections using the Sharing cart! Anyway, that is a separate subject. In the process of cleaning the mess, they've introduced a master course per teacher from which the teacher pulls question to his running courses - all are in his course category. That has greatly reduced the question category duplication, but now the copying gotten slow! The speculation is that, questions pulled from distant places cause more load.
 
To make the matters complicated, you know that question sharing has been redone in Moodle 5. So the question is, are we going to find the optimum strategy for our Moodle 4.5 and then another one for Moodle 5, for example as explained by Rick, Moodle 5 Question Banks – Video Overview.

Moodle in English -> Installing and upgrading help -> $CFG->wwwroot with /public or without?

על ידי Visvanath Ratnaweera בתאריך
תמונה של Particularly helpful Moodlers תמונה של Translators

I cloned the Moodle using Git just now and kicked the installation from the browser. In its input fields $CFG->wwwroot was prefilled with /path/to/moodle/public, which I accepted. But later the installation throws,

Error

Detected incorrect $CFG->wwwroot in config.php, it should not end in /public. See MDL-85816 for further information.

It has something to do with the new directory structure. The known config.php exists under moodle/. There is another config.php under moodle/public/, which is simply:

$configfile = __DIR__ . '/../config.php';
if (!file_exists($configfile)) {
    header("Location: install.php");
    die;
}

MDL-85816 takes me to MDL-83424 which says 

These instructions assume that you have a Moodle site in a sub-directory, such as http://example.com/moodle.

which is indeed the case, my Moodle is in /var/www/html/dev51/, whereas the DocumentRoot is /var/www/html/. I was expecting to install Moodle as https: //mysite/dev51/. 

Well, MDL-83425 says further,

  1. ...
  2. Download and extract the moodle-httpd_with_83424.zip file attached to this issue.

  3. Place these files in their current structure into your apache configuration directory

Where is moodle-httpd_with_83424.zip?

ממוצע דרוגים: -

Moodle in English -> Hardware and performance -> Moodle for 4K users -> Moodle for 4K users

על ידי Visvanath Ratnaweera בתאריך
תמונה של Particularly helpful Moodlers תמונה של Translators
Hi

The discussion you originally posted your issue is I want to install a Moodle 5.0 for more than 3,000 concurrent, I believe. If that's correct, you can't say, "I am facing the same problem". There the question was on how "to set up a Moodle system for a university with more than 3,000 concurrent users and exams". But you have a running Moodle and want "to make a quiz available for 4k students within the same interval of 2 hours". They are two entirely different things. So, it is correct to discuss your question in a thread of its own.
 
Now to your question: What is the format of the answer you expect? Add 4 cores? Double the RAM? Reduce the number of MC questions to 4000? For example. I don't think anybody here is capable of providing such a one-shot answer from the information you've provided. The general advise is compiled in the forum documentation, Performance and Performance FAQ.
 
One approach I can think of is to closely (and continuously) monitor the load on the machine: CPU usage, RAM usage, number of web server threads, number of DB threads, disk latency, network latency, ... There are tons of them. Then, whenever they peak, investigate what was happening on the site. Say, there was an exam with 500 candidates. Combine the two and try to estimated, whether the server will survive the same exam with 1000 candidates next time. If you think, that it won't, then you need to change something. What that thing is only you can find out, not us.
 
Then you need to put that change to test. Get 1000 candidates and show that server handles the load. This need to be repeated until you prove that 4000 candidates are possible. As you can see, the solution is a) a process b) based on continuous tests.
 
All that said, 4000 candidates taking an exam in the same time-slot is huge. That is why the others have warned.
 
P.S. In your post you touched a second question: Why your site gets slow in a specific use case. Asking two things in the same post is bad practice. The forum works best when there is only one issue per discussion. Or, if you mean, your site already gets slow under exam loads, OK, then reply above applies.
 
P.P.S. I see that you site has a different acute problem: Lock session issue. Also at the tail end of somebody else's discussion! Has it been solved? If not, concentrate on that first.