[pfSense Support] dhcp and arp list errors

2009-06-09 Thread anders
Hi

Does anyone have an explanation/solution to these errors: 
When choosing DHCP leases I get the following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 35 bytes) in /usr/local/www/diag_dhcp_leases.php on line 74
When choosing ARP Tables I get the following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 35 bytes) in /usr/local/www/diag_arp.php on line 59

Kind regards Anders




-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread Gary Buckmaster

and...@fiberby.dk wrote:

Hi

Does anyone have an explanation/solution to these errors: 
When choosing DHCP leases I get the following error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 35 bytes) in /usr/local/www/diag_dhcp_leases.php on line 74
When choosing ARP Tables I get the following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 35 bytes) in /usr/local/www/diag_arp.php on line 59

Kind regards Anders




-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org


  
It would be helpful to know what version of pfSense you're seeing this 
on, what kind of system you're using and how much memory usage you have. 



-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread Jim Pingle
and...@fiberby.dk wrote:
 Hi
 
 Does anyone have an explanation/solution to these errors: 
 When choosing DHCP leases I get the following error:
 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
 allocate 35 bytes) in /usr/local/www/diag_dhcp_leases.php on line 74
 When choosing ARP Tables I get the following error:
 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
 allocate 35 bytes) in /usr/local/www/diag_arp.php on line 59
 
 Kind regards Anders

It would have to be enormous, but I suppose this could happen with an
extraordinarily large dhcpd.leases file.

It's used to populate both of those pages.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



SV: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread anders
-Oprindelig meddelelse-
Fra: Gary Buckmaster [mailto:g...@centipedenetworks.com] 
Sendt: 9. juni 2009 15:33
Til: support@pfsense.com
Emne: Re: [pfSense Support] dhcp and arp list errors

and...@fiberby.dk wrote:
 Hi

 Does anyone have an explanation/solution to these errors: 
 When choosing DHCP leases I get the following error:
 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
 allocate 35 bytes) in /usr/local/www/diag_dhcp_leases.php on line 74
 When choosing ARP Tables I get the following error:
 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
 allocate 35 bytes) in /usr/local/www/diag_arp.php on line 59

 Kind regards Anders




 -
 To unsubscribe, e-mail: support-unsubscr...@pfsense.com
 For additional commands, e-mail: support-h...@pfsense.com

 Commercial support available - https://portal.pfsense.org


   
It would be helpful to know what version of pfSense you're seeing this 
on, what kind of system you're using and how much memory usage you have. 


-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org

