Moodle hanging when grading assignment

Moodle hanging when grading assignment

ដោយ Susana L. នៅ
ចំនួនតប៖ 6

Hi!

We are using Moodle 3.1 and we are experiencing a major problem with grading assignments. Teachers are complaining that Moodle hangs when they click "Grading" on the assignment grading table. User session gets completely freezed and they are only able to use moodle again after closing the browser.

This is not something that happens every time (making it difficult to reproduce) but I was able to reproduce it a couple of times. We get the error described on https://tracker.moodle.org/browse/MDL-57259 but even after patching moodle 3.1 the error persists.

We also have the following error log (example): Cannot obtain session lock for sid: e7ek6iojlde7nsf6p36apubid2, referer: https://[moodle]/mod/assign/view.php?id=12646&rownum=0&action=grader&userid=13458

We can't disable unoconv now because the pdf annotations done so far get lost if we do so, so we keep telling our teachers that they should enable quick grading and not touch on grading buttons! (They keep saying: "I never had problems before with grading assignments.... why did it changed?")

If someone has this same problem and was able to solve it somehow please let me know how you did it.

Thank you!
susana

 

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Susana L.

Re: Moodle hanging when grading assignment

ដោយ Marianne Michel នៅ

Hello.

We solved the problem (Debian 8, Moodle 3.3.1+) creating a .config file in /var/www (home directory of the user www-data) and made a chown www-data:www-data on the file.

After that, you will need to convert twice a first file.

Marianne.


មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (1)
ឆ្លើយតបទៅកាន់ Marianne Michel

Re: Moodle hanging when grading assignment

ដោយ Susana L. នៅ

Thank you Marianne, but your correction did not solve the problem.

Best,
susana


មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Susana L.

Re: Moodle hanging when grading assignment

ដោយ Susana L. នៅ

Hi,

This is the worst problem we had in these last few years with Moodle. We regret having enabled PDF annotations! ក្រៀមក្រំ
We will upgrade to Moodle 3.5 for the next academic year and we are considering using google converter or disable the feature at all.

I would like to know if anyone is having this same issue with moodle 3.5...

Best,
susana

ឯកសារភ្ជាប់ erro-pdf-converter-assignments.png
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Susana L.

Re: Moodle hanging when grading assignment

ដោយ Hittesh Ahuja នៅ

Hi Susana,

We are still partially struggling with it .. I say partilly as students are not on campus anymore so the load of submissions are now managable ( to an extent) ញញឹម . But, with regards to 3.4+ I think there is now a queue handler for pdf submissions that handles submissions in a more graceful way by which I mean that when a conversion fails you don't have to force clear it so the queue can keep moving which I believe although does solve the problem for us ,it makes it much more managable! 


Hittesh

មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (2)
ឆ្លើយតបទៅកាន់ Hittesh Ahuja

Re: Moodle hanging when grading assignment

ដោយ Susana L. នៅ

Hi Hittesh,

Thank you for your input.

I just found out that on Moodle 3.5 we can also enable or disable Annotate PDF on course module instance level. So the teacher can activate or deactivate this feature for a specific assignment. These are good news!

Best,
susana

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Susana L.

Re: Moodle hanging when grading assignment

ដោយ Hittesh Ahuja នៅ

Ah yes good point ! That is indeed good news ! 

មធ្យមភាគនៃរង្វាយតម្លៃ: -