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/jasoncrevis...@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
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to