Results 1 to 2 of 2

Thread: CPU Load

  1. #1
    claros's Avatar
    claros is offline Project Contributor
    Join Date
    Mar 2006
    Location
    L'Aquila, ITALIA
    Posts
    59
    Rep Power
    9

    Default CPU Load

    Hi,
    I've installed zimbra mta on an old server with just a P3 1.00 Ghz Processor.
    Every 60 seconds the cpu load rise to about 80% due to a process called zmmtaconfig which fork a cpu intesive java process:

    zimbra 20116 0.0 0.2 7936 2440 ? S 19:54 0:01
    /usr/bin/perl /opt/zimbra/libexec/zmmtaconfig
    zimbra 2360 0.0 0.1 5376 1060 ? S 21:51 0:00 \_ sh -c
    /opt/zimbra/bin/zmprov gs mailhost.cc.univaq.it | grep zimbraServiceEnabled
    zimbra 2361 0.0 1.4 470772 15344 ? Sl 21:51 0:00 \_
    /opt/zimbra/java/bin/java -client -Xmx256m -Dzimbra.home=/opt/zimbra
    -Djava.library.pa
    zimbra 2362 0.0 0.0 5000 560 ? S 21:51 0:00 \_
    grep zimbraServiceEnabled

    Looking into the perl code of zmmtaconfig I've found this main cicle:

    readConfig();
    compareKeys();
    stopStartServers();
    print STDERR "Sleeping\n";
    sleep 60;
    %prevknownkeys=%knownkeys;
    %knownkeys = ();
    $VARS_SET=0;
    $SERVICE_SET=0;
    $LOCALS_SET=0;
    $firstrun = 0;

    and changed as above a "sleep 60" to read "sleep 180". The overall load of the machine decreased of a 10%:

    11:30:01 all 6.98 0.00 0.60 0.09 92.33

    I'm not in production now, but which consequences could I have with this timing? What does zmmtaconfig provides and why it runs on the mailbox machine too?

    Ciao,
    Claudio

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    It's used to sync the MTA config from LDAP to the local config file.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. High CPU usage on server and client
    By jack-Z in forum Administrators
    Replies: 10
    Last Post: 01-07-2009, 10:12 PM
  2. Zmlogger and CPU Spikes
    By andreychek in forum Administrators
    Replies: 4
    Last Post: 11-01-2006, 08:01 PM
  3. HIGH CPU use
    By brwatters in forum Administrators
    Replies: 3
    Last Post: 07-05-2006, 08:47 AM
  4. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM
  5. Mysql CPU load
    By Rajesh Yadav in forum Users
    Replies: 4
    Last Post: 05-14-2006, 04:23 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
  •