performance issues freeradius 2.1.12
khouzam yaghi
khouzam.yaghi at gmail.com
Wed Mar 30 14:37:54 CEST 2016
My cleanupdelay is set to 7 seconds, i am receiving alot of errors:
receiving conflicting packet from nas11 , only after rebooting this nas, it
will work fine, and after some hours , the error will come again,
Regarding the sql database can you post more information on how to deal
with it,
In my database each service has its own speed and after a specific limit it
will slow down( i.e 2MB after 1.5gb will drop to 1MB while 3MB after 2GB
will drop to 1.5MB)
This can be done using only sql database?
Is it better use perl instead php? Will it show a big difference?
On Wed, Mar 30, 2016 at 3:30 PM, <khouzamyaghi at gmail.com> wrote:
> My cleanupdelay is set to 7 seconds, i am receiving alot of errors:
> receiving conflicting packet from nas11 , only after rebooting this nas, it
> will work fine, and after some hours , the error will come again,
>
>
> Regarding the sql database can you post more information on how to deal
> with it,
>
> In my database each service has its own speed and after a specific limit
> it will slow down( i.e 2MB after 1.5gb will drop to 1MB while 3MB after 2GB
> will drop to 1.5MB)
> This can be done using only sql database?
>
> Is it better use perl instead php? Will it show a big difference?
>
> > On Mar 30, 2016, at 2:38 PM, Nathan Ward <lists+freeradius at daork.net>
> wrote:
> >
> > Hi,
> >
> >> On 30/03/2016, at 22:47, khouzam yaghi <khouzam.yaghi at gmail.com> wrote:
> >>
> >> 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??
> >
> > These things could be done directly with SQL to your database, which is
> what I’d do.
> >
> >> 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?
> >
> >
> > I don’t have enough information to answer that. It’s strange that it’s
> only that NAS, but, maybe that NAS just happens to be busy so there’s more
> chance it happens there.
> >
> > Is the server replying before the NAS retransmits the request packet?
> That would probably indicate packet loss in the downstream direction
> towards the NAS.
> >
> > Perhaps you can post a debug of this happening.
> >
> > --
> > Nathan Ward
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list