MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Spacedust on 2013-05-02, 17:22:15

Title: Traffic counting does not work in latest upload !
Post by: Spacedust on 2013-05-02, 17:22:15
Again - I got 0 MB on all customers. While it was working well in previous editions.

Mustafa can you check it out ?

Logs and stats are working ok so what's the reason ?
Title: Re: Traffic counting does not work in latest upload !
Post by: MRatWork on 2013-05-02, 19:44:17
I am not sure about it. I think no code changed related to 'read' traffic for displaying on panel.

Kloxo try 'read' data from 'client' table on 'kloxo' database for this 'usage'. Still investigation why this not work.
Title: Re: Traffic counting does not work in latest upload !
Post by: Spacedust on 2013-05-02, 20:04:19
Quote from: "MRatWork"
I am not sure about it. I think no code changed related to 'read' traffic for displaying on panel.

Kloxo try 'read' data from 'client' table on 'kloxo' database for this 'usage'. Still investigation why this not work.

It might be related to our "ionice -c3 -n7 du -s" code
Title: Re: Traffic counting does not work in latest upload !
Post by: MRatWork on 2013-05-02, 22:49:06
Quote from: "Spacedust"
Quote from: "MRatWork"
I am not sure about it. I think no code changed related to 'read' traffic for displaying on panel.

Kloxo try 'read' data from 'client' table on 'kloxo' database for this 'usage'. Still investigation why this not work.

It might be related to our "ionice -c3 -n7 du -s" code
I don't think so. But, I will investigate for this. Maybe need more time because my time split 2 jobs for Kloxo-MR's bug-fixes and start for Arlia.
Title: Re: Traffic counting does not work in latest upload !
Post by: Spacedust on 2013-05-02, 23:16:29
Also investigate why adding/removing domain/clients works so slow on my system. Maybe we should update lxphp to something much faster like 5.3 or 5.4 ?
Title: Re: Traffic counting does not work in latest upload !
Post by: MRatWork on 2013-05-03, 12:38:54
I was change to awstats (nginx-proxy) and then run 'sh /script/fixtraffic --day=1440'. Traffic back to Kloxo-MR panel.
Title: Re: Traffic counting does not work in latest upload !
Post by: Spacedust on 2013-05-03, 15:28:50
Quote from: "MRatWork"
I was change to awstats (nginx-proxy) and then run 'sh /script/fixtraffic --day=1440'. Traffic back to Kloxo-MR panel.

I use webalizer
Title: Re: Traffic counting does not work in latest upload !
Post by: Spacedust on 2013-05-03, 16:32:28
Traffic is back today ;) Probably scavenge fails on first day of the month.