Moodle Running So Slow

Moodle Running So Slow

by christian orvin -
Number of replies: 3

Hi i am elearning administrator, 


I have responsibility to manage and maintain our moodle system.  

We have moodle data that located in windows OS and web server with big data of mySQl in Linux server

The problem is , it takes too long for the users to access the moodle and its so disturbing. We have tried to change the web server to our windows server but it doesn't help much.

what should we do?


more information about our moodle system;

1. we use newly updated windows server 2012 and Linux VM 

2. Our moodle data sized more than 100 GB 

3. Our mySQL data sized more than 2.5 GB    


Average of ratings: -
In reply to christian orvin

Re: Moodle Running So Slow

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It won't go faster by moving from Linux to Windows.

Firstly, did you run the performance report. See Performance_overview ?

Then, did you read Performance_recommendations ?

How much memory does your VM have? Is the disk IO fast enough? Some VMs have terribly slow disk access. Moodle caches to disk (by default) and this can result in very bad page load times. Basically, a bad VM won't work with Moodle. 

It sounds like your data is written to a 'share' on a different machine. Again, is this fast enough? If you don't know it probably isn't. Try setting up a proper cache server using (for example) memcached. See Caching

In reply to Howard Miller

Re: Moodle Running So Slow

by christian orvin -

yes we did it,we see our performance overview and it seems everything fine. we read performance_recommendations too and still help much.

We use VMware with 8gb ram and 500 hdd. (is it problem with VMware)

Is it bad to share on different machine?


Attachment performace_overview.PNG
In reply to christian orvin

Re: Moodle Running So Slow

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

It's fine to share on a different machine.

BUT.... by default, Moodle will write it's cache data on 'moodledata'. The cache is very critical to performance. If moodledata is on another machine and it is slow - and mostly that arrangement is slow - you will see very long page load times. 

Either set the cache to write to local disk or set up a memcached server. 

Average of ratings: Useful (1)