Bandwidth doesnt reset

aleborg

Verified User
Joined
Nov 30, 2003
Messages
79
I know this has been up before but Im starting a thread anyway. Well, it doesnt seem that DA resets the accounts bandwidth. It has now gone 5 days since day 1 and the bandwidth is still like last month?
Is this done with cronjobs? If I run crontab -l as root nothing about bandwidth resetting is shown.
Neither do I find /usr/local/directadmin/data/task.queue
The directory is there but not the file task.queue.

Im running FreeBSD.
I really need to reset bandwidth.

edit/
In /var/cron/tabs/ i do find diradmin and there's cron jobs for reseting bandwidth. Although it seems it only resets for res13, every line is for user=res13 (a reseller). Res13 bandwidth still isnt reset. And the pathway it trying to use doesnt exists
/usr/local/directadmin/data/task.queue.da
 
Last edited:
Hello,

The reset is done via a cron job located in the /etc/crontab file. The command is:
Code:
echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queue
John
 
DirectAdmin Sales said:
Hello,

The reset is done via a cron job located in the /etc/crontab file. The command is:
Code:
echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queue
John
But as I wrote, I cant find the task.queue file.
 
I have exactly that same problem as well.

task.queue does not exist on the server
 
The task.queue file is a file used by DA to see what it has to do in the task run.
If it doesn't exist it means there's no work for DA to do.
If you issue the command John mentioned the file will be created, used by DA and than deleted again. Just like it should.

So it's the intention it doesn't exist...
 
I see. I did run command:
echo "action=reset&value=res13&type=reseller" >> /usr/local/directadmin/data/task.queue

The file was created, later it disappaired. Just as it should I guess.
But nothing seemed to have happend. I log in as admin, click the reseller account and then User Data.
I read:
Setting Current Usage Maximum Usage
Bandwidth (meg) 13047.6 30720

And then I login as the user, goto reseller statistics, and here it says:

Setting Current Usage Allocated Maximum Usage
Bandwidth (meg) 39973 202000 30720

Why are they different, and also, the reseller gets messages from the system saying that his bandwidth is too high.
 
Hello,

Yes, the task.queue file will dissapear every minute as the dataskq program finds it. Normally, you won't have one. If running the command doesn't work, then check /var/log/directadmin/errortaskq.log for possible causes (can't think of any at the moment). If you require more assistance in the matter, then send your IP, root password, admin login/pass to https://www.directadmin.com/clients/safesubmit.php and we'll take a look.

The resellers usage vs the resellers User account usage will be different. His reseller usage will show all usage for all users create by him under his account, while his User usage will only show what his own User account has used (his own domains).

John
 
Back
Top