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

    Allowed memory size exhausted after squid install

    Scheduled Pinned Locked Moved webGUI
    2 Posts 2 Posters 423 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.
    • T
      ThomasS 0
      last edited by

      Hello,

      we have a PFSense with the version 2.6.0.

      Yesterday i tried to install Squid via the Package Manager, the installation says it is successful installed but i can not see it in the GUI Menu and when the installation is done i get the folloing error shown.

      ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 280, Message: Allowed memory size of 262144000 bytes exhausted (tried to allocate 70262616 bytes)

      i already googled the error and tried to adjust the memory in /etc/inc/config.inc by adjusting both variables

      // Set memory limit to 512M on amd64.
      if ($ARCH == "amd64") {
      ini_set("memory_limit", "1024M");
      } else {
      ini_set("memory_limit", "2048M");
      }

      as well as /etc/rc.php_ini_setup by adding

      memory_limit = 1024M

      both changes did not change the Number in the error code.

      Does anybody have an idea which file i have to adjust?

      We also have PFBlockerNG installed and tried to deactivate it during the install but that did not change anything.

      Best Regards
      Thomas S.

      bingo600B 1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600 @ThomasS 0
        last edited by bingo600

        @thomass-0
        Not much help ...
        But last week i installed squid on my "Test fw": A - pfS 2.6.0 on a Core i3 w. 8GB Ram / 64GB disk. It installed without a hitch.

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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