radiusd crashes. ASSERT FAILED src/main/threads.c[794]
Sergei Kodentsev
sergk at ic.vrn.ru
Fri May 23 07:00:24 UTC 2025
Hi,
On 23.05.2025 01:06, Alan DeKok via Freeradius-Users wrote:
> I'll take a look and see if I can reproduce this. But the underlying issue is that those modules are slow, and are blocking the server.
>
> It's possible to update the server so it doesn't hit this assertion, but the server will still be unable to make progress. It won't process packets, and it won't respond to packets.
>
> The only fix is to make sure that modules do not block the server.
Thank you.
In my opinion, an unanswered packet is better than a radiusd crash.
>
> The SQL databases which these modules are querying is taking 5-30 seconds to respond. No amount of poking FreeRADIUS will make the SQL database faster.
>
> Fix the SQL database so that it replies within a second, ideally much less. FreeRADIUS will then be able to operate normally.
>
I'll try to optimize the sql database.
redards,
Sergey Kodentsev.
More information about the Freeradius-Users
mailing list