My site has been getting slower and slower. I have spoken with our service provider and they have assured me that this is not a server issue. We never have more than 150 users online at any one time (usually a lot less than that!) and our server is a VPS with 6GB of RAM and 5TB of bandwidth. When I do a pagespeed check it is showing that page speed would be improved if I did:
- make fewer http requests
Does anyone have any suggestions on how I could correct these things or monitor in some way to see where the site is slowing down and what is causing it. I am using Moodle 3.4.
As in Google's pagespeed?
As you know moodle displays most everything via queries to database -> web service -> browser and is dynamic ... changes depending upon users/usage, etc. Therefore, not sure Google's pagespeed is a good tool for dynamic content ... + think their tool kinda serves their own purposes ... that of page searches (search engine friendly).
Site slowing down could indicate some tweaks needed for database in conjunction with tweaks for web server ... if on a single server that's DB server + web services + whatever else you have running on it.
Example: if server was linux and you had ssh access to the server, a quick check of info one gathers from the 'top' command would give you a clue ... best to have the DB server using as much memory as it can ... and server shouldn't be using swap space - which would mean more disk IO (reads/writes).
'spirit of sharing', Ken
First - run the performance report (in admin reports)
150 people online at the same time *could* easily overpower a 6GB server - it depends what they are doing. 150 people all doing a quiz is entirely different from 150 people reading documents. 6GB isn't a lot of memory.
What operating system is it? How was moodle installed? How did you tune the web server and the database server? What software are you running to monitor performance and what does it tell you? And so on...
(I hope it's not Windows...)