# Why Is Moodle Slow? A Diagnosis Guide for Universities

Source: https://www.itcadence.com/blog/why-is-moodle-slow
Category: E-Learning | Published: 2026-11-24 | Updated: 2026-11-24 | Publisher: ITCadence

Find the cause of a slow Moodle site before buying hardware: measure first, then check caching, PHP, database, cron, plugins and exam load in order.

**Short answer:** Common causes are caches stored on slow disk, PHP not tuned, an overloaded database, scheduled tasks running at busy times, heavy plugins and too little capacity for timed exams. Measure one slow page first, so you fix the layer that is responsible.

"Moodle is slow" can mean six different things. Ten minutes of narrowing down saves days of guessing.

## Describe it precisely

| Pattern | Look first at |
|---|---|
| Every page, all day | PHP, caching, network |
| One course | Course size, blocks, plugins, gradebook |
| One activity type | That plugin and its queries |
| Same time each day | Scheduled tasks, backups |
| Exams only | Concurrency: PHP workers, database, sessions |
| Off campus only | Network, proxy, content delivery |
| After an upgrade | Background conversion tasks, caches, plugins |

## Step 1: measure

Moodle's [performance documentation](https://docs.moodle.org/503/en/Performance_recommendations) advises getting a baseline before any change. Choose three pages: the dashboard, a large course and a quiz. Record server time, database query count and full load time, at a quiet and a busy moment.

## Step 2: caching

By default many caches are on disk. Moving suitable ones to memory can help a great deal. Check:

- PHP OPcache is on and has enough memory
- Application and session caches use suitable stores
- Theme designer mode and debugging are off in production
- Cache data is not on slow shared storage

## Step 3: PHP and web server

Too few PHP workers makes users queue. Too many exhausts memory. Use measured memory for each process to set the limit, and leave room for the operating system.

## Step 4: database

Turn on the slow query log and look for repeated or long queries. Check memory, disk delay, indexes and connection limits. If the database is on the same server as the web service, see which is taking resources.

## Step 5: scheduled tasks

Cron should run frequently and finish. A backlog delays email, completion and grade updates. Move course backups and large syncs away from teaching hours, and look for one task that blocks the rest.

## Step 6: plugins and course design

Disable suspects on a copy, one at a time. Check dashboards that load data from every course, large embedded media and gradebooks with complex formulas. Uploaded video is usually better on a video platform.

## Step 7: exams

1. Estimate students starting in the same minute.
2. Test that load on a copy, including saving answers.
3. Stagger start times where policy allows.
4. Pause heavy scheduled tasks.
5. Have a named person watching, and a plan if it fails.

## What improvement can look like

Moodle's [case study of Ajman University](https://moodle.com/case-studies/ajman-university-moodle-lms-eummena/) reports 30–50% faster page loads and 15–20% better database efficiency after optimisation with its partner. It is a vendor story and your numbers will differ, but it shows what tuning can achieve without changing platform.

## Change one thing at a time

Keep a log: date, change, expected effect, measured result. Undo changes that do not help. If you run an unsupported version, plan the [upgrade](https://www.itcadence.com/blog/moodle-version-support-and-upgrade-guide) as well. If the host itself is the limit, compare [hosting options](https://www.itcadence.com/blog/moodle-hosting-options).

## Sources

- MoodleDocs, [Performance recommendations](https://docs.moodle.org/503/en/Performance_recommendations)
- Moodle, [Ajman University case study](https://moodle.com/case-studies/ajman-university-moodle-lms-eummena/)

## Frequently asked questions

### Will a bigger server fix a slow Moodle site?

Only if the server is the limit. A bad query, slow file storage or a heavy plugin can stay slow on larger hardware.

### Should Moodle use Redis?

Moodle's documentation recommends Redis among its caching options. It often helps busy sites, especially with several web servers, but measure before and after.

### Why is Moodle slow only during exams?

Many students load, save and submit at the same moments. That stresses the database, sessions and PHP workers far more than normal browsing.