Kea memory leak (radius)
we have 2 kea servers (1.4.0 P1) that work with one mysql server as the lease database. host-cache + flex_id + radius hooks loaded. Only one server is active.
My Users are stable, About 1330 users and + 50 new users each day.
If I reload the kea-dhcp4 process the memory goes down to 0.4%. the host-cache fills up pretty fast to 1330 records, most of my users has lease "renew-timer": 200.
From that point the memory consumption rises about 3% each hour
[root@kea1rvt log]# date Thu Aug 9 14:09:56 IDT 2018 [root@kea1rvt log]# ps -auxw | grep kea-dhcp4 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 21929 6.1 5.1 380612 200848 pts/1 S 12:36 5:46 /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
[root@kea1rvt log]# date Thu Aug 9 14:57:04 IDT 2018 [root@kea1rvt log]# ps -auxw | grep kea-dhcp4 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 21929 6.1 7.4 468052 288272 pts/1 S 12:36 8:40 /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
[root@kea1rvt log]# date Thu Aug 9 15:09:16 IDT 2018 [root@kea1rvt log]# ps -auxw | grep kea-dhcp4 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 21929 6.1 8.1 494848 315096 pts/1 R 12:36 9:25 /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
itay