LAN lose internet every ~14d

Started by iorx, September 29, 2021, 04:41:03 PM

Previous topic - Next topic
Hi,

Really don't see how I go about figuring this out, that is finding what makes it come to a grinding halt approx every 14d. It has happened 3 times now.

Me. Since long a pfSense user, but I really like what I see from OPNsense! This is the first OPNsense in production for me.

OPNsense still accessible while LAN can't access internet. I haven't had the time to analyze it in this state as the customer here "needs" to get it running again. So a reboot has been done and everything works again.

Which log should I examine?

Running: as vm in Hyper-v gen 2, vm given 2 CPUs and 4GB RAM.

OPNsense 21.7.2_1-amd64
FreeBSD 12.1-RELEASE-p20-HBSD
OpenSSL 1.1.1l 24 Aug 2021

modules:
Sensei
Netdata

Config
Unbound:
some blocklists
conditional forwarding to domains DNS

OpenVPN:
as client, site-to-site.

Intrusion Detection:
Not active and cron jobs inactive.


So, any troubleshooting guide or tips how to figure out what goes south here?
My suspicion is the just name resolving stops, I recall that ICMP to WAN was still working. But I didn't check Unbound and don't see that it has gone down.

Brgs,


I would look at services consuming resources over time. Log to shell after a few days and see what is consuming ram for example.
Unbound can have it's log verbosity increased from the UI but as always, it needs more attention for the storage used.
Top is in base and htop can be added from mimugmail's repo.

Thank you very much for you reply.
I've not seen it go down since last post and it's closing in on 14d here. But I suspect that there are some leakage in some component.
An afterthought is that it actually started happening after installing Sensei.

If I can pinpoint the cause here I'll get back to report it.