[ previous ] [ next ] [ threads ]
 From:  "James W. McKeand" <james at mckeand dot biz>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] Root beeing filled up by dhcp
 Date:  Fri, 26 May 2006 10:57:27 -0500
Roberto Greiner wrote:
> We are having a problem with DHCP filling up the m0n0wall filesystem.
> Under some circunstance (don't know exactly which one), DHCPd starts
> generating a large amount of files named dhcpd.leases{long number} in
> /var/db. Each of those files is small, but they quickly fill up the
> small space of the root system.
> We have tried tinkering a little with the default leases times, but
> going down to 24 hours didn't solve. As of now, we have it at 2 hours
> (the default value), and the system seems stable (but we did this
> change only 48 hours ago).
> The main function of the machine as of now is to serve as our
> gateway/DHCP/autentication server for our campus 802.11 structure.Our
> machine is serving an average number of 200 to 300 users, Captive
> portal enabled with the users database in a Radius server, DHCP, no
> PPTP nor IPSec. The server is installed in an HD, and the version of
> m0n0wall is updated to the current one. The machine gets an average
> CPU load of 5-15%, with 11% of used memory, and the WAN interface
> gets an average INPUT and OUTPUT load of 5Mbps each , with peaks
> reaching 10Mbps. 

If you have 200 - 300 users, I would suggest off loading the DHCP to a
more robust platform. The DHCPd in m0n0wall is intended for much smaller
environments. Someone correct me, if I am wrong...

James W. McKeand