SG3100 needs to reboot every few days after 2.4.4 upgrade
-
Is there a way to restart unbound every 24 hours to try and mitigate the problem until 2.4.4-p1?
Thanks! -
You can install the cron package and then make a cron entry that periodically does
/usr/local/sbin/pfSsh.php playback svc restart unbound
on whatever schedule you want. -
I don't know if I just caught it at a funny time, but I just went to go look at the DNS Resolver log page again, but it looks like the service restarted itself multiple times within just the last few minutes. I wonder if it has been doing this all day? I am wondering if installing cron and having it restart periodically (say daily) is even worthwhile if it is restarting itself frequently anyway...
I have a mind to disable DNS over TLS for now and wait until 2.4.4-p1 comes out before I try to re-enable it. DNS privacy appeals to me, but in principle only - no real reasons to hide. It's not worth periodically losing DNS functionality. I haven't really decided to turn it off yet, but what do other people think about the trade-off?
-
I woke up without internet this morning :(
Is there a way to install unbound 1.8.1 manually?
-
@bbrendon said in SG3100 needs to reboot every few days after 2.4.4 upgrade:
I woke up without internet this morning :(
Is there a way to install unbound 1.8.1 manually?
Why don't you follow the advice of @jimp above? Install the cron package, then add a restart of unbound every ~6 hours (or hour or whatever works best) as a mitigation?
-
For what it's worth, I have checked back at random periods at the DNS Resolver log entries (but NOT when the problem occurred when I had to manually start it). The few times I checked the DNS Resolver log, I found each time that unbound had stopped (message like info: service stopped (unbound 1.7.3). ) a couple of times within a 5 minute period. I am not sure why it stops so often, and why sometimes it will stop and not start back on its own without my intervention. But I'm not sure adding a restart every hour or few hours would make a difference. If the service is stopping and starting on its own fairly often, one would think adding a cron-based restart wouldn't make a big difference.
-
@muppet said in SG3100 needs to reboot every few days after 2.4.4 upgrade:
restart of unbound every ~6 hours
I could but that's janky.
-
Edit: Updated to remove the bit about it being unsupported.
Unbound 1.8.1 has been pushed to the 2.4.4 repo.
If you do a "pkg update && pkg upgrade" you can find it. If you wanted to be more careful (always a good idea) you could do "pkg update && pkg upgrade unbound" then you'll only get an upgraded unbound and strongswan (ipsec package)
KEEP IN MIND YOU'LL BE RUNNING A SEMI-UNSUPPORTED VERSION OF PFSENSE BY DOING THIS- So only do it if you really really need to. But it should fix your unbound problems.Thanks heaps to netcat6549 in the IRC channel for explaining some of the above to me.
-
That is not unsupported. We pushed it out specifically to address the unbound memory leaks. It's perfectly fine to run it either way, whichever way works better for someone.
In fact if someone were to upgrade to 2.4.4 today, they'd automatically pull in the new version.
tl;dr: If you have problems with unbound eating memory, upgrade, don't suffer until -p1, even if it is coming soon.
-
@jimp said in SG3100 needs to reboot every few days after 2.4.4 upgrade:
That is not unsupported. We pushed it out specifically to address the unbound memory leaks. It's perfectly fine to run it either way, whichever way works better for someone.
In fact if someone were to upgrade to 2.4.4 today, they'd automatically pull in the new version.
tl;dr: If you have problems with unbound eating memory, upgrade, don't suffer until -p1, even if it is coming soon.
Ahhh ok, thank you
I was asking in the IRC channel about how "supported" the pkg update/pkg upgrade commands were. The feedback I got was that it would be an unsupported thing to do. Thank you for clarification! -
I could see how someone might think that, but in this case we put out some updates for a few issues that some had concerns about (unbound, strongSwan, curl, libssh) and if someone needs to, they can update by hand. We don't do that often, but in this case the issues warranted an OOB update of that nature.