Canavas Installation

325 views
Skip to first unread message

sijomon nd

unread,
May 26, 2020, 8:18:18 AM5/26/20
to Canvas LMS Users


Hello Guys


Let me know steps for  Canavas manual installation on Linux server  as well as server minimum hardware/software  requirements


Thanks in Advance

Graham Ballantyne

unread,
May 26, 2020, 10:50:35 AM5/26/20
to canvas-l...@googlegroups.com
https://github.com/instructure/canvas-lms/wiki/Production-Start

– 
Graham Ballantyne 
Senior Software Engineer | IT Services 
Simon Fraser University | Strand Hall 1001 
8888 University Dr., Burnaby, B.C. V5A 1S6 
604-837-6698  | gra...@sfu.ca


On May 26, 2020, at 05:18, sijomon nd <sijo...@gmail.com> wrote:




Hello Guys


Let me know steps for  Canavas manual installation on Linux server  as well as server minimum hardware/software  requirements


Thanks in Advance

--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/d3cb40f7-6cfa-4298-8126-3f1964a4c08a%40googlegroups.com.

Eugene Vlasov

unread,
Jun 1, 2020, 4:34:43 AM6/1/20
to Canvas LMS Users
Minimal hardware required to self-host Canvas LMS:
OS: Ubuntu 16.04 LTS
RAM: 8GB min
CPU: 2 cores @2.4Ghz
Disk space: 30GB

Manual installation steps you can find at https://github.com/instructure/canvas-lms/wiki/Production-Start

Best Regards,
Eugene Vlasov
WebHostingZone.org Team

Dr. Jagan Mohan R., MD

unread,
Jun 1, 2020, 11:02:19 AM6/1/20
to canvas-l...@googlegroups.com
Congratulations Mr. Eugene for the LMS Hosting Service!
We need to grow and support an ecosystem of service providers who can offer Canvas Installation, Updation and Maintenance Services as well as expert Hosting Services. 
Wish you all the best. 
Also, on WebHostingZone.org, should 'Kharkov National University of Radio Electronics' probably read as 'Kharkiv National University of Radio-Electronics'?

Cheers,
Jagan Mohan


--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.

Nicolás López

unread,
Jul 27, 2020, 11:56:33 AM7/27/20
to Canvas LMS Users
Hi All, 
Does anybody have estimations about the requirement per concurrent users? I would like to know how much RAM/CPU I would need for small environments like 50 / 100 / 200 concurrent users on a single self-hosted server. Any information you can share would be appreciated. 

Thanks!

ia...@phorixsol.com

unread,
Jul 29, 2020, 8:37:48 PM7/29/20
to Canvas LMS Users
Hi,

I can only report my own experience.  We are supporting a summer seminar with about 150 students (five teachers).  We started with a (burstable) low-cost instance of 2 cores and 8 GB of RAM, with 20 GB disk, Ubuntu 18.04..  Things worked ok for a few days, but we noticed that we were getting close to 90% of RAM being used.    So a bit later we upgraded to 16 GB of RAM, four cores, and 40 GB disk.  Things worked well after that, with about 50% of RAM used. For various reasons the log files grew rapidly, eventually consuming nearly all the disk space.  I set up a daily logrotate task to trim back the log files.  I do wish we had selected a larger disk, as we are now approaching 90% disk usage.  However the course will be over shortly.  Incidentally, the school is located in Beijing.  The server is on Alibaba in Hong Kong
.

Best,

Ian

Veeresh Digasangi

unread,
Jul 30, 2020, 5:12:03 AM7/30/20
to Canvas LMS Users
Hey folks,

I am trying to install canvas through canvas-docker,
Job get failed to install ruby_patch_set_image
can anyone help me to understand the issue.
Thanks in advance !

canvasissue.png

Nicolás López

unread,
Jul 30, 2020, 11:04:22 AM7/30/20
to Canvas LMS Users
Hi Ian, many thanks for the info. I'm wondering if the 90% RAM usage was done by some of the Canvas components, or just by the operating system. The normal behavior of Linux is to use as much RAM as it can for cache (if there is free RAM), so 90% usage might not be a problem. Perhaps you already know.
O top of that, do you have information about concurrent users vs CPU and RAM used? 

Anybody else using self hosted Canvas that could share their experience?

Thanks!

Ian Garmaise

unread,
Jul 30, 2020, 12:32:49 PM7/30/20
to canvas-l...@googlegroups.com
Hi Nicholas,

I use htop to monitor ram usage.

According to this message on StackOverflow, the green bars in the htop memory display
represent memory used by processes, not buffer and cache.  The number displayed by the memory meter is the total memory used by processes.
It is that number that I used to determine that processes were using over 90% of ram.  Currently (with the new, larger ram configuration), it shows 6.06GB/15 GB, which matches the green bars, while the yellow bars fill up the entire 15 GB.

