504 errors on Large Site

504 errors on Large Site

by John Papworth -
Number of replies: 2

Hello

I wonder if anyone can shed any light on this.

We have just made our learning platform into one that has now over 5000 learners.  We are attempting to apply badges to those who have completed courses - which number a couple of thousand.  The trouble is with this, we keep getting a 504 error and then after a couple of retries, we get the system falling over with database issues, where we have to then restart MySQL on our server.  This is the same if we run the Smart Cohort tool or Grouping tools.

We are running on one of the largest AWS packages - 16gb RAM, 8 cores.  

TIA

JP

Average of ratings: -
In reply to John Papworth

Re: 504 errors on Large Site

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
That's a timeout error. There's something you can add to your config.php file that might help: see the config-dist.php file at https://github.com/moodle/moodle/blob/master/config-dist.php#L460

Also, see:

https://docs.moodle.org/36/en/admin/environment/php_setting/memory_limit
Average of ratings: Useful (1)