Thanks! but backend rest answerd only code 200 and doing nothing (for auth/acct). If i run freeradius with "-X" , i not see any duplicate message and all delay 0.9 sec . in ab test backed rest is fast ... On Tue, 23 May 2017 at 14:40, Alan DeKok <aland@deployingradius.com> wrote:
On May 23, 2017, at 1:35 AM, Dmitry Yashin via Freeradius-Users < freeradius-users@lists.freeradius.org> wrote:
hi, i used FreeRADIUS Version 3.0.13 with module rest, module rest always respond 200 (OK) no have any logics, for access request is fast ~ 0.05
sec.
for accounting request is always delay 1 sec.
The REST back-end is slow.
There is nothing in FreeRADIUS which magically waits 1s, but only for accounting packets.
Or, you've re-configured FreeRADIUS to do something that's taking a long time.
tcpdump 08:00:42.118052 IP 1.1.1.20.47219 > 2.2.2.126.radius: RADIUS, Access-Request (1), id: 0xa2 length: 384
Read the debug log as suggested in the FAQ, "man" page, web pages, and daily on this list.
Honestly, there is just no excuse for posting tcpdumps instead of reading the debug log.
Alan DeKok.