I'm seeing Moodle sometimes run incredibly slow, resulting in either a database connection error or an internal server error. In trying to pin it down, I turned on the debugging at the footer of each page.
- Moodle 2.5.1 with Fusion theme
- Hosted with site5 Managed VPS
- php 5.3.21
- mysql 188.8.131.52.3
I've followed the blog post: Moodle automated backups are disabled, enable statistics is disabled, theme designer mode is disabled, keep logs is set to "never delete logs" and grade history lifetime is set to "never delete history" but in my defense the server has only existed for a month, and I disabled database for session information.
I don't think the problem's with site5: I had a cheaper plan with site5 and Moodle 2.0 running with lots more users with no performance problems earlier this year. This new server has 1100 users, of which about 40 are concurrent.
Home > Site administration > Server > Environment says OK on everything except php_extension intl, which it asks me to check. A total of 12 php extensions say they must be installed & enabled (iconv, curl, ctype, zip, etc). Several items say I should install them for best results (prceunicode, mbstring, soap, xmlrpc, etc). Do I need to take action on any of these?
We notice the worst performance at the start of our face-to-face class. At first, I thought the slowdown might be tied to authentication (we're using Manual Accounts), but I've seen no definitive proof. Students report very few slowness issues outside of class hours.
Today, I had a group of kids login at the same moment then send me the info in the footer. I have the following data:
Right away, I noticed the slowest load times came with the highest ticks and load average. I think I understand what load average means (it's a CPU thing, right?). What does ticks mean? Where can I go from here to figure out what's causing my super-slow Moodle?
Many thanks for any pointers you can give.