How to solve Canvas overload Issue: This website is under heavy load (queue full)

Published: 23 June, 2022
Share:

If you are the self-hosted Open source Canvas LMS administrator, you would get this error message from your end users: This website is under heavy load (queue full). We need to think about why this happened? Here is the clue and solution you would try.

Canvas LMS is using the Passenger module for the Apache HTTP engine. You need to think about the limitation of the request queue when the Canvas LMS is crashed with an error message about heavy load and queue full. Here is the Passenger official documentation about the PassengerMaxRequestQueueSize configuration:

https://www.phusionpassenger.com/library/config/apache/reference/#passengermaxrequestqueuesize

Solution

Now let's change the PassengerMaxRequestQueueSize setting of the Passenger module.

$ cd /etc/apache2/mods-enabled
$ nano passenger.conf

In the section, add the PassengerMaxRequestQueueSize:

  PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
  PassengerDefaultRuby /usr/bin/passenger_free_ruby
  PassengerDefaultUser canvas
  PassengerMaxRequestQueueSize 700

Save changes and restart the services:

sudo /etc/init.d/canvas_init restart
sudo /data/canvas/script/delayed_job restart
sudo /etc/init.d/apache2 restart

0 Comments

Leave us your comments

Related Information

How does Canvas work as a supplement to face-to-face courses?

Canvas provides tools that supplement face-to-face courses by providing additional information onlin...

Assign an assignment to a course section

When creating or editing an assignment, you can assign an assignment to a specific course section. Y...

How to solve Canvas overload Issue: This website is under heavy load (queue full)

If you are the self-hosted Open source Canvas LMS administrator, you would get this error message fr...

Embed a Guides lesson inside a Canvas Course

Many of our clients are using Canvas Guides to build their own training modules inside Canvas. We th...