Re: udp sockets and proxy servers
Hello Arran, Alan and colleagues!
Hmmm, well that's problematic. Could you open a GitHub issue.
-Arran
Ok, done. I opened issue at Github: "FreeRadius 3.0.9 tries to open more and more sockets for proxy server until crash" #1155 I understand thats FR is free software but I hope may be someone helps we with a patch or advise should I try to build 3.1.x or other versions to get CoA proxy stable with lots of home servers. Thank you in advance for your help! Best Regards, Serge Komaroff
I'm tring to run 3.0.9 configuration with about ~1500 clients and home servers (as I have about 1500 WLCs in the network and I try to proxy CoA packet to WLCs via radius).
Radius server tries to open as many sockets as possible doing like that:
Info: ... adding new socket proxy address * port 46527 Info: ... adding new socket proxy address * port 38003
It happens slowly or fast and it depends of load as I see it... And then after about 256 sockets server quits from running with error:
Is that with TLS? Or TCP? We didn't predict that people would use 256 or more clients with CoA and TCP.
But it *should* work for UDP. There's no reason for it to open many proxy sockets. It just needs one or two.
Alan DeKok.
Hello Alan! The case is that I'm using UDP only, no any TLS now, just common pap/sql and Acc Req/Accept/CoA Proxy... SQL sockets is ok and no overflow there (it even close some connections to DB when don't need it).
But it looks like FR tries to create as many sockets as home servers and it happen slowly - depends on load. When I limit to 200 home servers - it stopped to create sockets at number about 153... In case it overcome 256 it drops soon with that error...
Best Regards, Serge Komaroff
participants (1)
-
Sergey Komarov