[4.0.x] radiusd process CPU spikes at 400% when trying to do DHCP concurrently

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Thu Dec 19 16:38:50 CET 2019


Hello,


Using FreeRADIUS 4.0.x (HEAD from today), I've tried to set up a dummy (very dumb) DHCP server, which offers random IP addresses (unlang only).
This is with a build in non developer mode (configured with --disable-developer), with default configuration (except for the dummy DHCP virtual server - see file attached).


Sending a few DHCP Discover packets (about 100 is enough) concurrently:

The radiusd process CPU spikes up to 400% (8 CPU are available), and then stays here forever.
If the packets are sent sequentially there is no problem.


Something's definitely wrong, but I don't know how to look into this...

I can reproduce this behaviour easily, so I can test things if you want me to.


Regards,
Nicolas.


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frd-dhcp-dummy
Type: application/octet-stream
Size: 2704 bytes
Desc: frd-dhcp-dummy
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20191219/1ad5b9cc/attachment.obj>


More information about the Freeradius-Devel mailing list