Since 22.1.6< zerotier eats one cpu fully

Started by Archanfel80, May 25, 2022, 02:36:43 PM

Previous topic - Next topic
Since the 22.1.6 zerotier eats 99% of one cpu, it was perfect in 22.1.6 but went wrong in 22.1.7.

Have you tried uninstalling and reinstalling the os-zerotier Plugin?
OPNsense: Intel Core i5-6500, 16 GB RAM, 2x 120GB SSD ZFS-mirror, 4x Intel i350-T4

May 27, 2022, 12:00:11 PM #2 Last Edit: May 27, 2022, 12:07:16 PM by larsd
"opnsense-revert -r 22.1.6 zerotier" did the trick for me (downgrading zerotier to 1.8.6 from 1.8.9)

Thanks Man!

You saved my life! I try to figure out whats wrong since days.

Regards, Peter

May 28, 2022, 11:10:11 PM #4 Last Edit: May 29, 2022, 12:34:38 AM by Archanfel80
Something is seriously wrong with zerotier. Even in my linux laptop the 1.8.9 or the 1.8.10 eats my cpu after a while and generate a lot of bogus traffic, even when im not using any static routes. I revert back to 1.8.6 on my arch linux and problem solved.

I strongly suggest that opnsense devs should revert the zerotier package to 1.8.6 in the production series too. This probably causing a massive problem on many users firewall.


Quote from: larsd on May 29, 2022, 11:41:40 AM
I second that

Note: you can lock the zerotier package to prevent future upgrade:
pkg lock zerotier

So the opnsense itself can be update normally but the zerotier package stays at 1.8.6.
Tested, no sideeffects, should be safe.

You can lock the zerotier package from the GUI as well.


Cheers,
Franco

sure, yes locking is an option, but in this case there seems to be something weird with zerotier and the suggestion to revert the package to 1.8.6 would still make sense, not everyone might notice zerotier misbehaving.

cheers

Eh, no, you need to revert AND lock until an update to zerotier software is available that fixes this otherwise the bad version will be back.


Cheers,
Franco

reverting in the repo, as suggested by Archanfel80.

cheers

Quote from: franco on June 10, 2022, 12:40:53 PM
You can lock the zerotier package from the GUI as well.


Cheers,
Franco

Ahh yes indeed :)

June 13, 2022, 04:20:11 PM #12 Last Edit: June 13, 2022, 04:23:26 PM by Archanfel80
Too bad that the zerotier discussion board is not really active, i dont think any of the developers would notice any of my posts.
It seems multiple people reporting the same behavior even with windows and linux alike not just freebsd.
The last working version was the 1.8.8, the 1.8.9 brings many issues. Im reverting every of my zerotier client to 1.8.6, even in my workstation linux laptop. This seems resolve all the issues. I strongly recommended to downgrade on every zerotier member to <1.8.9.

Update: Since we are a paid user, i opened a support ticket, so far the devs dont know whats the problem either.
I seems the issue is introduces in 1.8.9, ,its working with 1.8.8 and before but opnsense jumped 1.8.6 to 1.8.9 so who knows.
Devs suggest that we should try 1.10.x since its released and they fixed some issues what might be related to this.
So i think we should wait till freebsd/opnsense will have the 1.10.x version of zerotier-one package.