Best,

Ian


--

---
You received this message because you are subscribed to a topic in the Google Groups "Canvas LMS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/canvas-lms-users/V15ZRre6V6E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/927926b3-9697-4067-ba5d-08b6ee38d955o%40googlegroups.com.


--

Sam Horowitz

unread,
Jul 30, 2020, 12:35:40 PM7/30/20
to canvas-l...@googlegroups.com
With 150 or so active users (students, staff and faculty) during a recent week-long intensive, we started the week with:

* Postgres canvas_production database, Cassandra analytics database, and redis on one server (2 cores, 4 GB RAM)
* delayed jobs on one server (1 core, 2 GB RAM)
* 2 app servers (2 cores, 4 GB RAM each) behind a load balancer that also terminated SSL
* using S3 for storage

After a day we really needed a 3rd app server during peak and we spun up one more application server and saw response times improve. We offloaded outgoing mail to Mailgun to ensure reliable delivery (I think we ended the week with about 10,000 emails sent from Canvas). 

I can’t remember, we might have bumped the delayed jobs server up to 2 cores/4 GB for the intensive and then dropped it back down after (most of the year is asynchronous distance work for our students). At the smaller size, it lives at 98-100% RAM usage and CPU usage is quite high percentage-wise but it gets the job done.

It’s possible a single 6- or 8-core app server with 12-16 GB of RAM would have worked just as well (or for all I know, better), but this is what we did. We originally had everything on a single server when we were piloting 3 courses. The single biggest performance boost was offloading delayed jobs to a standalone server. The thing is those jobs will use a lot of CPU and RAM, but not consistently, so you can think you’re doing ok and then the jobs kick in and things can grind to a halt on the web app side even if only a single user is accessing that interface. At least that was our experience.

--

---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.

Nicolás López

unread,
Jul 30, 2020, 1:45:35 PM7/30/20
to Canvas LMS Users
You are right. Htop shows in green the RAM used by the processes. Blue and yellow are buffers and cache.
Do you have a rough idea of the concurrent users you had? I'm not sure if there is an easy way of determining that on Canvas.
Thanks again for sharing your experience!
To unsubscribe from this group and all its topics, send an email to canvas-l...@googlegroups.com.

Nicolás López

unread,
Jul 30, 2020, 1:48:26 PM7/30/20
to Canvas LMS Users
Hi Sam, many thanks for the useful information.
Just a few questions: when you say "active" users, is that the total number of users enabled in Canvas, or the number of concurrent users?
Do you know if there is documentation related to the the "delayed jobs"? I know email sending is one of the delayed jobs, but nos sure what else is in there.

Thanks!

Nicolas

To unsubscribe from this group and stop receiving emails from it, send an email to canvas-l...@googlegroups.com.

Sam Horowitz

unread,
Jul 30, 2020, 3:00:04 PM7/30/20
to canvas-l...@googlegroups.com
That’s 150 or so checking into canvas and accessing or posting course materials through the day, all day long. Not 150 concurrent, but not just existing In The system. 

Background jobs include updating stats, creating notifications, processing uploads, and more. Not sure what else.


From: canvas-l...@googlegroups.com <canvas-l...@googlegroups.com> on behalf of Nicolás López <nicol...@gmail.com>
Sent: Thursday, July 30, 2020 1:48:26 PM
To: Canvas LMS Users <canvas-l...@googlegroups.com>
Subject: Re: [Canvas] Canavas Installation
 
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canvas-lms-users/5cdb8ab9-d674-4698-a257-bcf68800a652o%40googlegroups.com.

ia...@phorixsol.com

unread,
Jul 31, 2020, 4:35:27 PM7/31/20
to Canvas LMS Users
Hi Nicolas,

You can use the Statistics page in Admin to see times that users logged in recently.  Also on our server we have lots of statistics available so that I can easily see when the busy times are.  It tends to be very bursty (i.e. right after a class ends).  I am guessing that there might be up to 30 or 40 at a time.  Since we went to four cores and 16 GB of RAM, we've had no problems with performance, although we should have selected a disk larger than 40 GB. Apparently Canvas never erases anything, so disk space runs out fast, at least in our case.  I also tend to keep Htop or Glances running that I can see problems coming.  Htop is best for monitoring the cpu, Glances adds disk space monitoring and a few other measurements.

Best,

Ian

Nicolás López

unread,
Jul 31, 2020, 6:08:27 PM7/31/20
to Canvas LMS Users
Hi Ian, thanks a lot for the valuable information. I will keep in mind your advice. Right now we are just doing some tests before we host it for production. We will use Azure, then if we have to scale in RAM / CPU / Disk it shouldn't be a major issue.

BR,

Nico
Reply all
Reply to author
Forward
0 new messages