Ticket #2211 (closed task: wontfix)
Domains/resellers statistics shows bigger values then AwStats
| Reported by: | marchaos | Owned by: | kilburn |
|---|---|---|---|
| Priority: | pending | Milestone: | ispCP ω 1.0.7 |
| Component: | Config Files | Version: | ispCP ω trunk |
| Severity: | Don't know | Keywords: | |
| Cc: |
Description
71.79 Mb in domain statistics, 30.88 Mb in AwStats?. This need to be checked more.
Attachments
Change History
comment:5 Changed 2 years ago by kilburn
- Owner set to kilburn
- Status changed from new to assigned
Ok, let's try to clarify things a little bit:
- Why have you attached 3 times the same logfiles? Additionally, I asked for the logs from the same day (14.02) and the previous one (13.02), but you uploaded the 14.02 and 15.02 ones.
- The xxx-traf.log files are not needed, but thanks for providing them.
Now, with the logfiles you provided and a quick script, this is what comes out:
bender:logs marc$ awk '/14.Feb.2010/{t = t + $10} END{print "Total: " (t/(1024*1024)) " Mb"}' *.log*
Total: 73,2751 Mb
So awstats seems to be the issue here, not the ispcp traffic counter.
Additionally, although I don't think it's the issue at hand, traffic statistics may also show more traffic than awstats because in ispcp both aliases and subdomains traffics are accounted to the main domain, whereas I think that awstats doesn't count them (I'm not totally sure though). Does this domain have subomains and/or aliases?
comment:6 Changed 2 years ago by marchaos
This domain doesn't have any subdomains and/or aliases. It's 3 parts of one rar file because max upload size is 250 Kb.
comment:8 Changed 2 years ago by marchaos
I look at other domain: 11.02.2010 - domain web: 1.34 Mb, awstats: 1.33 Mb; 12.02.2010 - domain web: 1.66 Mb, awstats: 1.79 Mb; 13.02.2010 - domain web: 1.30 Mb, awstats: 885.12 Kb; 14.02.2010 - domain web: 4.39 Mb, awstats: 4.29 Mb. Looks better.
First domain with wrong statistics have joomla caching system (I see folder cache inside the site): 11.02.2010 - domain web: 106.52 Mb, awstats: 73.61 Mb; 12.02.2010 - domain web: 114.22 Mb, awstats: 76.89 Mb; 13.02.2010 - domain web: 77.98 Mb, awstats: 51.81 Mb; 14.02.2010 - domain web: 71.79 Mb, awstats: 30.88 Mb. Can caching system make wrong statistics?
comment:9 Changed 2 years ago by kilburn
This domain doesn't have any subdomains and/or aliases. It's 3 parts of one rar file because max upload size is 250 Kb.
But they contain exactly the same stuff inside...
Can caching system make wrong statistics?
AFAIK it can not....
comment:10 Changed 2 years ago by marchaos
http://en.wikipedia.org/wiki/Rar It's 3 parts of one archive. It's only one archive. Nevermind.
comment:11 Changed 2 years ago by aseques
I think that this might be related to #2097, basically if awstats is not run when apache logs are rotated, when is done through the cron, the logs might be already rotated.
comment:12 Changed 2 years ago by benedikt
- Priority changed from normal to pending
- Type changed from defect to task
- Component changed from Frontend (GUI) to Config Files
- Milestone changed from Working to ispCP ω 1.0.5
comment:14 Changed 23 months ago by benedikt
- Status changed from assigned to closed
- Resolution set to wontfix
I close this bug as wontfix, because we changed a lot regarding to traffic in 1.0.5. If it still remains in 1.0.5 please reopen.




http://www.isp-control.net/forum/thread-9626.html