State table size >89% error
-
Hi
today my State table size went above 89% and everything slowed down and would work.
in the notifications i got this error after a rebootPHP ERROR: Type: 1, File: /usr/local/www/diag_dump_states.php, Line: 201, Message: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8404992 bytes) @ 2021-03-19 18:53:48
i also got this crash report
Crash report begins. Anonymous machine information:arm
12.2-STABLE
FreeBSD 12.2-STABLE plus-devel-12-n202515-ae25dcfbe6e pfSense-SG-3100Crash report details:
PHP Errors:
[19-Mar-2021 18:53:48 America/Los_Angeles] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8404992 bytes) in /usr/local/www/diag_dump_states.php on line 201No FreeBSD crash data found.
-
@ariban99 Too many states for the php page to render is all that is. If your state table is large you should enable the requirement of a filter in System > General Require State Filter so the whole state table is not displayed when you view Diagnostics > States.
If you are routinely using more states than the default, and you have the available memory, you should increase the state table size in System > Advanced, Firewall & NAT Firewall Maximum States.
-
@derelict thank you i will try that