Results 1 to 10 of 10

Thread: High iowait from logger after upgrade to 4.5.9

  1. #1
    pi13137 is offline New Member
    Join Date
    Nov 2007
    Posts
    3
    Rep Power
    7

    Default High iowait from logger after upgrade to 4.5.9

    Hello all,
    after upgrading from a smooth running zimbra 4.5.7 to 4.5.9_GA_1454 on my Suse 10 Linux box i've trouble with very high iowaits on my machine:

    After starting zimbra iowait goes up; no idle time left. after investigation i found the zimbra logger process as source of the problem: stopping the logger everything is ok.

    what are the deeper problem behind this symptoms? How can i find out? (there is no heavy traffic on this machine, so there aren't realy IO probs).

    thanks for your advise.

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Try looking in
    /opt/zimbra/logger/db/(hostname).err for any mysql errors.

    Also, have you run a fsck recently? How about disk space and disk format?

  3. #3
    pi13137 is offline New Member
    Join Date
    Nov 2007
    Posts
    3
    Rep Power
    7

    Thumbs up

    Thanks jholder for your good tip!

    The log shows me that table ...mta is marked as crashed and sould be repaired.

    I try the instructions on Logger - Zimbra :: Wiki and i report if this helps.

    thx!

  4. #4
    mrball is offline Intermediate Member
    Join Date
    Aug 2007
    Posts
    17
    Rep Power
    8

    Default

    I have this exact same problem - very high iowaits and 0% idle. When I shutdown logger it goes back to normal (99% idle).

    However, there are no errors in the logs - just the normal mysql startup and shutdown messages

    BTW - I DID have errors before, but I purged the logger db as here: Cleaning Zimbra Logger logs

    Also, I noticed a script running that seems to take up all available cpu for 2-3 minutes at a time: /tmp/.swatch_script.2339

    I am running 4.5.9 as well

    Any ideas?

  5. #5
    mrball is offline Intermediate Member
    Join Date
    Aug 2007
    Posts
    17
    Rep Power
    8

    Default

    Quote Originally Posted by pi13137 View Post
    Thanks jholder for your good tip!

    The log shows me that table ...mta is marked as crashed and sould be repaired.

    I try the instructions on Logger - Zimbra :: Wiki and i report if this helps.

    thx!

    Does it solve your problem?

  6. #6
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Quote Originally Posted by mrball View Post
    Also, I noticed a script running that seems to take up all available cpu for 2-3 minutes at a time: /tmp/.swatch_script.2339
    hmm, can you take a look at /var/log/zimbra.log? Are entries logged in there, and are there any errors?

  7. #7
    mrball is offline Intermediate Member
    Join Date
    Aug 2007
    Posts
    17
    Rep Power
    8

    Default

    Quote Originally Posted by jholder View Post
    hmm, can you take a look at /var/log/zimbra.log? Are entries logged in there, and are there any errors?
    ]$ ls /var/log/zimbra.log -al
    -rw-r--r-- 1 zimbra zimbra 469561902 Nov 9 02:50 /var/log/zimbra.log

    It is huge. I don't see any errors... what errors should I be looking for?

  8. #8
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    If it's that big, then something must be wrong.

    What I would do is:

    su - zimbra
    zmcontrol stop
    cat /dev/null > /var/log/zimbra.log
    zmcontrol start

    and look for errors.

    Do you get a lot of mail? That might explain why that file is big. . .but shouldn't be that large.

  9. #9
    pi13137 is offline New Member
    Join Date
    Nov 2007
    Posts
    3
    Rep Power
    7

    Default

    @mrball:
    Originally Posted by pi13137 View Post
    Thanks jholder for your good tip!

    The log shows me that table ...mta is marked as crashed and sould be repaired.

    I try the instructions on Logger - Zimbra :: Wiki and i report if this helps.

    thx!
    Does it solve your problem?
    probably!

    call me dummy: i followed the instructions on thread http://www.zimbra.com/forums/install...working-2.html an shot up for resetting the logger and deleted as described in the thread /opt/zimbra/logger/db/data/*.
    so i now set up a completly new/fresh zimbra.

    thanks god this was not a production-system

  10. #10
    mrball is offline Intermediate Member
    Join Date
    Aug 2007
    Posts
    17
    Rep Power
    8

    Default

    Quote Originally Posted by jholder View Post
    If it's that big, then something must be wrong.

    What I would do is:

    su - zimbra
    zmcontrol stop
    cat /dev/null > /var/log/zimbra.log
    zmcontrol start

    and look for errors.

    Do you get a lot of mail? That might explain why that file is big. . .but shouldn't be that large.
    No errors...

    It's big because logrotate was not working on that machine but that has now been rectified. It does seem to log quite a bit though - postfix emails received, amavis scans, etc.

    However, the high iowait problems are persisting. any ideas? And zmlogger seems to restart itself every once in a while even after I stop it

    I have resetted the db. I have even tried moving the whole /opt/zimbra to a partition on a different hdd and rsyncing the files across. fscks are all OK.

    Any ideas?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] zmzimletctl error after 4.5.9 upgrade
    By Maja in forum Installation
    Replies: 1
    Last Post: 11-06-2007, 10:32 AM
  2. ubuntu upgrade to 4.5.9 fails
    By jeepville in forum Installation
    Replies: 9
    Last Post: 11-01-2007, 10:44 AM
  3. LDAP failure? Upgrade 4.5.6 - 4.5.9 failed
    By jeschulze in forum Installation
    Replies: 10
    Last Post: 11-01-2007, 09:51 AM
  4. Upgrade 4.5.6 to 4.5.9
    By bramm in forum Installation
    Replies: 1
    Last Post: 10-25-2007, 11:49 PM

Posting Permissions

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