-
Notifications
You must be signed in to change notification settings - Fork 237
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
cf-ddns-v4/v6 CPU causes 100% CPU usage 24/7 #1431
Comments
Looks like it is not required to run 2 containers for v4 and v6, see joshuaavalon/docker-cloudflare#79 (comment). |
Interesting. I'll take a look to run just one container |
Thanks for digging into this with the dev of cf-ddns. I've combined v4/6 into one container |
CPU temp sounds more like a hardware issue. Power Level 1/2 should be set for a NUC, to TDPlow for the CPU and ~1.25x that. While cf-ddns shouldn't take 100% CPU; similarly the hardware shouldn't overheat when CPU is maxed for a long time. |
Thanks, will look into this |
Can you see whether 3.1.0 resolves this in your environment? A simple ./ethd update should bring it in |
Already deployed 3.1.0 but it will be hard to confirm if it fixes the issue, it has been really inconsistent for me as well. |
Closing as the issue will be fixed with cloudflare-ddns v3.2.1 |
Mayyyybe fixed. Turns out cloudflare-ddns had a bug and stopped updating records. So fixed bcs fixed or fixed bcs it stopped doing work? |
There are a bunch of errors in the logs but also a success log.
I updated to latest version 3.2.3 now and will keep an eye on that. |
Edit: Referenced comment got deleted, maybe we are good? Let's wait and see |
The answer may be to investigate https://github.com/timothymiller/cloudflare-ddns. Just sticking this here for reference for now. ... I remember why I didn't use this. It is missing a few features. It can't look up zone ID from the domain name; it is configured via a json file only; it doesn't do "split permission tokens", as in one with read for all zones and then a write for just a specific zone. That said ... this 100% CPU stuff is getting old. |
No particularly good choices here. Go with another image that has some missing features, or try and fix the existing image, as the dev won't. "This docker is just cron job running a Node.js script. If you see my replies above, my best guest is the related to base Docker image cron. There are really nothing I can changed. You can try different base image to see anything different." |
I just have the container stopped at the moment and if my server IP changes I just start it a few minutes and stop it again which is sufficient to update the dns records. This works for me but requires additional effort to have it automated. |
Hang loose and wait for joshuaavalon/docker-cloudflare#96 . |
Well, we need a new idea. "This repository has been archived by the owner on Jan 28, 2024" |
We could use this. It needs the Zone ID, which isn't the most friendly thing - but with the existing variables, maybe an entrypoint script could get this for the user. https://github.com/qdm12/ddns-updater/blob/master/docs/cloudflare.md |
@nflaig You're probably the heaviest user here. I am pondering requiring Thoughts? |
Sounds good to me, I just have a single zone in the cf account I use for this but it's generally good idea to limit permissions to a minimum. |
This is in. IPv4 only right now since upstream doesn't have |
Turns out traefik wants those permissions, so I don't have a way around that right now |
Just reporting this back here to consider disabling container until this is fixed, it caused my CPU temp to drastically increase to almost 100°C.
The text was updated successfully, but these errors were encountered: