Many simmultaneos connection with Mysql - VOIP

Alan DeKok aland at
Wed Aug 9 23:22:56 CEST 2006

<thiago at> wrote:
> Hi I have two machines with freeradius and mysql, and the max number of sockets
> with freeradius and mysql is 256, have any trouble if I change that in the
> source code and compiled again?.

  No.  But it won't do what you want.  You have to change the kernel
to support more than 256 sockets.  The number in FreeRADIUS is just a
"best guess".

> And how I resolve this problem 
> Wed Aug  9 17:16:13 2006 : Error: rlm_sql (sql) in sql_accounting: stop packet
> with zero session length. [user '
> ', nas '']

  Make the NAS send real accounting packets?

> The Freeradius and the mysql is used for store the information of the ciscos
> gateways(voip)  and when load the traffic of information the freeradius died,
> anybody here have this problem?

  What version are you running?

  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Users mailing list