High CPU usage from dhcrelay

Started by andrew_241, April 23, 2024, 07:19:12 AM

Previous topic - Next topic
Is anyone else experiencing this? dhcrelay in 24.1.6 is pegged at 100 percent usage. The NIC (igb1) is passed through to the OPNsense VM guest (running on Windows Server 2022 in Hyper-V) and has the LAN plus two VLANs running through it. 'Activity' shows that it is the LAN's dhcrelay process.

I don't even need to be running the DHCP relay on the LAN, since the DHCP servers are on the same subnet.

It was probably looping packets all day due to that setup?


Cheers,
Franco

Quote from: franco on April 23, 2024, 12:05:43 PM
It was probably looping packets all day due to that setup?


Cheers,
Franco

Heh, probably, though I didn't do any packet capture to verify.

I had same problem. then I deactivated relay on same network as the dc(dhcp server) and the problem is solved


Gesendet von iPhone mit Tapatalk Pro

Thank you very much - this solved my issue!

Quote from: Shcshc on April 24, 2024, 06:43:57 AM
I had same problem. then I deactivated relay on same network as the dc(dhcp server) and the problem is solved


Gesendet von iPhone mit Tapatalk Pro

I have exactly the same problem: dhcrelay uses 100% CPU and not relaying DHCP packets. I have multiple VLANs with Microsoft DHCP Failover setup, this was worked great before 24.1.6, and nothing was changed in config. I am using Hyper-V Server, OPNsense is running in a virtual machine with multiple interfaces. DHCP Guard was not enabled at all.

As I said 100% CPU means you are looping DHCP packets.


Cheers,
Franco

Same issue with Business Edition 24.4 and ESXi virtualization :-\ Looping packages sounds right...  have imported a  snapshot version from before and will investigate this next week. I don't know what I need to reconfigure yet.