Increased CPU usage from CrowdSec after updating to OPNsense 26.7

Started by josephistired, Today at 06:09:46 AM

Previous topic - Next topic
After updating my firewall to OPNsense 26.7, I've noticed that the CrowdSec plugin appears to be using significantly more CPU (upwards of 100%) than it did before the update.

Has anyone else experienced this after upgrading, or is this a known issue with 26.7?

For reference, here's some information about my system:

OPNsense version:

OPNsense 26.7 (amd64)

CrowdSec version:

version: v1.7.8_1-6322745
Codename: alphaga
BuildDate: 2026-07-06_18:59:29
GoVersion: 1.26.4
Platform: freebsd
libre2: C++
User-Agent: crowdsec/v1.7.8_1-6322745-freebsd
Constraint_parser: >= 1.0, <= 3.0
Constraint_scenario: >= 1.0, <= 3.0
Constraint_api: v1
Constraint_acquis: >= 1.0, < 2.0
Built-in optional components: datasource_appsec, datasource_cloudwatch, datasource_docker, datasource_file, datasource_http, datasource_journalctl, datasource_k8s-audit, datasource_kafka, datasource_kinesis, datasource_loki, datasource_s3, datasource_syslog, datasource_victorialogs, datasource_wineventlog, db_mysql, db_postgres, db_sqlite
Excluded components: cscli_setup

Hardware:

hw.model: Intel(R) N200

If there are any additional logs or diagnostics that would be helpful, please let me know, and I'd be happy to provide them.

Thanks!

I use the same version of CrowdSec and it still works the same as in 26.1... I don't have any more CPU usage. I think since I updated to 26.7 I have less CPU usage overall. It works very, very well. 👌


crowdsec -version
version: v1.7.8_1-6322745
Codename: alphaga
BuildDate: 2026-07-06_18:59:29
GoVersion: 1.26.4
Platform: freebsd
libre2: C++
User-Agent: crowdsec/v1.7.8_1-6322745-freebsd
Constraint_parser: >= 1.0, <= 3.0
Constraint_scenario: >= 1.0, <= 3.0
Constraint_api: v1
Constraint_acquis: >= 1.0, < 2.0
Built-in optional components: datasource_appsec, datasource_cloudwatch, datasource_docker, datasource_file, datasource_http, datasource_journalctl, datasource_k8s-audit, datasource_kafka, datasource_kinesis, datasource_loki, datasource_s3, datasource_syslog, datasource_victorialogs, datasource_wineventlog, db_mysql, db_postgres, db_sqlite
Excluded components: cscli_setup


Quote from: josephistired on Today at 06:09:46 AMIf there are any additional logs or diagnostics that would be helpful, please let me know, and I'd be happy to provide them.
You could have added your top output to the opening post ;)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)