OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: Archanfel80 on May 25, 2022, 02:36:43 pm

Title: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on May 25, 2022, 02:36:43 pm
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.
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: _Alchemist_ on May 26, 2022, 12:19:03 pm
Have you tried uninstalling and reinstalling the os-zerotier Plugin?
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: larsd on May 27, 2022, 12:00:11 pm
"opnsense-revert -r 22.1.6 zerotier" did the trick for me (downgrading zerotier to 1.8.6 from 1.8.9)
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on May 28, 2022, 10:38:39 pm
Thanks Man!

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

Regards, Peter
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on May 28, 2022, 11:10:11 pm
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.
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: larsd on May 29, 2022, 11:41:40 am
I second that
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on June 10, 2022, 12:26:28 pm
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.
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: franco on June 10, 2022, 12:40:53 pm
You can lock the zerotier package from the GUI as well.


Cheers,
Franco
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: larsd on June 10, 2022, 02:28:20 pm
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
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: franco on June 10, 2022, 02:39:53 pm
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
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: larsd on June 10, 2022, 04:59:38 pm
reverting in the repo, as suggested by Archanfel80.

cheers
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on June 13, 2022, 03:32:48 pm
You can lock the zerotier package from the GUI as well.


Cheers,
Franco

Ahh yes indeed :)
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on June 13, 2022, 04:20:11 pm
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.
Title: Re: Since 22.1.6< zerotier eats one cpu fully
Post by: Archanfel80 on June 20, 2022, 12:07:01 pm
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.