Results 1 to 3 of 3

Thread: ZCS 4.5.7 CentOS5 - Enabled logger, system crashed

  1. #1
    blueflametuna is offline Senior Member
    Join Date
    Jan 2010
    Location
    Idaho
    Posts
    60
    Rep Power
    5

    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

  2. #2
    Nascimento's Avatar
    Nascimento is offline Intermediate Member
    Join Date
    Jan 2010
    Posts
    21
    Rep Power
    5

    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?

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 01-23-2010, 07:28 AM
  2. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  3. Help me install and configure zimbra on CentOS5
    By nguyenlv.oss in forum Installation
    Replies: 1
    Last Post: 05-25-2009, 11:46 PM
  4. Replies: 13
    Last Post: 05-15-2007, 06:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •