Freeradius Proxy

Alan DeKok aland at deployingradius.com
Fri Jan 24 15:28:39 UTC 2025


On Jan 23, 2025, at 10:22 PM, Tharka Karunanayake <tharkak at nvision.lk> wrote:
> got it thanks. This radius server is something that has been developed 15 years ago by someone else

  It needs to be updated to v3 then, too. 

> and I was assigned to optimize it very recently. Currently it uses one Perl script to do everything and does not use modules. About 10% of the customers cannot get authenticate too. As a newbie I thought freeradius load balancer would resolve the problem. I will try for a solution and thanks again for pointing me in the right direction.

  Adding more capacity hides the fact that the system is slow.  My guess is that you can rewrite all of the Perl into v3 unlang.  At that point, performance should improve substantially.

  Also, you should investigate *why* the Perl script is so slow.  Even with Perl being inefficient, there is no reason for it to take 30+ seconds to process a packer.  That delay is almost always due to database issues.

  Odds are that fi you fix the database issues, the errors and authentication failures will go away.

  Alan DeKok.



More information about the Freeradius-Devel mailing list