FR 3.0.21 : Failed adding proxy socket: Too many open sockets

Alan DeKok aland at deployingradius.com
Tue Aug 18 17:07:21 CEST 2020


On Aug 18, 2020, at 11:03 AM, Arnaud LAURIOU <arnaud.lauriou at renater.fr> wrote:
> Just a precision, I added the same src_ipaddr for each home_server but several udp sockets are
> still created :
> Tue Aug 18 16:53:02 2020 : Info:  ... adding new socket proxy address 194.57.7.78 port 39252
> Tue Aug 18 16:53:51 2020 : Info:  ... adding new socket proxy address 194.57.7.78 port 43055
> Tue Aug 18 16:54:48 2020 : Info:  ... adding new socket proxy address 194.57.7.78 port 59876
> Tue Aug 18 17:01:21 2020 : Info:  ... adding new socket proxy address 194.57.7.78 port 38393
> 
> Is there something else to do to share this src_ipaddr ?

  No.  If you have not set src_ipaddr before, then it adding it now won't change things.

  I suspect that one of your home servers is down.  Limitations in RADIUS mean that the server can only send 256 packets on one socket before it needs to open a new socket.  So if a home server is down or slow, it might very well use 256 packets & 256 sockets, just to talk to one home server.

  You may have to edit src/lib/packet.c as I suggested before.  But even that may not help if one of the home servers is down.

  Alan DeKok.




More information about the Freeradius-Users mailing list