performance issues freeradius 2.1.12

khouzam yaghi khouzam.yaghi at gmail.com
Wed Mar 30 11:47:07 CEST 2016


the php script calculate the overall quota for the user, the monthly and
the daily , each time i got an interim update for a user i added the
acctinputoctet and acctoutputoctet to the monthly and daily quota (daily
quota is to be reset everyday at 12 midnight) and it checks if the users
exceeds his daily or monthly quota it will decrease his speed as specified
in the database, the script also take care of the free time, if the isp
specify a freetime , the server will not add the acctinputoctet and
acctoutputoctet to the quota at freetime.

is it better to use perl instead of php or what do you think is better??

what about receiving conflicting packets error (only from one nas out of 15
nases). is it the nas that is overloaded or the server is slow?

On Wed, Mar 30, 2016 at 10:12 AM, <A.L.M.Buxey at lboro.ac.uk> wrote:

> Hi,
>
> > hi i have around 10k users, i am creating a module for each
> > acct-status-type and this module will call a php script in the accounting
> > section, it is as follow
>
> what does the PHP script do? any time you fire up an external script
> there is a performance hit.
>
> (and does this need to be done in 100% real time? you could use eg
> buffered-sql
> virtual server and run these things in almost real time with no hit to the
> real-time
> authentication...?)?
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list