Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
22.1 beta - 100% CPU - How to resolve?
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: 22.1 beta - 100% CPU - How to resolve? (Read 5867 times)
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 22.1 beta - 100% CPU - How to resolve?
«
Reply #15 on:
January 17, 2022, 12:44:36 pm »
Interesting... how big is your config.xml ? Did you manage IDS rules by setting them individually in the past which is now rather done by policies since the number of rule edits could really bog down the system?
Cheers,
Franco
Logged
mjalafoo
Newbie
Posts: 8
Karma: 1
Re: 22.1 beta - 100% CPU - How to resolve?
«
Reply #16 on:
January 17, 2022, 01:11:25 pm »
That's exactly what happened
.. Though it was hard to modify and delete the ruleset through the GUI.
The config files was around 6MB and went down to around 500KB after cleaning.
But is this a bug? or a feature? can one ask the system to clear all the IDS ruleset with one command?
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 22.1 beta - 100% CPU - How to resolve?
«
Reply #17 on:
January 17, 2022, 01:24:49 pm »
It's a limitation and a reason why policies were introduced in 21.1. We even added a warning box for it:
https://github.com/opnsense/core/blob/766dc45283f284c0a58345db7a05a431e77cc2ec/src/opnsense/mvc/app/controllers/OPNsense/IDS/Api/SettingsController.php#L767-L777
Cheers,
Franco
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
22.1 beta - 100% CPU - How to resolve?