Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-2011, 09:02 PM
Junior Member
 
Posts: 9
Default Statistics wrong?

Hi everyone,

I run a small personal email server using Zimbra and I noticed the stats are wrong as far as I know anyways.

for example the last 48 hours shows spikes of 30,000 messages.
and message volumes up into the 135,000,000 bytes.

I have a few domains and about half a dozen accounts, there is very little spam activity going and the server itself is just a dual core atom with 2GB of ram, I don't think it could handle 30,000 messages in a day

Any ideas?

I am using ZCS 6 on Debian 64 bit.

Thank you.
Reply With Quote
  #2 (permalink)  
Old 03-13-2011, 04:06 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Default

A quick thought, did you try a "su - zimbra; zmcontrol stop/start" to see if that could help?
Reply With Quote
  #3 (permalink)  
Old 03-13-2011, 11:50 AM
Junior Member
 
Posts: 9
Default

Hi Fyd,

Thanks for the reply.

Yes, I have a nightly backup that stops zimbra, does a lvm snapshot and then starts zimbra.

Have a great day.
Reply With Quote
  #4 (permalink)  
Old 05-09-2012, 12:56 PM
Junior Member
 
Posts: 6
Default

I see this same spiky behavior in my statistics. I have no idea where its coming from, I have reviewed various logs looking for activity during the time windows when spikes are reported to occur, but there is nothing in the logs. The spikes are orders of magnitude higher than normal activity. I logged a support request and they were never able to figure it out either.
Reply With Quote
  #5 (permalink)  
Old 05-09-2012, 09:51 PM
Intermediate Member
 
Posts: 16
Default

Same on my installation. I don't pay a whole lot of attention to it. The daily summary that gets emailed is accurate and far more useful.
Reply With Quote
  #6 (permalink)  
Old 05-10-2012, 06:48 AM
Junior Member
 
Posts: 6
Default

Yes, the daily reports are accurate, and are useful for daily detail, but are not useful for revealing any trends over time. The graphs _would_ be useful for visualizing trends if the erroneous spikes didn't exist. With the spiky behavior, the graphs are useless, because the spikes skew the data so severely. Visualizing trends through weeks/months would be useful for me. I'm not inclined to extract and recompile data from the daily emails... especially when the graphing function already exists, but is just not usable. I'd be curious to know if you are on debian(Ubuntu) 64bit, because the original poster mentioned he was, as am I (8.04 LTS). Perhaps this anomaly only exists on that platform for some reason...
Reply With Quote
  #7 (permalink)  
Old 05-10-2012, 05:23 PM
Intermediate Member
 
Posts: 16
Default

Running CentOS 6.latest 64-bit under vmware esxi 4
Reply With Quote
  #8 (permalink)  
Old 05-10-2012, 07:42 PM
New Member
 
Posts: 3
Default

And mail volume is 135,000,000 bytes. I have a number of domains and half a dozen accounts, there is little spam activities, and the server itself is a 2GB of RAM, dual-core Atom, I do not think it can handle 30,000 messages a day, any ideas? I use the zero current in Debian 64-bit.
Reply With Quote
  #9 (permalink)  
Old 05-11-2012, 12:43 AM
Active Member
 
Posts: 34
Default

I think the statistics go wrong due to the log parsing method.

Lets look how mail traverses inside zimbra:
Inbound internet mail:
Mail arrives -> log
AV, Antispam queues -> log
Local delivery -> log

In/outbound internal mail
Local av loop -> log
Local delivery -> log

Outbound internet mail
Local av loop -> log
smtp delivery -> log


Stars mark log points

You can see the mail multiplying in statistics by factor of 2 or 3 per every mail, the count could be even more, maybe 3 for internal mail, 4 for internet.
So the totals count in statistics is wrong by factor of 2-4 and it's not easy to correct.
It would require rewrite on the report gathering side to fix it.

But it's not all that simple!

Another thing mixing statistics is nature of SMTP itself.
You can send email, but receiving server can request delay and retransmit(think postgrey).
This would log same message being sent again after few minutes, maybe even several times during same day before it was actually delivered.
Attached Images
File Type: jpg 6_MTA.5.1.2.jpg (45.5 KB, 24 views)
Reply With Quote
  #10 (permalink)  
Old 05-11-2012, 02:45 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

The 'problems' of counting mail traffic through an MTA are well known, the statistics produced by ZCS are based on an open source script called pfloggsumm. There's a section in the FAQ of the author's site about it: Pflogsumm Reports Double Traffic When Anti-Virus Scanner Used
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.