Closed jaller94 closed 2 years ago
This is due to the healthcheck (internal to gluetun, not the Docker one). It pings github.com (so dns resolution + icmp) every 5s by default to check if the connection is up. You can change those values, see the health options wiki page for that. On the other hand, it means it won't detect the vpn doesn't work and auto-heal itself in a short time.
Is this urgent?
No
Host OS
Manjaro Linux
CPU arch
x86_64
VPN service provider
ProtonVPN
What are you using to run the container
docker-compose
What is the version of Gluetun
2022-02-26T23:00:01.006Z (commit 006b218)
What's the problem 🤔
Every 5 seconds I get a small CPU spike of 3% to 6% for less than a second. Even when the proxy should be completely idle.
I suspect that this could be the health check or another network call. With each spike
docker stats
says that ~0.3 kb are being uploaded and downloaded.I would prefer an option for the container to not make frequent network calls and avoid regular CPU spikes.
Share your logs
Share your configuration