On 11/20/2017 4:27 AM, Marcin Siodelski wrote:
> On 18.11.2017 17:39, Mike wrote:
>> On 11/17/2017 11:58 AM, Chaigneau, Nicolas wrote:
>>>
>>>
>>>
>>> So this is confirmed: LFC is really not executed anymore at some point, for 
>>> a reason yet to be determined.
>>>
>>> I'll have a look at the changes between Kea 0.9.1 and 1.2.0.
>>>
>>>
>>> If you think of anything that could help, I'm all ears :)
>>>
>>
>>
>> I'm not sure if this will help, but I have seen a similar (the same?)
>> issue.   LFC has not worked for me in a very long time.  To the point
>> that I wrote a script (below) to clean out the old leases, run by cron
>> weekly.
>>
>> The lfc config portions of kea.conf are:
>>
>>      "lease-database": {
>>              "type": "memfile",
>>              "persist": true,
>>              "name": "/var/db/kea/kea-leases4.csv",
>>              "lfc-interval": 4000
>>      },
>>
>> and
>>
>>      "lease-database": {
>>              "type": "memfile",
>>              "persist": true,
>>              "name": "/var/db/kea/kea-leases6.csv",
>>              "lfc-interval": 4000
>>      },
>>
>> Maybe I have some simple error in the config that my eyes keep
>> overlooking, I don't know.
>>
>> In any case, here's the script I run weekly:
>>
>>
>> [snip]
>>
> 
> Mike,
> 
> Were you using "logrotate" when you saw the issue with kea not executing
> LFC?
> 

Apologies for not responding sooner, I was away until today.

I'm running Kea on OpenBSD 6.2, so no logrotate.

I do use my own script to rotate logs.  The script mv's the log file to
a new location, creates a new log file and sends HUP to syslogd.



_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to