Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] Very high CPU usage with 7.1.1

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    7
    Rep Power
    4

    Exclamation [SOLVED] Very high CPU usage with 7.1.1

    Hi,

    From Zimbra version: 7.1.1_GA_3196 under CentOS 5.5 x64, my CPU still very high all the time if i compare with previous version. That overload the CPU of my main VM server.

    Release 7.1.1_GA_3196.RHEL5_64_20110527011124 CentOS5_64 FOSS edition

    I suppose is a bug.. ? Can i downgrade to 7.1.0 without problems ?

    When the next release 7.1.2 will be released ?


    See attach... (CPU of the Zimbra VM)


    Thanks in advance,
    Michael
    Attached Images Attached Images

  2. #2
    Join Date
    Dec 2009
    Location
    Global
    Posts
    9
    Rep Power
    5

    Default

    Hello Michael,

    I have tried to upgrade my test system.
    I have verified it. My CPU is running on 70% - 90% all the time.

    About the downgrade:
    "Downgrading to version 7.1.0 from 7.1.1 is not supported."

    Cheers,
    Tom
    Last edited by mtamas; 06-16-2011 at 11:22 AM.

  3. #3
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    148
    Rep Power
    7

    Default

    I've had the opposite. My loads were at 40+% all the time until I upgraded. Now it's dropped to 3-8%.

  4. #4
    Join Date
    Nov 2009
    Location
    Ljubljana, Slovenia
    Posts
    268
    Rep Power
    5

    Default

    What does "top" say, which processes are most CPU hungry?
    Did upgrade pass without warnings and errors?

  5. #5
    Join Date
    Jun 2011
    Posts
    7
    Rep Power
    4

    Default

    Yes upgrade pass without problem like each times for me... That process below run every ~2 minutes and take almost 100% of CPU for ~1 minute.. I already had something similar in a older version may be one or two years ago but was fixed..


    See which process take CPU:

    zimbra 13156 86.6 8.2 613216 169004 ? Sl 10:42 0:12 /opt/zimbra/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -Djava.ext.dirs=/opt/zimbra/java/jre/lib/ext:/opt/zimbra/lib/jars:/opt/zimbra/lib/ext-common:/opt/zimbra/lib/ext/clamscanner -Dpython.cachedir=/opt/zimbra/data/tmp/jython-cachedir org.python.util.jython /opt/zimbra/libexec/zmconfigd


    I discover that bug.. may be is my problem.. ?
    Bug 60009 – sys cpu spike caused by jetty


    Thanks for your answers,
    Michael
    Attached Images Attached Images

  6. #6
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Posts
    203
    Rep Power
    7

    Default

    The high server load value together with 500 MByte swapped suggest that you have a memory problem. The high CPU usage may result from disk IO reading and writing memory pages to the swap partition.

    Tune the following parameters:

    /opt/zimbra/conf/my.cnf

    Code:
    innodb_buffer_pool_size        = 384M
    /opt/zimbra/conf/amavisd.conf.in

    Code:
    $max_servers =  2
    then as zimbra user do

    Code:
    zmlocalconfig -e mailboxd_java_heap_memory_percent 20
    Also you might adjust your Systems Swapping behaviour:

    Code:
    #
    # Tuning Kernel VM Settings
    #
    
    sysctl -w vm.swappiness=0
    sysctl -w vm.vfs_cache_pressure=50
    sysctl -w vm.min_free_kbytes=16384
    sysctl -w vm.dirty_ratio=10
    sysctl -w vm.dirty_background_ratio=5
    
    
    /etc/sysctl.conf
    
    #
    # Prevent Kernel from swapping and too much IO
    #
    
    vm.min_free_kbytes=16384
    vm.swappiness=0
    vm.vfs_cache_pressure=50
    vm.min_free_kbytes=16384
    vm.dirty_ratio=10
    vm.dirty_background_ratio = 5
    Restart server.

    Regards Andreas
    Best regards

    Andreas Wolske

    managedhosting.de GmbH

    Zimbra Cloud Hosting, Consulting & Support
    VMware vCloud Powered Serviceprovider

  7. #7
    Join Date
    Jun 2011
    Posts
    7
    Rep Power
    4

    Default

    Yes i saw that some swap is used, it appear after some weeks of usage.. But i don't think is the cause of this problem. If i restart my server no swap is used and cpu spike continue.. But thanks for your tweaks i will test it later on my server.

    I saw that someone else have a similar problem in this thread:

    http://www.zimbra.com/forums/adminis...5-minutes.html


    Michael

  8. #8
    Join Date
    Sep 2008
    Location
    Brazil
    Posts
    50
    Rep Power
    7

    Default

    Hi,
    any information for fix this?
    thanks

  9. #9
    Join Date
    Jun 2011
    Posts
    7
    Rep Power
    4

    Default

    In my case, i fixed the problem...
    It exist a patch for 7.1.1 GA (Zimbra Collaboration Suite Open Source Edition)

    Open Source Edition Downloads: Enterprise Messaging and Collaboration Software by Zimbra

    My CPU back to a normal value. See my attach...


    Michael
    Attached Images Attached Images

  10. #10
    Join Date
    Jun 2011
    Posts
    68
    Rep Power
    4

    Default

    thats interesting - the release notes didnt mention anything about it either...
    it would be good to have this addressed for NE users.

Similar Threads

  1. High CPU usage on server and client
    By jack-Z in forum Administrators
    Replies: 10
    Last Post: 01-07-2009, 09:12 PM
  2. Replies: 8
    Last Post: 08-08-2008, 06:18 AM
  3. tomcat/catalina frozen with high cpu
    By eddie in forum Installation
    Replies: 5
    Last Post: 09-22-2006, 05:21 AM
  4. HIGH CPU use
    By brwatters in forum Administrators
    Replies: 3
    Last Post: 07-05-2006, 08:47 AM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 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
  •