__ Francis Augusto Medeiros-Logeay Oslo, Norway Sent from a mobile device / Enviado a partir de dispositivo móvel
On 16 Nov 2024, at 14:51, Alan DeKok <aland@deployingradius.com> wrote:
On Nov 16, 2024, at 4:53 AM, Francis Augusto Medeiros-Logeay <r_f@med-lo.eu> wrote:
I was, but I also tested with running radiusd as a service. Got the same results. Somehow the python module is blocking other threads
The Python interpreter has a global lock (GIL). So I suspect that's it.
Yup, I’ve seen that in the past people mentioned that.
Is there a special way to do it? What I do is that I send two authenticate requests, and see at the second never gets processed until the first one returns something to the client.
See radiusd.conf, "thread pool"
If Python doesn't work, maybe try Perl.
To be honest, I was thinking of biting the bullet and do it with a combination of unlang and rest and using exec in bash for polling the server. Would you recommend this approach instead of doing it in Perl? Best, Francis