radmin stats home_server command always reporting zero requests
Alan DeKok
aland at deployingradius.com
Thu Oct 3 14:44:17 UTC 2024
On Oct 3, 2024, at 10:25 AM, Paul Moser via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> I'm seeing the radmin stats home_server command with IP address and port arguments always report zero requests. The responses, last_packet and various elapsed metrics are incrementing as expected. Access and accounting requests both seem to be affected.
>
> I've rolled back to 3.2.4 and the requests metric increments as expected(*), but it does not with 3.2.5 or 3.2.6
:(
We had tested the change, but apparently not enough. We're looking for a QA person to help.
> The changelog for 3.2.5 does indicate that there was a bug fix around statistics:
>
> * Fix packet statistics. Stop double counting some packets,
> and track packet statistics even if a socket is closed.
>
> (*) My assumption is/was that the request metric should increment with every packet to be sent to a home server and that all things being good (no drops, in-flight packets etc) requests should equal responses (or rather responses should equal requests) but my understanding of what the requests metric is might not be correct.
The metrics should increment with every packet sent to a home server. Request should mostly equal responses, but the counters may be delayed.
We'll take a look.
Alan DeKok.
More information about the Freeradius-Users
mailing list