Upgraded to 4.5.11; mysqld Now Consuming 99.9% CPU

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2799
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.7 Network Edition
Contact:

Upgraded to 4.5.11; mysqld Now Consuming 99.9% CPU

Post by L. Mark Stone »

Hi,
We upgraded our SuSE ES9 32-bit NE installation from 4.5.6 to 4.5.11 and have noticed that the mysqld process is now frequently consuming 99.9% of CPU as reported by top.
Our hardware has 6GB of RAM and Zimbra support previously set the memory allocation for Tomcat and MySQL to 20% back when we were running 4.0.3.
Now that we are at 4.5.11 I am wondering if some tweaking is called for. This particular server hardware is an HP DL360 G4p with 2 x 3.00GHz 2MB CPUs and 2 x 146GB 15K disks in a RAID1 array.
I noticed in the my.cnf file that since the upgrade the last line declaring the pid file is listed twice. I also attach yesterdays MySQL slow log file.
Any tips would be greatly appreciated!
Thanks!

Mark
my.cnf.txt
myslow.log.1.txt
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
User avatar
jholder
Ambassador
Ambassador
Posts: 4824
Joined: Fri Sep 12, 2014 10:00 pm

Upgraded to 4.5.11; mysqld Now Consuming 99.9% CPU

Post by jholder »

can you grab the /opt/zimbra/log/zmmailboxd.out from the same time? Also, a crontabl -l -u zimbra would help.
bobby
Outstanding Member
Outstanding Member
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

Upgraded to 4.5.11; mysqld Now Consuming 99.9% CPU

Post by bobby »

Is it the mailbox mysqld or the logger mysqld that is consuming the cpu?
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2799
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.7 Network Edition
Contact:

Upgraded to 4.5.11; mysqld Now Consuming 99.9% CPU

Post by L. Mark Stone »

[quote user="jholder"]can you grab the /opt/zimbra/log/zmmailboxd.out from the same time? Also, a crontabl -l -u zimbra would help.[/QUOTE]
Hi John,
Thanks for the reply.
There is no zmmailboxd.out:

zimbra@viognier:~> locate *.out

/etc/postfix.suse/makedefs.out

/opt/zimbra/apache-tomcat-5.5.15/logs/catalina.out

/opt/zimbra/log/convertd.out

/opt/zimbra/log/zmlogswatch.out

/opt/zimbra/postfix-2.2.9/conf/makedefs.out

/opt/zimbra/zmstat/zmstat.out
Attached though is the output from ps -ef | grep zimbra while the mysqld was pegged, along with the crontab you asked for.
All the best,

Mark
crontab_for_zimbra.txt
ps-ef.output.txt
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Post Reply