OPNsense Forum

Archive => 25.1, 25.4 Legacy Series => Topic started by: pfry on February 05, 2025, 08:21:55 PM

Title: Kea unusual CPU utilization
Post by: pfry on February 05, 2025, 08:21:55 PM
I don't have a capture of the CPU figures - it wasn't terrible, but it was unusual. Restarting Kea calmed it down. Recommendations on what to capture if it happens again? The logs don't show anything unusual - just the "Lease File Cleanup" from the prior hour (~40 minutes prior). No related system logs.

Edit: Filling that out a bit, it looked to be eating 100% of one core for >15 minutes. Some sort of race, I imagine.
Title: Re: Kea unusual CPU utilization
Post by: reub on March 25, 2026, 05:44:03 PM
I'm also seeing unexpectedly high CPU that looks related to the kea-dhcp4 process. I don't know if it's the same as the issue shared above but in the interest of context, I'm replying here rather than starting a new thread.

Observed behavior:

My suspicion, given I have not seen many widespread reports of this, is that it is related to my configuration but I don't know if there are any diagnostics or other avenues I could pursue to determine the cause. I wanted to see if this is something anyone might have insight into before considering opening an OPNsense issue. If there is other information that might be useful to look further, please let me know. Thanks in advance for any help.
Title: Re: Kea unusual CPU utilization
Post by: newsense on March 26, 2026, 09:17:54 PM
Try taking out the vlans one by one and when you see the cpu drop it may be a worth comparing the settings in the one causing the CPU pegging to the others that don't