New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory problems with Zulip 5.6 and 6.0 #23757
Comments
Hi! Based on those graphs and knowing what was in the 6.0 release, there's no significant change in Zulip's behavior. (It's possible that there's a tiny increase in memory footprint due to upgrading third-party dependencies). I think what you're seeing is that because you increased the memory available on the host before the upgrade, Zulip switched its default mode for how to run queue processors to a configuration that is more efficient but uses more memory: https://zulip.readthedocs.io/en/latest/production/deployment.html#queue-workers-multiprocess Zulip is designed to make use of the memory available on the system -- so for example, memcached will be allocated 1/8 of the system's available memory. The configuration will be updated whenever you run If you want to go back to using less memory, you can set that deployment option manually, resize your system, and run |
Hello @zulip/server-production members, this issue was labeled with the "area: production" label, so you may want to check it out! |
@HellMar , if you suspect memory leaks or increased memory usage/requirement, i would setup some monitoring script to watch process memory growth over time. something like
|
I am encountering a similar problem - I am running the latest git version and at some point in the last couple of weeks I suddenly started to see the zulip server becoming unavailable frequently (up to 2 times a day). Upon investigating the log files (I didn't touch configuration or anything before) I noticed that nginx was killed because of out-of-memory and in other places I saw that the connection to rabbitmq was lost. A reboot fixes the problem but I can't reboot once or even multiple times a day... The machine has 4 GB of RAM. What is the proposed solution? |
I'm going to merge this into #23174, which is also a memory consumption report with recent versions. Please follow along there for further updates. |
Hello all.
Around November 16, I had to increase the RAM of the VM because the OOM killer regularly killed services and Zulip was only partially usable. Since when the RAM became scarce I can unfortunately no longer say because the monitoring is not yet running so long.
Then on November 23, Zulip was upgraded from 5.6 to version 6.0 and the memory requirements exploded again.
Does anyone have any ideas what we can do about this?
The text was updated successfully, but these errors were encountered: