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

    Memory error at each IP reload

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 2 Posters 447 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.
    • W
      Wolfgangthegreat
      last edited by

      Hi,

      I use pfBlockerNG-devel version 3.2.0_6 on PF 2.7.0-RELEASE (amd64).

      Each time I do Update > Reload > IP, I get an error like:
      "
      There were error(s) loading the rules: /tmp/rules.debug:61: cannot define table pfB_Top_v4: Cannot allocate memory - The line in question reads [61]: table <pfB_Top_v4> persist file "/var/db/aliastables/pfB_Top_v4.txt"
      @ 2023-11-11 23:22:32
      "

      Any idea how to fix this?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @Wolfgangthegreat
        last edited by

        @Wolfgangthegreat is max table entries high enough to contain it?
        https://docs.netgate.com/pfsense/en/latest/config/advanced-firewall-nat.html#firewall-maximum-table-entries
        A while back I’d read to start at 2 million if using pfBlocker, and increase as necessary.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote šŸ‘ helpful posts!

        W 1 Reply Last reply Reply Quote 1
        • W
          Wolfgangthegreat @SteveITS
          last edited by

          @SteveITS Thanks!
          I have raised the value to 2M and it looks like it solve the issue.
          Thank you!!

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