Redis Memory Keeps Increasing in Discourse 3.4.0.beta3

I recently updated Discourse from version 3.4.0.beta1 to 3.4.0.beta3. After the update, we are noticing that the forum’s memory usage is gradually increasing, causing the application to go down. When checking the server, we can see that the redis-server is consuming 95% of the memory.

We are running redis-cli flushall daily to temporarily fix the issue. The Discourse instance is hosted in Docker.

I tried to downgrade to the previous version, but it was throwing a few errors while rebuilding.

2 Likes

May I know how to fix this? Is it possible to downgrade to the previous version, or do you have any other suggestions?

I don’t know how to fix Redis, but I’ve red something similar at some point. Searching may help.

But downgrading is mostly a bad idea.

1 Like

You cannot downgrade Discourse.
Redis is not using 95% of the memory but 38.9%. Still a lot.

What does your Sidekiq queue look like? /sidekiq/queues

Please find the details of /sidekiq/queues

Let me know if you need any other details

1 Like

Are these emails jobs by any chance?

2 Likes

I doubt it. How can I check it?

Click on the queue

May I know if you’re talking about this queues section?

One more thing is under /sidekiq/scheduler/history I can find Jobs::Chat::EmailNotifications still running for a longer period

Yes, just click on the word “low”

1 Like

Please find the details below

There’s an identical issue here:

With maybe a fix:

Since you’re not the only one to experience this, that looks like a bug. :thinking:

Thanks, but I don’t think I can turn off the chat. I’ll try to figure out another way