Re: performance issues freeradius 2.1.12
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@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@daork.net> wrote:
Hi,
On 30/03/2016, at 22:47, khouzam yaghi <khouzam.yaghi@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
and if the server is not replying within 5 seconds (which is the nas timeout to retransmit the packet), why i am receiving this error from only this nas not the others. that's why i am not sure whats happening, if it actually the nas that is overloaded or the server is slow and not replying within 5 seconds. On Wed, Mar 30, 2016 at 3:37 PM, khouzam yaghi <khouzam.yaghi@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 Wed, Mar 30, 2016 at 3:30 PM, <khouzamyaghi@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@daork.net> wrote:
Hi,
On 30/03/2016, at 22:47, khouzam yaghi <khouzam.yaghi@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
On 31/03/2016, at 01:55, khouzam yaghi <khouzam.yaghi@gmail.com> wrote:
and if the server is not replying within 5 seconds (which is the nas timeout to retransmit the packet), why i am receiving this error from only this nas not the others. that's why i am not sure whats happening, if it actually the nas that is overloaded or the server is slow and not replying within 5 seconds.
Right now, only you have the information needed to answer these questions. Please post a debug like I asked, and others will be able to assist. If you are unable to post a debug, please do not keep asking these questions. -- Nathan Ward
participants (2)
-
khouzam yaghi -
Nathan Ward