pfSense instances in AWS crashing often
I have 3 pfSense instances running in AWS. Version is 2.4.5p1. I don't find any crash report generated (I'm checking on /var/crash). All I can see is the AWS console screenshot, which gives a limited view only:
The 3 instances give similar errors. Is there any way I can make pfSense save these errors to disk for analysis?
Unfortunately the very end of the panic output like that doesn't really show anything helpful.
It would normally save that data if it is able.
Do you see anything logged before it reboots?
@stephenw10 No, nothing in the logs unfortunately. AWS only allows to see a screenshot of the console, so I cannot see more than that. Is there any way to configure pfSense to write the console logs to a file?
It usually dumps that to a file in /var/crash and when you reboot and log back in it will present a crash report as an alert. But since you say that file is not present I would not expect to see the report either.
What do you have it configured as on AWS? Are you doing anything unusual?
The setup is pretty simple. Not sure if this can be considered unusual, but one of the firewalls has around 80 Site to Site tunnels, and the other around 40.
80 IPSec phase 1 tunnels? In tunnel mode or VTI?
That's moderately unusual but not crash worthy.
Still no errors logged? Do you see tunnels failing before the crash maybe?
@stephenw10 They are in tunnel mode. I have not seen then going down before the crash, but will look into it in more detail if this happens again.