Inactivity Error

13 views
Skip to first unread message

vishal

unread,
Aug 31, 2021, 12:04:17 PM8/31/21
to canvas-l...@googlegroups.com
Hi,

I have canvas setup and faced issues with memory and I have increased the memory to 30GB. But that is now getting consumed to its fullest. When I check Redis is consuming more memory. When I try to restart it the memory gets decreased and slowly getting increased. And I face an issue with inactivity issue. Whenever I try to log in and click the course menu and pop comes up saying inactivity.
Please advise.
I have even attached a screenshot.

Regards,
GD
canvas1.PNG

Graham Ballantyne

unread,
Aug 31, 2021, 12:20:21 PM8/31/21
to canvas-l...@googlegroups.com
Redis will by design consume as much memory as you throw at it; it’s an in-memory database so that’s it’s job. You can set the maxmemory setting in the config file to limit it to a specific amount. 

It sounds like you’re running everything on one server. I don’t recommend doing this in a production setting; ideally you would be running separate servers for the different components (app/database/redis). Redis in particular has some recommended kernel tuning in production that you probably don’t want to apply to your app or database servers. Google “redis in production” for more. 

– 
Graham Ballantyne 
Senior Systems Engineer | IT Services 
Simon Fraser University

On Aug 31, 2021, at 09:04, vishal <vishal...@gmail.com> wrote:


--

---
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/CAMNW%2BC2zGO92ziArH-NzNP05jnO02_Ke%3DSTScEEHM18T%2BGLwAg%40mail.gmail.com.
<canvas1.PNG>

vishal

unread,
Sep 1, 2021, 5:15:11 AM9/1/21
to canvas-l...@googlegroups.com
Hi Graham,

Thanks for the response. But is there a way to fix this?
I am desperately in need to fix this.

Regards,
GD

Graham Ballantyne

unread,
Sep 1, 2021, 12:26:20 PM9/1/21
to 'Zachary Rollyson' via Canvas LMS Users
Yes, either set maxmemory in your redis config to a reasonable level so it doesn't chew up all your memory, or split redis onto its own server (and configure it for production use). Also, check your Canvas logs, you'll likely see something there.


Reply all
Reply to author
Forward
0 new messages