[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pfsense-discussion
Subject:    Re: [pfSense] =?utf-8?q?Error_deleting_expired_DHCP_lease?=
From:       "=?utf-8?B?TWljaGFlbCBELiBXb29k?=" <mike () itsecuritypros ! org>
Date:       2012-08-19 9:32:19
Message-ID: 20120819093208.DEAA65019F3 () mail ! itsecuritypros ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

20 or so leases.  They don't really need to be there; I've got a windows server \
handling dhcp.  They are still listed there when pfsense was handling dhcp. Guess I \
can always up the memory limit for PHP.

--
Michael D. Wood
ITSecurityPros.org
www.itsecuritypros.org

----- Reply message -----
From: "Paul Gear" <paul@gear.dyndns.org>
To: <list@lists.pfsense.org>
Subject: [pfSense] Error deleting expired DHCP lease
Date: Sun, Aug 19, 2012 4:38 am


On 19/08/12 16:28, Michael D. Wood wrote:
> Hi Guys,
> 
> I'm getting an error thrown trying to delete an expired DHCP lease.
> 
> Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
> allocate 2 bytes) in /usr/local/www/status_dhcp_leases.php on line 58
> 
> Line 58 reads:
> $leases_contents = file($leasesfile);
> 
> Any ideas?

Looks like you're hitting PHP's memory limit (128 MB in this case).  Is
that a really large leases file?

Paul



_______________________________________________
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


[Attachment #5 (text/html)]

20 or so leases. &nbsp;They don&#39;t really need to be there; I&#39;ve got a windows \
server handling dhcp. &nbsp;They are still listed there when pfsense was handling \
dhcp. Guess I can always up the memory limit for PHP.<br><br>--<br>Michael D. \
Wood<br>ITSecurityPros.org<br>www.itsecuritypros.org<br><br>----- Reply message \
-----<br>From: &quot;Paul Gear&quot; &lt;paul@gear.dyndns.org&gt;<br>To: \
&lt;list@lists.pfsense.org&gt;<br>Subject: [pfSense] Error deleting expired DHCP \
lease<br>Date: Sun, Aug 19, 2012 4:38 am<br><br><br>On 19/08/12 16:28, Michael D. \
Wood wrote:<br>&gt; Hi Guys,<br>&gt; <br>&gt; I&#39;m getting an error thrown trying \
to delete an expired DHCP lease.<br>&gt; <br>&gt; Fatal error: Allowed memory size of \
134217728 bytes exhausted (tried to<br>&gt; allocate 2 bytes) in \
/usr/local/www/status_dhcp_leases.php on line 58<br>&gt; <br>&gt; Line 58 \
reads:<br>&gt; $leases_contents = file($leasesfile);<br>&gt; <br>&gt; Any \
ideas?<br><br>Looks like you&#39;re hitting PHP&#39;s memory limit (128 MB in this \
case). &nbsp;Is<br>that a really large leases \
file?<br><br>Paul<br><br><br><br>_______________________________________________<br>List \
mailing list<br>List@lists.pfsense.org<br>http://lists.pfsense.org/mailman/listinfo/list<br>




_______________________________________________
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic