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 10-09-2009, 06:20 AM
Special Member
 
Posts: 151
Default weird disk usage and message volume

I am experiencing two problems on my zimbra server, and I think they are inter-related.

1) once a week or so, my server sends out notifications to me that the disk space is getting critical. I get about 20-50 emails, all with increasing percentages of disk usage, all the way up to 100%

By the time I've reviewed these emails and log into the system, it is back down to around 55% where it usually is.

2) My message volume statistics show 15,000 - 30,000 messages, with monthly stats in the millions. There is no way my server's users are actually sending out that many, we have less than 100 accounts on it. So how do I track down how or who is sending these messages?

I appreciate anyone's thoughts in helping me figure this out.

thanks!
Reply With Quote
  #2 (permalink)  
Old 10-09-2009, 10:36 AM
Moderator
 
Posts: 1,147
Default

Try looking in the log files like /var/log/zimbra.log or /opt/zimbra/log/mailbox.log. Anything going through the MTA should be in /var/log/zimbra.log...
Reply With Quote
  #3 (permalink)  
Old 10-09-2009, 10:58 AM
Special Member
 
Posts: 151
Default

Thanks for the tips, I've been looking at the logs, but they are very large files, and I dont 100% know what I'm looking for.

Do I look for some kind of outgoing message statement, then do a count on that by user or something?

Just need to figure out a little more about what I'm looking for in the logs to figure this out.

There is no user sending status flag or count in the statistics screens someplace right?

That would be a nice feature, keep track of which user is using most of the system etc.
Reply With Quote
  #4 (permalink)  
Old 10-09-2009, 11:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by phingers View Post
There is no user sending status flag or count in the statistics screens someplace right?
You should be receiving a daily mail report to the Admin account that details the message counts for users.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 10-09-2009, 11:09 AM
Special Member
 
Posts: 151
Default

Code:
cat zimbra.log | grep to= | wc -l
Seems to show from Sep 18 to Oct 9

The server sent out 62495 emails

Seems rather high, so now I just weed through that list and look for suspicious ones?
Reply With Quote
  #6 (permalink)  
Old 10-09-2009, 11:14 AM
Moderator
 
Posts: 1,147
Default

This should give you the log lines of when a message was sent out if you have Zimbra's amavis enabled:
Code:
cat zimbra.log | grep "Passed CLEAN, LOCAL"
As for per user statistics, you can either build a script that parses it, or just look at the account sizes in the server specific stats page and estimate from that.

Code:
cat zimbra.log | grep to= | wc -l
will show all messages, both sent and received.
Reply With Quote
  #7 (permalink)  
Old 10-17-2009, 08:47 PM
Special Member
 
Posts: 151
Default

So the issue just happened again, disk space spun up from 61% to 100%, zimbra seems to stop and restart itself.

I check the zimbra log files for sent

the clean local search seems to find about 10 messages or so

and the count of send/recieved wc -l command came back with 90,598

So I guess I'll see what the mail report says in the morning? 90k seems very high, esp for a sat.
Reply With Quote
  #8 (permalink)  
Old 10-17-2009, 08:57 PM
Outstanding Member
 
Posts: 594
Default

Backup does happen every weekend. You might want to have a look there as well. There are 2 entries incase you are using standard backup. It takes full backup and then later deletes one month old backup. It might be the case that backup fills all space and then later deletion for old ones frees up space.
Reply With Quote
  #9 (permalink)  
Old 02-01-2010, 05:57 AM
Special Member
 
Posts: 151
Default

So I've seen this issue happen during the day a few times, but mostly at night from around 3-5am, so my hunch is that it is the backups, but I don't know why it would be happening during the day.

How do I adjust the backups etc? To correct for this? Add another disk and put the backups there?
Reply With Quote
  #10 (permalink)  
Old 07-20-2010, 05:13 AM
Special Member
 
Posts: 151
Default

I'm still having this issue although less frequently now.

Any thoughts, it is just totally bizarre to receive about 150 disk warning messages, watching the disk usage via email go from 56% to 100% - seeing zimbra restart the services itself.

The emails come in about 2 hours later, and when I log in to check things out the server seems fine, disk space is at 56%.
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.