Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    State table size >89% error

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 372 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ariban99
      last edited by

      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 reboot

      PHP 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-3100

      Crash 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 201

      No FreeBSD crash data found.

      DerelictD 1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate @ariban99
        last edited by

        @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.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        A 1 Reply Last reply Reply Quote 0
        • A
          ariban99 @Derelict
          last edited by

          @derelict thank you i will try that

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.