Hi everyone,
I’m experiencing significant performance issues with my Moodle site, which is hosted on a shared server. For the past six years, I’ve been using this setup with two courses and around 300-400 secondary school students, typically without any major issues. However, recently the performance has deteriorated sharply.
Here are the symptoms:
- The site runs smoothly for a few minutes, then becomes unresponsive for a few minutes (often returning a 503 error).
- I checked the Resource Usage page in cPanel and found that the I/O usage limit is frequently being reached.
- The I/O usage graph shows many "faults," along with "IOf" entries, and a few peaks in "NprocF."
- There is also significant database usage, with some instances exceeding the 1MB/s limit imposed by my hosting plan.
Interestingly, when my Moodle site is down, my WordPress site on the same server remains accessible without any issues.
The hosting company suggested that the problem might stem from database processes exceeding the limits, but I’m unsure how to verify this.
My Questions:
- How can I determine whether Moodle is the cause of the high database I/O?
- What steps can I take to reduce the database I/O caused by Moodle? Would deleting old courses help?
- Additionally, what do the "faults" and "IOf" mean in the Resource Usage graph?
Any insights or advice would be greatly appreciated!
Thank you!