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

    Allowed memory size exhausted

    2.2 Snapshot Feedback and Problems - RETIRED
    1
    3
    1.2k
    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
      maeries
      last edited by

      Hi,
      when I deleted some expired DHCP leases today this error occured:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36 bytes) in /usr/local/www/services_dhcp.php on line 85 
      

      I disabled the DHCP server and now every time I want to enable the DHCP server on the bridge interface like it was before that error I get that message and the dhcpd stops.

      I'm running 2.2-RC (i386) built on Mon Dec 22 10:10:37 CST 2014

      BTW the line in question is

      $newleases_contents = array_merge($newleases_contents, $templease);
      

      [EDIT] Also the DHCP server does not start at all. When I go to Status:services and start dhcpd, it says that it's startet, but when I check again it is already stoped

      1 Reply Last reply Reply Quote 0
      • M
        maeries
        last edited by

        I loaded a backup, but that didn't help.

        Also, when I go to Services -> DHCP Relay I get this

        Fatal error: Call-time pass-by-reference has been removed in /usr/local/www/services_dhcp_relay.php on line 74 
        
        1 Reply Last reply Reply Quote 0
        • M
          maeries
          last edited by

          Ok, I just reinstall the whole system. Those```
          Fatal error: Call-time pass-by-reference has been removed in [...]

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