When the router's power Suddenly cut (power off) , the bandwidth usage of the current day resets to zero.
That make mistake in qouta of each user.
I try it many time.
Please help.
Notice:
For this reason i found a big difference between gargoyle and isp bandwidth usage.
Big problem with quota
Moderator: Moderators
Big problem with quota
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Big problem with quota
The only solution is to increase the frequency at which the bandwidth data is saved.
Currently it's every 4 hours I believe.
This comes with the risk of increasing wear levels on the flash storage.
How would you like to proceed?
Currently it's every 4 hours I believe.
This comes with the risk of increasing wear levels on the flash storage.
How would you like to proceed?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Big problem with quota
What happen to the memory if the frequency saved every 1 minute?
I think you can make the frequency time as option in gargoyle interface.
Is there any way to change the frequency time on my gargoyle ? ssh command or any thing ? I want it 1 minute at max.
I think you can make the frequency time as option in gargoyle interface.
Is there any way to change the frequency time on my gargoyle ? ssh command or any thing ? I want it 1 minute at max.
Last edited by Tareq on Sat Dec 26, 2015 11:06 pm, edited 1 time in total.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Big problem with quota
It's controlled by the Crontab I believe.
Flash storage generally has ~100,000 flash writes before it starts to degrade.
At 1 minute intervals, in 10 weeks you will exceed this number.
I wouldn't recommend it to be honest.
But, it's your device. Do as you please.
It won't be made an option due to the damage potential that it can cause.
Flash storage generally has ~100,000 flash writes before it starts to degrade.
At 1 minute intervals, in 10 weeks you will exceed this number.
I wouldn't recommend it to be honest.
But, it's your device. Do as you please.
It won't be made an option due to the damage potential that it can cause.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Big problem with quota
Ok thank you
Mabe i make it 15 minutes , if it work for 3 years thats good.
But how can i change it ? What is the command or what is the parameter which i change ? I never use ssh befoe.
Please help me
Mabe i make it 15 minutes , if it work for 3 years thats good.
But how can i change it ? What is the command or what is the parameter which i change ? I never use ssh befoe.
Please help me
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Big problem with quota
I'd recommend using WinSCP to log into the router and edit the files in a GUI.
The file at /etc/crontabs/root is the one you want to edit.
The line:
0 0,4,8,12,16,20 * * * /usr/bin/backup_quotas
Dictates that it should be backed up every 4 hours.
This is the format of a cron command.
If you need anything further please ask, I just won't be back onto a computer until tomorrow.
The file at /etc/crontabs/root is the one you want to edit.
The line:
0 0,4,8,12,16,20 * * * /usr/bin/backup_quotas
Dictates that it should be backed up every 4 hours.
Code: Select all
# ┌───────────── min (0 - 59)
# │ ┌────────────── hour (0 - 23)
# │ │ ┌─────────────── day of month (1 - 31)
# │ │ │ ┌──────────────── month (1 - 12)
# │ │ │ │ ┌───────────────── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
# │ │ │ │ │
# │ │ │ │ │
# * * * * * command to execute
If you need anything further please ask, I just won't be back onto a computer until tomorrow.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Big problem with quota
Is the data saved on a clean reboot (using the Reboot option in the System area)? Not sure if I've noticed losing quota data there (maybe in 1.8.0, but I've not checked in 1.9.0 since its been up for 59 days straight).
Re: Big problem with quota
Yes. A planned, clean reboot should save the data first.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.