-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Bug: Still seeing high memory usage when using block malicious flag #813
Comments
Hey @evandev ! Try turning What you can try to debug yourself relatively easily is: docker exec -it <your-gluetun-container-name> apk add htop && htop You can then click on the I'll soon fix #137 which should offer finer grain control of performance vs memory for DNS related stuff. I'm away from keyboard right now, but I'll try to investigate it myself soon. And also 🥇 for the sponsorship 😉 |
Thanks for the response. I set
|
That's strange, did you pull the latest image? Check with |
Htop is showing Unbound as using most of the memory. I am running 7 containers, htop shows 14 entries for unbound at about 283MB each. |
Are you sure you are running with both |
Double checked, posted my docker-compose snippet for you. I'm not doing anything heavy yet, actually these stats above are minutes after a fresh start and before any traffic has been sent through. The denver container has only 20mb of memory usage, however the logs show that there was a problem establishing the vpn connection in there, so probably irrelevant:
|
Hi @evandev, You have a typo in your compose-file |
@frepke Oops! Thank you, I am fixing this now. |
That probably fixed my issue. Will continue testing.
|
Awesome @frepke I really didn't spot this, good 👀 !! Let's close the issue for now, feel free to comment here more though. Since this issue is linked to the DNS over HTTPs Go implementation, I'll probably comment here once it's done. I just ran my DNS container with block malicious and it uses 125MB of ram. Not amazing, but still twice better than Unbound! 😉 |
Is this urgent?
No
Host OS
Amazon Linux 2
CPU arch
x86_64
VPN service provider
Surfshark
What are you using to run the container
docker-compose
What is the version of Gluetun
latest 3.27.0
What's the problem 🤔
I am still seeing very high memory using, I am attempting to run multiple instances of this container. Memory usage is over 300MB for each container.
Share your logs
Share your configuration
The text was updated successfully, but these errors were encountered: