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 01-30-2010, 12:06 PM
Senior Member
 
Posts: 60
Default ZCS 4.5.7 CentOS5 - Enabled logger, system crashed

Greetings,

Short story long: Inherited environment.
Wanting to upgrade from Open Source ZCS 4.5.7 to 5.0.21 on CentOS5.

Disk at 67% of 100GB used. Not enough space to perform Zimbra backup locally.
Logger had been disabled for some time.
Logger db was over 51 GB. Stats last updated in Aug 2009.

Not realizing that there had been an issue previously,
I enabled the logger via the GUI. Disk usage started increasing.
It was growing at about 200 MB per second. Root partition rapidly went from 67% usage to 85% and climbing fast. I tried to find which directory was being written into. I think it was related to btmp file, but not sure.
Best guess is that it was trying to build the missing statistics graphs, etc.

mysqld was running at 100% cpu. Load average was holding at 4.
Then, just as I thought I was going to run out of disk space, it stopped.
The disk space was returned, but now the load average went from 4 to 10.
I had top running in one console window, and another window was slow to respond.

Before I could kill the logger, the system froze. It had run out of swap space, and the load average went to 40 before it died. Had to reboot. Ugh.

Any ideas what happened?

I found a wiki article on how to shrink the logger db:
Logger (ZCS 5.0.x and earlier) - Zimbra :: Wiki

I followed those instructions and it reduced it from 51 GB down to 31 MB.
I was then able to run the backup script locally.
But I am still a little reluctant to re-enable the logger at this time.

I am going to proceed with the upgrade to 5.0.21 in hopes that whatever it was has been fixed. But it would still be nice to perform a post-mortem to understand what had happened.

Any thoughts would be most appreciated.

Thanks,
Jim
Reply With Quote
  #2 (permalink)  
Old 01-30-2010, 12:30 PM
Intermediate Member
 
Posts: 21
Default

Hya!

What was the log mode configured?

Try reading that wiki page and see if that helps u out by changing log level - maybe you're at full debug - not recommended for any operational daemon.


And just for curiosity - What this huge log was reporting?
Reply With Quote
  #3 (permalink)  
Old 01-30-2010, 12:41 PM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

I would suggest you forget about the logger data at the moment, you could even remove the old data as it's been disabled for so long. The 6.x version of Zimbra doesn't use the same system for the logger as it's been completely been rewritten and data is not imported into the new system. Is there any reason you're not going to 6.x? You will also need to do the upgrade in incremental steps, I'm sure you've checked the Release Notes but here's the details again: [SOLVED] Zimbra Upgrade from 5.0.12 to 6.0.4 - with the correct upgrade path.
__________________
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.