Problems using Quizzes

Problems using Quizzes

by Wissam Nahas -
Number of replies: 5

Dear All,

We are running Moodle 2.2.5

We are using Moodle quizzes extensively. Sometimes we reached 400+ students taking the quiz at the same time without major problems. Recently we faced a major problem with a quiz of 20 students. All students in the lab got white screens at the same time and they couldn’t go back to the quiz before 3-4 minutes. We checked the server logs and we noticed that it didn’t reach 40% of its utilization. Also the network logs showed normal graph. I just want to ask if it might be a problem from the application side or a bug that triggers on occasional times.

Thank you,
Wissam Nahas

Average of ratings: -
In reply to Wissam Nahas

Re: Problems using Quizzes

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Is there anything in the PHP logs that indicate what might have happened.

I cannot think how a Moodle bug would cause those symptoms, particularly since it spontaneously started working again.

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Problems using Quizzes

by Wissam Nahas -

Dear Tim,

 Here is the error according to the logs we got:

 [:error] [pid 21728:tid 140157990672128] [client 192.168.160.83:62056] Database transaction aborted automatically in /web/moodle/mod/quiz/processattempt.php

 This error has happened 6 times in 1 minute for 3 distinct IPs out of 20 pcs in the computer lab.

Regards,
Wissam

In reply to Wissam Nahas

Re: Problems using Quizzes

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

That message, which is not really an error, happens when the user gets logged out for some reason in the middle of a quiz attempt. What happens is that Moodle notices this, and redirects them to the login page. If you are using some other authentication plugin, instead of Moodle's login page, then the sympoms may get weirder (e.g. blank page).

So, what autentication system are you using?

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Problems using Quizzes

by Wissam Nahas -

We are using the Moodle login page only using LDAP server for authentication.

In reply to Wissam Nahas

Re: Problems using Quizzes

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I am not a great expert on what the LDAP plugin does. Anyway, it is odd you got a blank screen, rather than the login page.