Cannot increase open file descriptors above 1024

Ibrahemoo Ghost ibrahemooghost at gmail.com
Thu Nov 17 19:11:47 UTC 2022


I tried and it does not increase by itself, I had to also increase it
on /lib/systemd/system/freeradius.service.

[Service]
LimitNOFILE=4000

but after that the freeradius service wont start, and that's why I thought
there is internal limit in freeradius for the file descriptors.


On 17 Nov 2022 Thu at 9:42 PM Pablo Umanzor <info at redlibre.cl> wrote:

> may be you can increase on /etc/security/limits.conf
>
> the values
>
> nofile > 1024
>
> to solve the issue on OS Linux
>
> Best Regards
> Pablo Umanzor
>
>
> El jue, 17 nov 2022 a las 13:04, Ibrahemoo Ghost (<
> ibrahemooghost at gmail.com>)
> escribió:
>
> > I use FreeRADIUS Version 3.0.20 as both proxy and (auth/acct) server.
> > I have more than 80 realms with over 180 clients connected. Every one
> > of them is redirecting to a different site file with separate sql
> > module to a seperate database in the same db server.
> >
> > My problem is with this large amount of databases and tables i hit the
> > fixed limit of 1024 open file descriptors and the radius.log file
> > shows:
> > mysql error: can't create unix socket (24)
> >
> > I double checked with:
> > ls /proc/${freeradius_pid}/fd | wc -l
> > it prints 1024 that's why I am sure its problem with the open files limit
> >
> > I tried to increase it manually but with no luck at all.
> > Whenever I increase it the freeradius server stops working.
> >
> > So is there something I can do to increase the file descriptors limit ?
> > Or am I doing something wrong?
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> >
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list