Freeradius 3.0.8 Can't create UNIX socket and Too many open files

Alan DeKok aland at deployingradius.com
Tue Apr 28 13:59:37 CEST 2015


On Apr 28, 2015, at 7:29 AM, Aleš Rygl <ales at rygl.net> wrote:
> I am playing with 3.0.8 version processing just Accounting
> Requests.The goal is get over more than 1.600 req/s. Up to 1000/req it
> is fine. MySQL DB has max_connections = 2048. It can run for half of a
> day and then it crashes accidentally: 

  It doesn't crash... it just says it can't open more files.

  Are you sure the system doesn't have file descriptor limitations in place?

http://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user

> ERROR: (1086380) detail.mobile: ERROR: Couldn't open file
> /var/log/freeradius/radacct/detail.mobile/queue-9/detail-2015042812:
> Failed calling dup(): Too many open files

  That's an error returned by the OS, not by FreeRADIUS.

  Fix your OS so that it allows FreeRADIUS to have more than 2048 files open.

  Alan DeKok.




More information about the Freeradius-Users mailing list