Accounting-Response taking too long

mustafa mujahid mustafa.mujahid at outlook.com
Mon Mar 5 20:12:32 CET 2018


Hi all,

Radius version : 2.2 (old, but reliable)

Ive recently ran into a problem with our accounting Radius server which have seen smooth sailing for a long time. Basically every night at 8pm a stop request is generated for all users and then consequently a start to change the package assigned to the customer. Currently our Radius is serving 19000 customers. The problem we are facing is that the NAS which is basically a session and resource controller sends the accounting-requests but the accounting-responses are taking from around 7 to 10 seconds from the time the Acct-requests come in to be dispatched to the NAS as observed from wire shark, please see attachment.

The same is reflected in the radius accounting logs. The problem that occurs due to this is that the NAS when it doesn't receive the response in the given time keeps retrying, sending accounting-requests again and again and eventually errors with retries expired and fails.

Should I increase the ''max_requests'' in radiusd.conf, currently it set to 2048. The comments say it should be 256 multiplied by the number clients. Now by clients does it mean the actual number of customers in my case or the number of NASs that connect to the Radius server. (Apologies for the lack of understanding)

Accounting responses usually take milliseconds but I don't know why it's taking so long in this case. If I could be guided in how to troubleshoot this or any assistance in this regard would be greatly appreciated.

BR/Mustafa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture1.PNG
Type: image/png
Size: 9092 bytes
Desc: Capture1.PNG
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180305/f0ff1ccf/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture2.PNG
Type: image/png
Size: 9160 bytes
Desc: Capture2.PNG
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180305/f0ff1ccf/attachment-0003.png>


More information about the Freeradius-Users mailing list