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

Add RAM to Netgate 1100

Scheduled Pinned Locked Moved Official Netgate® Hardware
8 Posts 5 Posters 1.4k 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.
  • M
    mpfrench
    last edited by Mar 31, 2023, 5:37 PM

    The 1100 comes with 1GB of RAM. However, I received the following error message when I configured a DNSBL:

    [31-Mar-2023 11:29:12 US/Central] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 122613632 bytes) in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3961

    This message seems to indicate that I need more RAM. I have not taken off the case of the 1100. Is it possible to add more RAM? If so, what are the specs?

    G 1 Reply Last reply Apr 3, 2023, 7:11 AM Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 31, 2023, 7:40 PM

      You cannot add more RAM to the 1100, but also that message doesn't imply you need more RAM. PHP processes are limited in size to prevent them from overrunning the system. That one failed to allocate ~128MB of RAM, which isn't much overall.

      You should post on the pfBlockerNG category for assistance in figuring out what in your pfBlockerNG configuration might be leading to that and how to work around it.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 1
      • M
        mpfrench
        last edited by Mar 31, 2023, 8:34 PM

        Thanks for your quick reply and analysis. I did as you suggested and posted a message in the pfBlockerNG forum.

        1 Reply Last reply Reply Quote 0
        • M
          mpfrench
          last edited by Apr 2, 2023, 1:30 AM

          I took off the case of the 1100 just to see what was inside. Very impressive layout. I now understand your comment about my not being able to add or replace the RAM. It is soldered to the PC board and is not the type form factor that one finds in a desk computer. Without having special soldering/desoldering tools, one would ruin the unit if RAM replacement were attempted.

          P 1 Reply Last reply Apr 2, 2023, 1:30 PM Reply Quote 0
          • P
            provels @mpfrench
            last edited by provels Apr 2, 2023, 1:48 PM Apr 2, 2023, 1:30 PM

            @mpfrench Try going to "System/Advanced/Firewall & NAT" and increase the table states. pfB needs room to work during updates, holding all current entries and all proposed entries before merging them. My system defaults to 2 million, but I have 16GB.
            adc700e4-50cf-40a9-bece-baeb4b1d93d1-image.png

            Peder

            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

            S 1 Reply Last reply Apr 2, 2023, 3:26 PM Reply Quote 0
            • S
              SteveITS Galactic Empire @provels
              last edited by Apr 2, 2023, 3:26 PM

              @provels said in Add RAM to Netgate 1100:

              My system defaults to 2 million

              There’s actually a long-standing bug where the “default” is “whatever you typed in.” :)

              But yes general recommendation for pfB is minimum 2 million and more depending on list size.

              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!

              1 Reply Last reply Reply Quote 1
              • M
                mpfrench
                last edited by Apr 2, 2023, 4:08 PM

                Changing the Firewall Maximum Table Entries to 2M did not fix the problem. After changing this value and rebooting, I received the following error message after trying to activate the UT1 DNSBL:

                10:49:28 PHP ERROR: Type: 1, File:
                /usr/local/pkg/pfblockerng/pfblockerng.inc, Line: 3961, Message: Allowed memory size of 134217728 bytes exhausted (tried to allocate 122613632
                bytes)

                By the way, I created a user forum topic titled PHP Memory Allocation Error in pfBlockerNG DNSBL. This seems to be a better place to carry on this dialog since I can't add more physical memory to the 1100 and the root of the problem may not be insufficient memory as @jimp pointed out.

                1 Reply Last reply Reply Quote 0
                • G
                  Gertjan @mpfrench
                  last edited by rcoleman-netgate Apr 3, 2023, 4:49 PM Apr 3, 2023, 7:11 AM

                  @mpfrench said in Add RAM to Netgate 1100:

                  [31-Mar-2023 11:29:12 US/Central] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 122613632 bytes) in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 3961

                  pfSense version ?
                  pfBlockerng version ?

                  If both are current, then yeah, it's trying to load a file in memory that won't fit.
                  PHP is a process with it's own memory space. It isn't limited to max available system memory, it is allowed to use what is specified in the php.ini file.

                  For example, this one :

                  b7e32136-9278-4dfe-b3cd-c5118f873681-image.png

                  selecting it also shows :

                  8f880f67-c9a1-44e1-bdc0-4443f720ffb2-image.png

                  The XXX adult list is quite big : close to 120 Mbytes.

                  edit : aha : ok, you already know what to do - if it can be done :
                  https://forum.netgate.com/topic/179185/php-memory-allocation-error-in-pfblockerng-dnsbl

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  7 out of 8
                  • First post
                    7/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received