kutzilla / docker-hetzner-ddns

A Docker image that allows you to use Hetzner DNS as a DynDNS Provider
MIT License
23 stars 8 forks source link

My dockers are hungry for memory #28

Open chr-le opened 12 months ago

chr-le commented 12 months ago

Hi there, I have running 5 hetzner-ddns-dockers for my subdomains. The functionality is really good.

`services: xxx.yyy.com: image: kutzilla/hetzner-ddns:latest restart: always environment: ZONE_NAME: yyy.com API_TOKEN: ''''''' RECORD_TYPE: A RECORD_NAME: xxx CRON_EXPRESSION: "/5 *" TTL: 300

deploy:

#  resources:
#    limits:
#      memory: 18M`

But I have seen, after about 3 days, every docker consumes 36 MB RAM. At start time every docker took 8 MB. When I let it go, all dockers consumes a GB RAM after some weeks.

So I have restricted the Memory with ressoures/limits/memory. As a result the docker crashes, restarts and crashes again after some days. Not beautiful, but it saves meory ;-).

Have I forgot a configuration parameter or ist it possible to mount a garbage-drive?

kutzilla commented 11 months ago

Thank you for the feedback. I will look into that. So far I didn't experience it myself. But there is huge need to update the dependencies and certain features. While I'm working on that, I will observe if there is an issue regarding RAM usage.