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

Arran Cudbard-Bell a.cudbardb at gmail.com
Wed Apr 29 17:17:57 CEST 2015


> On 29 Apr 2015, at 08:55, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Apr 28, 2015, at 5:04 PM, Rygl AleŇ° <ales at rygl.net> wrote:
>> We have ~1M of records in radacct table and all of them are on-line sessions.
>> That's the problem. I am cleaning closed sessions every 20s, which removes ~2k
>> records to the "historical" table. Maybe some partitioning or data split could
>> help here.
> 
>  Ah... 99% of the time people have 1M records, they're historical records.
> 
>  In your situation, you should throw more CPU / disk / memory at the problem.  Maybe sharding.  With 1M online users, you *don't* want to have a single point of failure.

Get rid of Maria, switch to REDIS 3.0.

-Arran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150429/00500175/attachment.sig>


More information about the Freeradius-Users mailing list