Skip to content
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

Memory steadily climbs in -v 3 -s mode #244

Open
camm9909 opened this issue Dec 13, 2022 · 1 comment
Open

Memory steadily climbs in -v 3 -s mode #244

camm9909 opened this issue Dec 13, 2022 · 1 comment

Comments

@camm9909
Copy link

Using version 0.8.7-16 as a monitoring tool on dedicated machine, memory usage steadily climbs until no memory is left on host and nethogs stops capturing traffic. For dedicated machines, it would also be nice if there was a GiB mode. Thanks!

@tr4nk0
Copy link

tr4nk0 commented Oct 10, 2023

Hi camm && others,

I have the same problem as you had. I'm trying to use nethogs continuously in an embedded device which has low RAM memory. The memory used by nethogs get increased slowly but continuosly. I checked nethogs with valgrind to get some info and it's full of memory leaks.
I wonder... dynamic free could be too much for nethogs to be able to rec all the packets?
I guess "garbage_collect_processes" is not enough to stop that memory increase...

Any suggestion or solution to be able to run nethogs in an endless way and don't run out of memory?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants