-
Notifications
You must be signed in to change notification settings - Fork 468
-
Notifications
You must be signed in to change notification settings - Fork 468
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
TcpReplicator always get 100% CPU utilization ratio #78
Comments
This might be due to incorrect node configuration. For example, serveral nodes are configured with the same replication identifier. Another universal recommendations are switching to Chronicle Engine, which also does replication but it is a newer and more stable codebase, switching to Chronicle Map 3.8 for the same reason, or do both these things. |
Hi,leventov
the read node add the writer's ip and port , no other difference. |
Heartbeat interval of 1 hour is definitely not the right thing to do. Why you configured it that? I don't recommend to change the default value (1 second). You could also try to use Chronicle-Engine, here: https://github.com/OpenHFT/Chronicle-Engine/blob/d4d7945e41119a6cc18d60e8ec01c7571e6078ac/src/test/java/net/openhft/chronicle/engine/Replication3WayIntIntTest.java you could find an example of configuring replication for Engine. |
hi,leventov But I still dont know why. |
I have a hypothesis that some exception is thrown inside throttling logic, but it is consumed in replication logic. But, in this case it should leave traces in logs. If you could run the test which leads to 100% CPU with logging configured on debug level ( |
closing as we no longer provide support to chronicle map v2 |
I'm using 2.4 version of Chronicle-Map.
I made 3 read nodes sync from a write node by Tcp. the 3 read nodes was actually doing service by reading entries from the map, and the central one update the data of the map.
the problem is that the central node always get the TcpReplicator thread 100% CPU utilization ratio and never get down again. It seems the thread is reading infos from the reader nodes.but the reader nodes never does update or remove operation.
When TcpReplicator thread get 100% usage.Then the sync of the map on reader nodes always fail or speed be very slow.
map size: 100,000,000
entries in map : 40,000,000
The text was updated successfully, but these errors were encountered: