| Field |
Original Value |
New Value |
|
Attachment
|
|
htop.screen.jpg
[ 14764
]
|
|
Description
|
The moodle locks after a few insertions of students / visitors in a course which is linked to a meta-course. One of the database server processor is fully occupied and no other request for database is treated. It is as if there was a LOCK command in the database without answer.
|
The moodle locks after a few insertions of students / visitors in a course which is linked to a meta-course. One of the database server processor is fully occupied and no other request for database is treated. It is as if there was a LOCK command in the database without answer.
From mytop application, it's possible to see the following query:
SELECT COUNT(DISTINCT prs.userid) FROM (SELECT ra.userid, ra.roleid AS primary_roleid, ....
It's attached the screen from htop.
|
Entry in slow query log or full details for the query?
I can't find the query you reffer to when searching the moodle codebase.