Sudden surges in bandwidth

In order to correct the values (depending on how long you were running 1.29.3) would have to be manually fixed by editing:
/usr/local/directadmin/data/users/*/bandwidth.tally
and setting the httpd= values as well as the total on the far left of th tally entires.
The webalizer stats will show the correct values so you can get your data from there.​

So we need to edit ALL the bandwidth.tally files of all the users? Can you send a system-engineer? :p
 
We are running Freebsd 6.2 and since yesterday DA 1.29.4. Our server still shows the wrong cumulative figures. Does anyone have any suggestions please?
 
Hello,

This was the bug in 1.29.3, fixed for 1.29.4 (released shortly after 1.29.3 once found)
http://www.directadmin.com/features.php?id=761

The fix in 1.29.4 will only correct the logging from the time it's upgraded. The previous inaccurate bandwidth will remain unless reset.

To reset the whole server to 0, use:
Code:
echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queue
Note that this will lose even the valid bandwidth data.

There isn't a real easy way to fix it if you've been using 1.29.3 for a long time. The correct way is to edit each users bandwidth.tally file. From the bottom, take the total number (from the last 1.29.3 entry), and subtract the previous days total. Keep doing that going up the file (ignore the non-tally lines). Then you'd also want to adjust the apache usage on the numbers to the right of the first = character, which is only cosmtetic to show the users the breakdown. Resetting to 0 is definately easier.

John
 
Back
Top