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