Buffer read error when reading leases file.

Shawn Routhier sar at isc.org
Fri Nov 15 04:35:57 UTC 2013


I believe the v6 lease rotation patch first appeared in 4.2.4.

shawn

On Nov 14, 2013, at 8:01 PM, Steve wrote:

> Hi Glen,
> 
> Thanks, I'll give them a try.
> 
> The version I'm using is 4.2.2 which is up to date according to Debian's APT
> repository.  If this doesn't fix it, I'll have to compile the latest from
> source.
> 
> Thanks
> Steve.
> 
> 
> 
> -----Original Message-----
> From: dhcp-users-bounces+steve=iwwd.com at lists.isc.org
> [mailto:dhcp-users-bounces+steve=iwwd.com at lists.isc.org] On Behalf Of Neff,
> Glen
> Sent: Friday, 15 November 2013 12:16 AM
> To: Users of ISC DHCP
> Subject: SPAM-HIGH: RE: Buffer read error when reading leases file.
> 
> I haven't had your issue (but I might of had things continued), but I seem
> to remember something about the defaults for these values being
> problematically low & causing a lot of churn in the lease file.  These
> settings were recommended to me:
> 
> option dhcp-renewal-time 3600;
> option dhcp-rebinding-time 7200;
> allow leasequery;
> option dhcp6.info-refresh-time 21600;
> 
> -G
> 
> /*
> * Glen R. J. Neff
> * USD Lab Operations Infrastructure Team
> * glen.neff at emc.com
> *
> * EMC^2 == E^2
> */
> ________________________________________
> From: dhcp-users-bounces+glen.neff=emc.com at lists.isc.org
> [dhcp-users-bounces+glen.neff=emc.com at lists.isc.org] On Behalf Of Steve
> [steve at iwwd.com]
> Sent: Wednesday, November 13, 2013 6:46 PM
> To: dhcp-users at lists.isc.org
> Subject: Buffer read error when reading leases file.
> 
> Hi All,
> 
> I've been trying to debug why our dhcp-v6 service wasn't starting when this
> line appeared in syslog:
> 
> dhcpd: /var/lib/dhcp/dhcpd6.leases: file is too long to buffer.
> 
> Upon checking the file, I found it was a massive 6.2GB in file size!
> 
> This server handles a floating number of around 300-500 clients-devices, how
> on earth could the leases file grown this large?
> 
> Thanks
> Steve.
> 
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> 
> 
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list