Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: High CPU spikes every 1 minute

  1. #1
    mrcoffe is offline Member
    Join Date
    Dec 2008
    Posts
    10
    Rep Power
    6

    Default High CPU spikes every 1 minute

    Hi there,

    Seting up Zimbra for testing a possible new email environment for the company.

    I got a problem on my VM which is running Zimbra .
    Every 1 minute I got a cpu spike of around 70% to 80% 24hrs a day and I don't know why. Looks lika a JAVA process is responsible for this when I watch TOP output. I would like to get rid of this!

    changes that did not help:
    - 'Sleep time between subsequent mailbox purges' from 1 minute to 1 hour

    - fetchmail from 1 minute to 5 minutes

    - disabling or editing cronjobs:
    #*/2 * * * * /opt/zimbra/libexec/zmstatuslog
    #*/10 * * * * /opt/zimbra/libexec/zmdisklog
    #00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
    00,20,40 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
    #0,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmqueuelog
    10,30,50 * * * * /opt/zimbra/libexec/zmqueuelog

    - "$ zmloggerctl stop" did not help

    - vi /opt/zimbra/libexec/zmlogprocess
    #my $rawRetention = `${zimbra_home}/bin/zmprov -l gacf | egrep '^zimbraLogRawLifetime' | sed -e 's/zimbraLogRawLifetime: //'`;
    my $rawRetention = "31d";
    #my $summaryRetention = `${zimbra_home}/bin/zmprov -l gacf | egrep '^zimbraLogSummaryLifetime' | sed -e 's/zimbraLogSummaryLifetime: //'`;
    my $summaryRetention = "730d";

    Specs:
    Using Zimbra 5.0.10
    FedoraCore 7
    VMware ESX Virtual machine 1 CPU 3Ghz
    Nr of users: 1

    Any suggestions??
    Thx
    Last edited by mrcoffe; 12-22-2008 at 12:13 PM.

  2. #2
    mrcoffe is offline Member
    Join Date
    Dec 2008
    Posts
    10
    Rep Power
    6

    Default

    Does anybody got an idea about this problem? I still have this issue.
    Thx!

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

    Default

    Which process is causing the spike ?

  4. #4
    mrcoffe is offline Member
    Join Date
    Dec 2008
    Posts
    10
    Rep Power
    6

    Default

    It's the Java process:

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    32215 zimbra 20 0 470m 28m 12m R 43.8 2.8 0:01.54 java
    25416 zimbra 20 0 689m 203m 38m S 2.0 20.1 2:35.20 java
    32244 zimbra 20 0 4776 1288 1028 S 0.7 0.1 0:00.02 zmantispamctl
    Last edited by mrcoffe; 01-06-2009 at 06:36 AM.

  5. #5
    kentm is offline Intermediate Member
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    22
    Rep Power
    8

    Default

    I have the same issue on a brand new install of 5.0.12 on CentOS 5.2 fully updated.

    The spiking processes are Java, then Sudo, then zmmtaconfig and last about 12 seconds on a 2.4 GHz processor with 1GB RAM. They were nearly constant on a slower proc.

    I have 8 users setup but I am the only one with any level of traffic (home e-mail and family calendar primarily). This occurs even when there are no users logged in.

    Any insight would be appreciated.

    Thanks,

    Kent

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

    Default

    Requirements for a production install is 2GB+.

  7. #7
    kentm is offline Intermediate Member
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    22
    Rep Power
    8

    Default

    Uxbod,

    The traffic on this server would probably place it in the test category by most standards but I have increased the RAM to 2GB now in any case.

    I am still seeing spike to about 80% every minute, lasting for around 12 seconds.

    I am using just over 820 MB RAM after the box has been running for several minutes.

    Thanks,

    Kent

  8. #8
    Perlpigeon is offline Member
    Join Date
    Nov 2008
    Location
    Weesp, Netherlands
    Posts
    10
    Rep Power
    6

    Default

    Hi,
    I don't have a solution unfortunately, only an experience to share.
    ZCS 5.0.11 OSS, Fedora 7 x32
    Specs: Intel Quad 2.4 Ghz, 2Gb RAM,
    #Users: 10

    Every x minutes (could be 1) the Java spikes to 20%, which I relate to a mail being offered and the spam filter rejects it. The Java process uses 21% of memory. All the other settings you mention are still on the default value.
    I do recall that the logger in some version started to log in debug and that with a zmprov/zmlocalconfig command you could change the logging level. Perhaps it is located in that area?

  9. #9
    kentm is offline Intermediate Member
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    22
    Rep Power
    8

    Default

    Perlpigeon,

    I tried turning logging off to no avail among other suggestions in the forums/wiki.

    Perhaps a 20% CPU utilization on your quad is the equivalent to 80% on my single 2.4 GHz proc...

    I have a catchall going to my account so if it were the AV/AS processing a message, it would end up in my Junk folder and I only get a total of about 25 e-mails per day on this home account. The other 5 users get about 25 per month combined. It is used mostly for the calendar as the kids are one week with me and one with their Mom.

    There are no POP3 accounts that it goes out to check, no RSS feeds, nothing else that I can think of that it needs to do every minute. If it is checking for spam and viral updates, I can live with that once an hour or even less frequently. I guess I just need to know what it is doing and then I will try to determine how to adjust the frequency.

    Thanks,

    Kent

  10. #10
    greenieofdubbo is offline Starter Member
    Join Date
    Feb 2009
    Posts
    1
    Rep Power
    6

    Default

    Same problem here, running FC7 on VMWare ESX, Dual 2.8Ghz Xeon with 2GB Memory allocated to the Zimbra server.

    Tried a fresh install with the latest version, same problem.

Page 1 of 4 123 ... LastLast

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. High CPU usage, Massive slow down
    By deoriger in forum Administrators
    Replies: 5
    Last Post: 11-20-2008, 09:31 AM
  3. Loggerd Causing High CPU and Memory
    By sujithmk in forum Administrators
    Replies: 2
    Last Post: 06-26-2008, 07:12 PM
  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
  •