I'm running 1.2.2 on this:
Super X7SBi
(http://www.supermicro.com/products/system/1U/5015/SYS-5015B-MF.cfm)
Xeon Dual Core
1Gb Ram
80Gb sata harddrive

I recently upgraded from 1.2, and haven't had this problem before.
I have a memory usage of 20%



-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread RB
On Tue, Jun 9, 2009 at 10:03, and...@fiberby.dk wrote:
 I'm running 1.2.2 on this:
 Super X7SBi
 (http://www.supermicro.com/products/system/1U/5015/SYS-5015B-MF.cfm)
 Xeon Dual Core
 1Gb Ram
 80Gb sata harddrive

 I recently upgraded from 1.2, and haven't had this problem before.
 I have a memory usage of 20%

I agree with Jim's statement on the large DHCP pool - could you tell
us how many clients you have on this?

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



SV: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread anders

On Tue, Jun 9, 2009 at 10:03, and...@fiberby.dk wrote:
 I'm running 1.2.2 on this:
 Super X7SBi
 (http://www.supermicro.com/products/system/1U/5015/SYS-5015B-MF.cfm)
 Xeon Dual Core
 1Gb Ram
 80Gb sata harddrive

 I recently upgraded from 1.2, and haven't had this problem before.
 I have a memory usage of 20%

I agree with Jim's statement on the large DHCP pool - could you tell
us how many clients you have on this?

Potentionally 1000-1200 clients.

I have another running 1.2.2
Super PDSMi+ 
(http://www.supermicro.com/products/system/1U/5015/SYS-5015M-MR+.cfm)
P4 single core
1Gb ram
2Gb Flash on module

At the moment it has 1033 dhcp-clients and has none of the listed problems.




-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: SV: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread Jim Pingle
and...@fiberby.dk wrote:
 Potentionally 1000-1200 clients.
 
 I have another running 1.2.2
 Super PDSMi+ 
 (http://www.supermicro.com/products/system/1U/5015/SYS-5015M-MR+.cfm)
 P4 single core
 1Gb ram
 2Gb Flash on module
 
 At the moment it has 1033 dhcp-clients and has none of the listed problems.


The size of the client pool isn't as important as the size of the
dhcpd.leases file itself.

Go to Diagnostics  Command and execute this:
ls -l /var/dhcpd/var/db/dhcpd.leases

I'd be interested in the output from the working and the broken system.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



SV: SV: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread anders
Emne: Re: SV: [pfSense Support] dhcp and arp list errors

and...@fiberby.dk wrote:
 Potentionally 1000-1200 clients.
 
 I have another running 1.2.2
 Super PDSMi+ 
 (http://www.supermicro.com/products/system/1U/5015/SYS-5015M-MR+.cfm)
 P4 single core
 1Gb ram
 2Gb Flash on module
 
 At the moment it has 1033 dhcp-clients and has none of the listed problems.


The size of the client pool isn't as important as the size of the
dhcpd.leases file itself.

Go to Diagnostics  Command and execute this:
ls -l /var/dhcpd/var/db/dhcpd.leases

I'd be interested in the output from the working and the broken system.

This is from the working system: -rw-r--r--  1 dhcpd  _dhcp  1252586 Jun  9 
21:30 /var/dhcpd/var/db/dhcpd.leases
15 minutes later: -rw-r--r--  1 dhcpd  _dhcp  1286101 Jun  9 21:46 
/var/dhcpd/var/db/dhcpd.leases
This is from the broken system: -rw-r--r--  1 dhcpd  _dhcp  39935156 Jun  9 
21:30 /var/dhcpd/var/db/dhcpd.leases
15 minutes later: -rw-r--r--  1 dhcpd  _dhcp  77714885 Jun  9 21:45 
/var/dhcpd/var/db/dhcpd.leases

I've found one malfunctioning device that was sending 1000pps out on the dhcp 
protocol. I shut it off..
The error is still there. Is there any way I can reset the dhcpd.leases file.

And by the way. Thank you for taking the interest:)

Anders



-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: SV: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread RB
On Tue, Jun 9, 2009 at 13:53, and...@fiberby.dk wrote:
 I've found one malfunctioning device that was sending 1000pps out on the dhcp 
 protocol. I shut it off..
 The error is still there. Is there any way I can reset the dhcpd.leases file.

Restart your DHCP service; it will take quite a while with that large
a lease file, but should clean it up to only the active leases.  A
much quicker alternative is to stop DHCP, remove the file, and restart
it, but that resets everyone's lease and will grant them all new
addresses.

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org



Re: SV: SV: [pfSense Support] dhcp and arp list errors

2009-06-09 Thread Jim Pingle
and...@fiberby.dk wrote:
 This is from the broken system: -rw-r--r--  1 dhcpd  _dhcp  39935156 Jun  9 
 21:30 /var/dhcpd/var/db/dhcpd.leases
 15 minutes later: -rw-r--r--  1 dhcpd  _dhcp  77714885 Jun  9 21:45 
 /var/dhcpd/var/db/dhcpd.leases
 
 I've found one malfunctioning device that was sending 1000pps out on the dhcp 
 protocol. I shut it off..
 The error is still there. Is there any way I can reset the dhcpd.leases file.
 
 And by the way. Thank you for taking the interest:)

That would do it, the dhcpd.leases file is larger than the memory a
single PHP process is allowed to take up in your case (32MB)

Stopping and restarting the dhcpd service may be enough, it is supposed
to clear out duplicate leases when it is reloaded. If the malfunctioning
device is shut off, it shouldn't continue to grow.

Status  Services, click the restart (|) button next to dhcpd.

Jim

-
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org