The firewall encountered an error after upgrading to 23.01
-
@hugoeyng the release information states that the ZFS file system takes alot of memory on start up and will normalize after some time once the software is installed.
-
@jonathanlee said in The firewall encountered an error after upgrading to 23.01:
@hugoeyng the release information states that the ZFS file system takes alot of memory on start up and will normalize after some time once the software is installed.
Yes. It is true. After a few minutes the use of memorry is normalized.
-
@jonathanlee said in The firewall encountered an error after upgrading to 23.01:
@hugoeyng the release information states that the ZFS file system takes alot of memory on start up and will normalize after some time once the software is installed.
This is what my APU do after a fresh (re)boot!
After while all is fine again, but I was applying a patch!Did this ever calm down once ZFS syncs?
Can not really be based on that point in my eyes, I was starting with;
- pfSenseCE 2.6 (zfs)
No problems at all - upgrading to pfS+ 22.01 (zfs)
No problems at all - upgrading to pfS+ 22.05 (zfs)
High cpu usage, after pfBlocker-ng patch applied
all was fine again - and once more upgrade to pfS+ 23.01 (zfs)
High CPU and RAM usage and on top the Swap was running out of space too!!! After applying a patch all is fine
@hugoeyng
Actual picture to show again: CPU low, Swap low and
RAM low! I was also not seeing this message again.
Swap pager: running out of space - pfSenseCE 2.6 (zfs)
-
@hugoeyng Mine will be at upper 90& for a while and after just drop down to 20-40%
-
@jonathanlee said in The firewall encountered an error after upgrading to 23.01:
@hugoeyng Mine will be at upper 90& for a while and after just drop down to 20-40%
It is similar here. 22%
In the past I faced some question about swap. When rebooted, swap started up using 3% and after growing until crash. -
@jonathanlee I changed squidguard.inc as you can see in the following pic. The error message has gone, but SquidGuard does not start. Of course, I only test for the error and skip it, and I don´t know excatly what the consequences. :)
-
@hugoeyng it could be that it won't start because the array holding the urls can not be iterated due to that line being removed. Can you find where that specific array is instantiated at? Also does this array have the correct elements in it? I see it they have it instantiated sgxml as an array in that function at the top. Come to think of it, what is that array pfxml used for is that the full config of pfsense? You have to convert it too or reseralize it? Keep in mind I am still a computer science student. PfSense farsantes me. It's amazing. I really want to learn how to debug the software like the ide jGRASP's debug. I can do programming in Java and Python. Again when you are coding for specific firewall hardware how can you debug it without the hardware? Do you use a virtual machine. I really need to learn that. We learned how to code but not with specific environments.
-
@hugoeyng can you do a try catch instead?
-
@jonathanlee please write how would you do it
-
I know in Java It would be something like this photo. Again it needs the C programming version of it so you can read the specific error. This photo I have a array that is out of bounds when it prints that element, notice the error is caught. You can do more than print the error you can redirect it to other code also, so if something was missing in that config it could flag it if needed would need more code.
-