leader memory leak when a node is down in linux - raspberry or debian
See original GitHub issueReproduced it also with the latest in main 14.3.
It also reproduces in linux - debian wsl.
To reproduce:
- modify the DataModifier of the RaftNode example so that it saves every 0.1 seconds (10 times x second)
- for x64 run (also reproduces in arm devices):
dotnet publish Examples\RaftNode -p:PublishProfile=FolderProfile -c Release -r linux-x64 --self-contained -f net6.0
- run the 3 nodes as usual
- a few mins later kill one of the non leader nodes
- monitor the memory and confirm a few minutes later the leader has gained significant more memory
- if you leave it running its memory usage keeps growing / I have had a working set of well over 1GB
Issue Analytics
- State:
- Created 2 months ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Memory leak..? - Raspberry Pi Forums
I've discovered it when it works for nonstop 14 days! It crashed the RPI memory. Now my sistem restart processes when get 80%...
Read more >Memory leak on Raspberry Pi4 with Raspbian · Issue #2107
Summary of Problem What are you trying to do? I try to use Serialport to connect a port on a Raspberry Pi4 with...
Read more >linux - Something eats all memory (I suspect memory leak ...
If you have a program that allocates shared memory, but does not release it before exiting, you will have a relatively invisible memory...
Read more >Solving the Cardano node huge memory usage - done
The best solution would be for the node to performMajorGC regularly on its own when there is time instead of waiting for the...
Read more >Linux kernel memory leaks Ubuntu 20.04 (5.4 and 5.8 ...
r/linuxadmin - Memory usage comparison across 6 servers, ... level debug stuff way over my head), run out of memory(maybe it doesn't affect ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed in 4.13.1
Alright, I’m preparing a new release with memory leak fix. Feel free to open a new issue.