hello someone posted this subject
This is the script i run to check the queues and to change the speed:
:local traf 0;
/queue simple
:foreach i in=[find dynamic=yes] do={
:set traf [get $i total-bytes]
:if ($traf > 500715200) do = {
set $i max-limit= 256000/256000
}
}
The problem was that the queue counts only the upload bytes the answer for the this problem was to change the queue type from default-small to default but the queue is created dynamic from radius manager how can we changeit to default if it’s dynamic andanother thing is when the user log out and re login the counters are reset to zero and recounts the 500mb again and give the user the 512 speed thx for ur replies