[Kea-users] IP leases split across files

Peter Davies peterd at isc.org
Thu Apr 3 04:42:01 UTC 2025


Hi Jason,
    This file is created by the lease file cleanup process (LFC).

You can read more about this in the Kea ARM.
See: https://kea.readthedocs.io/en/kea-2.7.7/arm/lfc.html#the-lfc-process

Peter


On 02/04/2025 16.42, Jason Creviston wrote:
> Does anyone know why this happens?
>
> Yesterday there were no leases in the kea-leases4.csv file (only 
> headers), this morning there are a handful, and their expiry times are 
> for tomorrow - which would be correct if they just renewed or acquired 
> them. Their corresponding lease entries in kea-leases4.csv.2 are 
> expired as of this morning, except one that expires in about three 
> hours. Mac addresses and all other info is consistent across files 
> (aside from expiry epoch).
>
> On a related note: I've no idea how the 2^nd  file even gets created. 
> While testing, before rolling out to production, I'd noticed this and 
> deleted the "csv.2" versions, but they always come back.
>
> -rw-r--r--  1 _kea _kea   1653 Apr  2 14:16 kea-leases4.csv
> -rw-r--r--  1 _kea _kea  28329 Apr  2 13:50 kea-leases4.csv.2
> -rw-r--r--  1 _kea _kea    377 Apr  2 13:40 kea-leases6.csv
> -rw-r--r--  1 _kea _kea   1532 Apr  2 13:35 kea-leases6.csv.2
>
>
> Thanks,
>
>
> *Jason Creviston*
> Sr. Network Administrator
> P: 765-795-9305 2 S. West Street – P.O. Box 237, Cloverdale, IN 46120
> Book an appointment with me! 
> <https://outlook.office365.com/owa/calendar/JasonCreviston@weendeavor.com/bookings/>
> 		
> weEndeavor.com <http://weendeavor.com/> 	GigTel.com 
> <http://gigtel.com/> 	EndeavorIT.com <http://EndeavorIT.com>
> CONFIDENTIALITY NOTICE: The information in this Email and my 
> attachments are confidential and may be privileged. This Email is 
> intended solely for the named recipient or recipients. If you are not 
> the intended recipient, any use, disclosure, copying or distribution 
> of this Email is prohibited. If you are not the intended recipient, 
> please inform us by replying with the subject line "Wrong Address" and 
> then delete this Email and any attachments. Endeavor Communications 
> uses regularly updated anti-virus software in an attempt to reduce the 
> possibility of transmitting computer viruses. We do not guarantee, 
> however, that any attachments to this Email are virus-free.
>
>
-- 
Peter Davies
Support Engineer
Internet Systems Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250403/41c307e3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codetwo-signature-logo-endeavor_1c9b8f6f-f797-4b22-a7d8-b9c8f1b0c327.png
Type: image/png
Size: 1897 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250403/41c307e3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codetwo-gigtel-logo2_e109b7e4-b185-40fc-94f2-947f96c612cf.png
Type: image/png
Size: 1039 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250403/41c307e3/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: endeavor-it-signature-2_cad37e9b-ad7b-4219-a677-f37914c8d32a.png
Type: image/png
Size: 1214 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20250403/41c307e3/attachment-0002.png>


More information about the Kea-users mailing list