-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fairly high resource usage #186
Comments
In general that is not expected behavior if no traffic is coming through. What is the setup of your nodes? Also could you share some logs from the nodes, especially around the time of these spikes? |
This seems to have gotten better with the latest release, so I'll close this for now. Thanks! |
I'm reopening this issue since I'm noticing this again on the latest release. I see very regular CPU spikes, often up to 80%, that last for a couple of seconds. I will try tomorrow to correlate them to any specific output in the debug logs. I have a suspicion that it might be related to neighbour discovery, since the issue was not there when I was running the versions where the multicast probes were sent out on the wrong interface (and so neighbour discovery was not working on those versions). |
Is this still going on right now? We shut down one of the public nodes yesterday, and after that the other nodes we monitor suggest there is quite a bit less protocol traffic in the network. I wonder if that is related. |
Yeah it looks a lot better now. Still some mild CPU spikes, but not nearly as bad as before. We're talking 10% on a core now compared to 80%+ over the weekend. I noticed with tcpdump over the weekend that there were a lot of packets being sent over the mycelium port, and a lot of them having length 0. I didn't have the time to look into it in more detail though. I'm just mentioning it in case it's useful info to you. |
Thanks for the info. I'll check the packet length in tcpdump when I get around to it, I'm guessing its related to the tcp/quic connection layer (there are no explicit 0 length sends in the code) |
I deployed mycelium on three machines and on each of them I see regular (every couple of seconds) CPU spikes.
My router which is usually consistently at 0.00 load, even while routing all network traffic, sits consistently at 0.20 load when running mycelium without any active mycelium connections.
Is this to be expected? Do you have any idea what would be causing the high resource usage?
The text was updated successfully, but these errors were encountered: