Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Folks,
I have an application what writes large values to etcd (can be larger than 1MB), and I believe I am running into #12548 where the etcd server consumes a lot of memory. For my application, I would like to limit the maximum memory consumption of etcd to something lower, like 3GB.
Even when I set
the RSS memory consumption can exceed 6+GB.
However, when I reduce DefaultSnapshotCatchUpEntries to 100, the memory consumption is seems to stay below 3 GB.
In the code, there is a comment justifying the 5000 value for DefaultSnapshotCatchUpEntries, and I am curious when this value comes into play. What is the drawback if DefaultSnapshotCatchUpEntries is too small? Will a follower that takes a long time to do its local snapshot need to retrieve the entire snapshot from the leader instead of catching up on only the recent log entries?
thank you
Beta Was this translation helpful? Give feedback.
All reactions