-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
[Bug]: After vernemq starts the cluster, the cpu and memory usage is abnormal #2146
Comments
Can you specify what you mean by "after VerneMQ starts the cluster?" Starting from 3 empty clustered nodes: can you tell me what you actually test to arrive at the behaviour described? 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
I mean, after all the nodes of the vernemq cluster are started, the CPU will soar. When only one node is started, the CPU is normal. |
And we modified redis.lua. redis.lua:
|
Re "a few days ago": did you do anything specific to the cluster then? like make one or multiple nodes leave and rejoin the cluster? 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Yes, this is not on Kubernetes, this is on three virtual machines. |
Wouldn't a process only be killed/OOMed with high RAM, not high CPU? 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Ok. I wonder what happened during the VM takedown. Was the disk wiped? I don't know why you see high CPU before the crash, you might want to look at this separately. But it must somehow be load related. (the input we give to the system). 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
potential fix: #2162 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
@GoneGo1ng what is your status on this? can you possibly test the 1.13.0 release? 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
@ioolkos Thx, I will test. |
Hi, I can confirm the issue is still happening on version VerneMQ 1.13.0 |
Environment
In the process of verifying the vernemq cluster, we found that even if there is no client connection, the CPU and memory usage of the vernemq is still high.
Current Behavior
The CPU and memory usage of vernemq is very high. Looking at the logs, it seems that what data is being synchronized, but we cannot judge what data is being synchronized.
Expected behaviour
The CPU and memory of vernemq should not be so high when no clients are connected to vernemq.
Configuration, logs, error output, etc.
Console:
Error:
The text was updated successfully, but these errors were encountered: