Being a bit predictable, maybe top or htop should give a hint where to look.
Your hardware should have enough power for running with ZFS. As far as I know ZFS is a way more stable than UFS in case of powerloss.If you haven't changed anything to C3 by yourself it'll use C1 as default which is pretty fine. How stable is your system if PowerD is disabled?Also you could run a memtest on your system to ensure your RAM isn't faulty.How is your BIOS configured? I'm using UEFI boot (no legacy) and have enabled C- and P-states. It's using Max Performance as default. Any HPET (High precision event timer) configured?I'm using a VENOEN P09B2G hardware and upgraded memory from noname to 16 GB Crucial. SSD is a 256 GB Kingston one. CPU J4125.Edit: Any additional plugins installed?
Checking for hardware is the first logical but you're experiencing it from two different systems, so that kind of helps. If the problem affects the network ie. the port and or services accessed on it i.e. ssh, then ssh is of little help as you know.I'd be thinking to narrow down first before starting changing system settings that were working before.A few questions to figure out the scenario:The only change is an upgrade to 23.1.7 on a working system prior, can you downgrade to previous?Is the WAN going to a router on bridge mode, something else? Are you virtualizing any of this? You mention the hardware but not if you're installing OPN on a VM on it.Are you on PPoE, what is it if not but what's the setup? Topology would be ideal.Any services running, the optional types. Suricata, Zenarmor, etc. Lookout for the netflow process, there was a time when it was a high consumer of cpu cycles. No reports of it for a while but if you have it enabled, see if disabling it helps.
It doesn't seem cpu overtaxed. I would check dmesg at the console when it happens.We're looking for clues in that log buffer even if top doesn't report a spike, maybe some errors.Your diagnosing seems to suggest the problem could be downstream from the firewall. What I would do after restarting the switch just in case is diagnose at both ends in parallel. Wired client and firewall. We want to eliminate wireless from the equation for now.Start with dmesg and top at the firewall. Network diagnostics from the client: ping, nslookup, etc.And I would reconfigure it without AdGuard too, to eliminate name resolution blocks. That wouldn't explain a network freeze at the client as you know.That said, when you say OPN freezes, can you describe where (a particular settings page), or something else? I'm thinking that from the diagnostic so far, if say the network stutters (let's say the switch drops packets) from the client then it would look like OPN is frozen but is just the link to it that is. Thinking aloud here.