Results 1 to 8 of 8

Thread: [SOLVED] zmlogwatch killing system

  1. #1
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default [SOLVED] zmlogwatch killing system

    When I try to let zimbra run, zmlogwatch will eat up 100% of my RAM. I've tried reinstalling Zimbra but it continues to eat up 100% of my 4GB RAM.

    I have absolutely no idea how to fix this and it really sucks because I have no mail server now.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Well you could always just disable zmlogwatch ? Could you post a top etc so we can see what is happening ? Also, do you have strace installed so we can see what the process is actually doing ?

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Quote Originally Posted by MTecknology View Post
    When I try to let zimbra run, zmlogwatch will eat up 100% of my RAM. I've tried reinstalling Zimbra but it continues to eat up 100% of my 4GB RAM.

    I have absolutely no idea how to fix this and it really sucks because I have no mail server now.
    Upgrade or new Install? Is the version in your profile the one you're currently running? When did this start and what happened prior to this problem appearing (i.e. and operating system updates)? How long does it take before it gets to 100% and does it stay there?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default More Details

    How do I disable that one piece? It's hard for me to really post any output because the entire system locks up and I only have remote access to it. I can try to output top to a file in a screen session, but that's probably about the best I can do.

    When I try to start zimbra, it locks up at starting mailbox (iirc).

    What happened right before this is that a backup failed and filled up an entire directory in /. This was a system backup, not a zimbra backup. I noticed it because I tried to install an application on the system and apt died saying there was no space left. I ran rm -rf /mnt/backup2131/ and right when it finished, things started locking up.

    Sorry, I suppose this would have been good information earlier. It was a very late night. (sleep at 0500)

    I can install strace but I have no idea how to use it.

  5. #5
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default

    Not sure if these are abnormally large or not...

    root@vindico:/opt/zimbra/db/data# du -hs *
    19M ibdata1
    101M ib_logfile0
    101M ib_logfile1
    1.4M mboxgroup{any others here}
    23M mboxgroup2
    30M mboxgroup3

  6. #6
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default Outputs

    wow... strace is amazingly easy to use.

    strace -u zimbra /opt/zimbra/bin/zmcontrol start 2&> log
    Gives me the attached file.

    I'm also piping top -u zimbra -b to a file. The following snippet was there to start but mysqld starting up doesn't seem like such a big deal considering it was during startup and died off.

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    25626 zimbra 20 0 135m 22m 4076 S 100 0.6 0:29.08 mysqld
    28064 zimbra 20 0 669m 634m 2680 S 4 16.0 0:01.70 zmlogprocess

    Hopefully the attached files help. I have no mail server right now and I know I'm missing a lot of important email messages.

    I'm still running 'top -u zimbra -b -d 30 -n 480 > top' but things seem to magically be working better now. Even though the log process is still eating up the entire system.

    I'll post an update later. Maybe Zimbra realized I'm upset with it and saw my 'Loyal Member' status and decided that it should cut me some slack. I'm not really sure what I did to earn that status (unless it's forum membership lenght), but I enjoy seeing it change.
    Attached Files Attached Files

  7. #7
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default Issue Verified

    It's definitely zmlogprocess that's causing the issue. I ran 'killall zmlogprocess' and things magically picked up speed and life became great.

    It's eating up nearly all to all of my 4GB RAM which is significantly overkill from what it should be doing.

    How can I flush the log cache and anything else to give it a fresh start?

  8. #8
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default Issue Solved

    Solved the issue using this Logger - Zimbra :: Wiki

    Hurray! Massive and irritating issue solved.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  2. Replies: 8
    Last Post: 10-19-2008, 09:52 AM
  3. Replies: 4
    Last Post: 10-08-2008, 06:55 AM
  4. Replies: 4
    Last Post: 08-04-2008, 06:17 PM
  5. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 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
  •