samplicate pegging cpu

Started by ubu, March 18, 2026, 04:31:33 PM

Previous topic - Next topic
> I did exactly what you had informed me to do.

Why are we losing focus again?

Just run the command first:

# pluginctl -g OPNsense.Netflow


Cheers,
Franco

{
    "@attributes": {
        "version": "1.0.1",
        "persisted_at": "1773874029.39",
        "description": "NetFlow configuration"
    },
    "capture": {
        "interfaces": "wan",
        "egress_only": "wan",
        "version": "v9",
        "targets": "127.0.0.1:2055,127.0.0.1:2056"
    },
    "collect": {
        "enable": "0"
    },
    "activeTimeout": "1800",
    "inactiveTimeout": "15"
}

So that means it's set to capture. Not sure how else I can help you.

This will definitely kill the configuration if you confirm deletion... you can recheck with -g

# pluginctl -f OPNsense.Netflow


Cheers,
Franco

Quote from: franco on September 17, 2026, 05:10:56 PMSo that means it's set to capture. Not sure how else I can help you.

This will definitely kill the configuration if you confirm deletion... you can recheck with -g

# pluginctl -f OPNsense.Netflow


Cheers,
Franco
running that command and then killing samplicate results in the same reboot loop. is there any log files I can provide that would show why it goes into a reboot loop once that command is run?

I don't understand why disabling everything would cause panics. The panic is also missing from the thread so far. I know it's hard to gather but we're still flying mostly blind here.


Cheers,
Franco

isn't there any log files that are written to even during a kernel panic?

September 29, 2026, 02:40:39 AM #21 Last Edit: September 30, 2026, 03:50:43 AM by ubu
it would've been nice to resolve this but alas I'm going another direction. I'm going to try an Omada Fusion 2.5G Gateway & Controller in One. I got a really good deal on a whole 2.5G kit. Includes the gateway, switch and an AP all for $250 plus I get (5) coupons for the same kit for $50 off so if I can sell them to my customers my kit will be free. It helps me cut down on power usage. Maybe I'll install opnsense in the future on different hardware and give it another shot.

UPDATE: turned out to be a hardware issue with the CPU. i finally was able to see a kernel panic crash dump and that's what the errors are pointing to. uncorrectable errors on cpu3. I guess it was always just coincidental about netflow.

Hi,

Adding a data point, since the conclusion here was "coincidental / hardware CPU".
I'm seeing something similar on 26.7.9_3, but in my case disabling NetFlow is what stops the resets.

Upgraded 26.7 → 26.7.9_3 on Nov 22; the box had been stable for ~5 months before.
After the upgrade: hard resets every 5–20 min (no clean shutdown, no panic message, nothing in /var/crash).

NetFlow off (no listening interfaces, flowd_aggregate stopped): 20h40 uptime, zero reboots.
NetFlow on again (twice, with the aggregator running): reset within ~30 min both times.

Crash dump pipeline verified working: sysctl debug.kdb.panic=1 produced a textdump with a clean backtrace, so these resets are not ordinary kernel panics.
hw.mca.count = 0, no MCA errors, CPU ~55–64 °C, NVMe SMART fine, net.bpf.zerocopy_enable = 0.
Hardware: Intel Alder Lake-N150, 4 cores, 8 GB RAM, 6× I226-V (igc), NVMe, ZFS.
FreeBSD 15.1-RELEASE-p6 stable/26.7-n284285-1633399de9dd.
NetFlow v9 to 127.0.0.1:2056; netgraph netflow nodes on igc0/igc1/igc3.
Package changes in the same update include python 3.13.14→3.13.18, duckdb 1.5.4→1.5.6, pandas, numexpr, filterlog 0.8→0.9.

I haven't yet separated the kernel capture (ng_netflow) from flowd_aggregate, or tested interface by interface, so I can't say which part is responsible.
It may not be the same issue as the original post (there, stopping NetFlow triggered the loop, here it fixes it), but it suggests NetFlow isn't always coincidental on newer releases.

@Franco, if you want me to capture anything specific (capture-only vs aggregator, per interface, console output), I'm happy to test.