Closed the-hotmann closed 2 months ago
@qdm12 is more or less the only maintainer of this project and works on it in his free time. Please:
Oh man .. I am so sorry, I found out myself. Sorry for bothering.
The container was killed since it reached the 300MB Memory limit I set to it. I never deploy containers without a memory limit. DOT now works fine, but there are two things to note:
DOT
: ca. 97MB Memory usageDOT
: ca. 170MB Memory usageBUT, while start it peaks at ca. 465MB Memory usage.
I monitored the usage with docker stats
and noticed, that it hit the limit and therefore crashed.
I will increase the limit to 1GB of Memory, but in general I think we should convert this issue to a request to optimize whatever it does when it starts DOT, as the memory spike is a little concerning.
Golang (which this god thanks is based on ;) ) allows for integrated profiling and benchmarking. Which could be super usefull in detecting memory allocations and inefficient code in this section.
Thanks for you super awesome application!
P.S.: I am open for a discussion. Anyway, feel free to close this issue since this technically is resolved. A note in the docs would be nice.
After increasing the memory limit to 1GB
the app allows itself way more memory:
gluetun 1.27% 496.5MiB / 1GiB 48.49% 176MB / 63.1MB 197kB / 42MB 19
even after some time it still was this high. After some tests I came to this conclusion:
recommended Memory Container-Limit: 700MB Would be awesome if the recommended docker-compose in the readme would contain a memory limit. And a note that Gluetun itself wants about 500MB Memory, but might aswell work with a little less.
Closed issues are NOT monitored, so commenting here is likely to be not seen. If you think this is still unresolved and have more information to bring, please create another issue.
This is an automated comment setup because @qdm12 is the sole maintainer of this project which became too popular to monitor issues closed.
Is this urgent?
No
Host OS
Debian SID
CPU arch
x86_64
VPN service provider
Surfshark
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version latest built on 2024-04-02T14:51:42.917Z (commit 9821007)
What's the problem 🤔
By default the option
DOT
is enabled, which is nice. But independend on, which VPN Service and which VPN Protokoll I use, as soon as DOT is enabled the container acts like this:Share your logs (at least 10 lines)
Share your configuration