Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-2007, 12:37 PM
Senior Member
 
Posts: 60
Post MySQL CPU Usage

This problem started occurring sometime while I had 4.0.2 and was not corrected by upgrading to 4.0.5. The host OS is CentOS 4.3 running 2.6.9-42.0.3.

The problem is that the MySQL predominantly uses all available CPU resources, resulting in a server load level of 2.5+ even when all else is quiet. I've not been able to find anything conclusive on the forums or wiki. The mysqld.slow log is huge, with a wide variety of queries included. It is acting almost as though it has lost its indexes and is having to do scan lookups for every action.

Any suggestions would be greatly welcomed.

Thanks,
Will
Reply With Quote
  #2 (permalink)  
Old 01-08-2007, 02:14 PM
Zimbra Employee
 
Posts: 78
Default

Which MySQL instance is the problematic one, the one used by the mailbox server or by logger? You can find out by running ps -ef and grepping for the process id in question. If it's logger, try disabling the logger task in the zimbra user's crontab.
Reply With Quote
  #3 (permalink)  
Old 01-08-2007, 02:21 PM
Zimbra Employee
 
Posts: 515
Default

Comment out this line to prevent the log processing that populates the logger db:
Code:
crontab -l | grep logproc
00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1
To completely disable the logger service:
Code:
zmprov ms `zmhostname ` -- -zimbraServiceEnabled logger
zmloggerctl stop
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.