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

T-Bot
Published: 1 month ago
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

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 do I use posting policies in a course?

You can use posting policies in the Gradebook to manage assignment grade visibility for students.

Understanding Courses in Past Terms

Courses that are past their Term Dates or manually set Course Participation Dates are still visible...

How do I add or edit details in an assignment?

When you create an assignment, you'll add details for the assignment such as the description, file s...