Results 1 to 7 of 7

Thread: High idle load

  1. #1
    RoyK is offline Senior Member
    Join Date
    Sep 2009
    Posts
    51
    Rep Power
    5

    Default High idle load

    Hi all

    Testing on two separate servers, one dedicated and one VM, I get a very high load, mostly system time, while running Zimbra. Both systems are mostly idle, only having around 5-10 users, 2-3 concurrent users at most. I don't see a very high load in 'top', but using sysstat/sar, I see a stable load of 40-60% while idle. Looking into it, it looks like java processes are started routinely into new processes, and I suspect they are started like shell scripts or the likes, having to be precompiled each time. I also see new PIDs coming up all the time in top. Someone first suspected this was a memory problem (1GB RAM), but the same happens with 2GB and still with memory unallocated.

    Is this meant to be so, and if so, who on earth thought this was a good idea? It's quite some amount of CPU being wasted in these runs. If not, what can I do about it without moving to another system?

    roy

  2. #2
    raj's Avatar
    raj
    raj is offline Moderator
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    you did not tell what version and what os and other info, but maybe the following link will help you specially on VM install

    High CPU spikes every 1 minute

    * Please backup before trying any of the solution.

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  3. #3
    RoyK is offline Senior Member
    Join Date
    Sep 2009
    Posts
    51
    Rep Power
    5

    Default

    Hi

    Thanks for the quick reply

    I'm running 6.0.3 (or was it 6.0.2?). the cron job is now changed, running every hour. But the zmlocalconfig/zmprov commands below doesn't seem to be right with v6. btw, what is the zmlogprocess?

    roy

    su - zimbra
    zmlocalconfig -e zmmtaconfig_interval=6000
    zmprov mcf zimbraLogRawLifetime 7d
    zmprov mcf zimbraLogSummaryLifetime 30d
    /opt/zimbra/libexec/zmlogprocess

  4. #4
    raj's Avatar
    raj
    raj is offline Moderator
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    did you get any error when you run those in version 6.xx or you are asking without running them?

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  5. #5
    RoyK is offline Senior Member
    Join Date
    Sep 2009
    Posts
    51
    Rep Power
    5

    Default

    At first I didn't try, since I didn't find any docs about what they did. Now, I did try nevertheless and I got no errors.

    zimbra@zimbra:~$ zmlocalconfig -e zmmtaconfig_interval=6000
    zimbra@zimbra:~$ zmprov mcf zimbraLogRawLifetime 7d
    zimbra@zimbra:~$ zmprov mcf zimbraLogSummaryLifetime 30d
    zimbra@zimbra:~$ /opt/zimbra/libexec/zmlogprocess
    zimbra@zimbra:~$

    Can you please explain what they do?

    I'll get back to you on performance data

    thanks

    roy

  6. #6
    RoyK is offline Senior Member
    Join Date
    Sep 2009
    Posts
    51
    Rep Power
    5

    Default

    Seems this solved the problem, see sar output below, but still, what does each of these commands do? I like at least to have an illusion that I'm in control of my system

    roy

    20:25:01 CPU %user %nice %system %iowait %steal %idle
    20:35:01 all 9.79 0.00 54.07 1.63 0.00 34.50
    20:45:01 all 9.87 0.00 50.60 1.97 0.00 37.56
    20:55:01 all 5.20 0.00 36.48 1.78 0.00 56.54
    21:05:02 all 0.98 0.00 7.39 2.39 0.00 89.25
    21:15:01 all 0.58 0.00 4.88 1.37 0.00 93.16

  7. #7
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    I'll answer these from what I understand here...
    Code:
    zmlocalconfig -e zmmtaconfig_interval=6000
    This sets the interval at which the zmmtaconfig process checks the postfix configuration files for changes and reloads them if there are any. This has been known to cause high CPU usage on some systems and is probably the only reason your CPU usage has dropped.
    Code:
    zmprov mcf zimbraLogRawLifetime 7d
    This sets the maximum age for your log files, I'm not entierly sure what this would have to do with performance though as it just says when to delete the old log files. (7 days)
    Code:
    zmprov mcf zimbraLogSummaryLifetime 30d
    Not entierly sure what this does as there is no "summary" log that I know of, but again from what I can find in the wiki this would only affect disk space usage, not CPU.
    Code:
    /opt/zimbra/libexec/zmlogprocess
    From what I can see the only affect this would have is that it optimizes the logger tables when it runs, so it might have sped up access to them, thus slightly reducing CPU load on access to these tables.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] high cpu load java
    By nean in forum Installation
    Replies: 12
    Last Post: 10-13-2011, 07:47 AM
  2. High Load amavisd after upgrade to 6.0.1
    By Nextasy in forum Installation
    Replies: 11
    Last Post: 05-19-2010, 10:51 AM
  3. ZCO + Outlook 2003 = HIGH CPU LOAD
    By marektyc in forum Zimbra Connector for Outlook
    Replies: 3
    Last Post: 11-02-2009, 11:34 AM
  4. High CPU Load every couple of days
    By pornsakb in forum Administrators
    Replies: 13
    Last Post: 11-30-2007, 12:12 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
  •