wlatic / hassio.addons

20 stars 16 forks source link

Cloudflare Argo - High CPU usage when using less than 3 tunnels #11

Closed ilarrain closed 3 years ago

ilarrain commented 3 years ago

Thanks for the addon. I'm using argo with 1 domain, and have always seen around 40%-50% cpu usage, regardless of load. Today I've decided to investigate the issue. cloudflared cpu usage was less than 1%. I've built the addon locally, updating cloudflared to the latest version, cpu usage was the same. Then I've removed 2nd and 3rd tunnel support, and CPU load is now less than 1%.

wlatic commented 3 years ago

Looking into this!

wlatic commented 3 years ago

Was poor coding. I never disabled the service when it wasnt needed so it just sat there starting and restarting the services. New version should come up now.

wlatic commented 3 years ago

Yep all fixed, thank you for reporting this its been running for a year blasting my Pi for no reason (and probably others!)