[SOLVED] Again high CPU

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Tripple
Outstanding Member
Outstanding Member
Posts: 285
Joined: Sat Sep 13, 2014 12:22 am

[SOLVED] Again high CPU

Post by Tripple »

On my CentOS 5.6 32-bit 7.1.2 FOSS edition, for no reason, I start getting mails about high load avarage.
Looking at my server, top sais:

10477 zimbra 18 0 1393m 1.2g 11m S 197.5 30.0 172:19.96 java
Java: 197.5%
Is this the old bug that came back? How can I fix this?
Tripple
Outstanding Member
Outstanding Member
Posts: 285
Joined: Sat Sep 13, 2014 12:22 am

[SOLVED] Again high CPU

Post by Tripple »

And after 1 hour gone the same way it came.

CPU back to normal.
1542brian
Zimbra Alumni
Zimbra Alumni
Posts: 619
Joined: Fri Sep 12, 2014 10:13 pm

[SOLVED] Again high CPU

Post by 1542brian »

We are tracking a couple issues for 7.1.3 that maybe causing this issue.
Bug 63467 and Bug 63621
bdial
Elite member
Elite member
Posts: 1633
Joined: Fri Sep 12, 2014 10:39 pm

[SOLVED] Again high CPU

Post by bdial »

would those bugs affect 6.1.14 as well? after upgrading to that this weekend 2 of my mailbox servers go from normal to 100% cpu. restarting seems to fix them for a day or so.
dave_kempe
Outstanding Member
Outstanding Member
Posts: 200
Joined: Fri Sep 12, 2014 9:55 pm

[SOLVED] Again high CPU

Post by dave_kempe »

I had a problem where an n900 client using mail for exchange triggered a bug like this.
JaymeH
Posts: 19
Joined: Fri Sep 12, 2014 11:28 pm

[SOLVED] Again high CPU

Post by JaymeH »

I've been experiencing the same problem on zcs-6.0.14_GA_2928_RHEL5_64 since I've upgraded from 6.0.13. Seems to be related to mailbox service on my server. The next time it happens I'll snag a ps output of the process and post it here.
Enabled services:

zimbraServiceEnabled: antivirus

zimbraServiceEnabled: antispam

zimbraServiceEnabled: logger

zimbraServiceEnabled: mailbox

zimbraServiceEnabled: mta

zimbraServiceEnabled: stats

zimbraServiceEnabled: snmp

zimbraServiceEnabled: ldap

zimbraServiceEnabled: spell


I only have top output of the process from today's event. 8G of ram on this server btw.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

7087 zimbra 18 0 4152m 2.4g 10m S 198.7 30.7 283:02.41 java
After a zmcontrol mailbox stop && zmcontrol mailbox start, load is around 0.5.
JaymeH
Posts: 19
Joined: Fri Sep 12, 2014 11:28 pm

[SOLVED] Again high CPU

Post by JaymeH »

[quote user="JaymeH"]I've been experiencing the same problem on zcs-6.0.14_GA_2928_RHEL5_64 since I've upgraded from 6.0.13. Seems to be related to mailbox service on my server. The next time it happens I'll snag a ps output of the process and post it here.
Enabled services:

zimbraServiceEnabled: antivirus

zimbraServiceEnabled: antispam

zimbraServiceEnabled: logger

zimbraServiceEnabled: mailbox

zimbraServiceEnabled: mta

zimbraServiceEnabled: stats

zimbraServiceEnabled: snmp

zimbraServiceEnabled: ldap

zimbraServiceEnabled: spell


I only have top output of the process from today's event. 8G of ram on this server btw.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

7087 zimbra 18 0 4152m 2.4g 10m S 198.7 30.7 283:02.41 java
After a zmcontrol mailbox stop && zmcontrol mailbox start, load is around 0.5.[/QUOTE]
It happened again faster than expected. I captured the ps output this time.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

16165 zimbra 17 0 3792m 2.2g 13m S 150.7 28.5 312:37.38 java
ps -ef | grep 16165

zimbra 16165 16164 23 Oct17 ? 05:12:57 /opt/zimbra/java/bin/java -Dfile.encoding=UTF-8 -client -XX:NewRatio=2 -Djava.awt.headless=true -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -Xss256k -Dsun.net.inetaddr.ttl=60 -Xms3164m -Xmx3164m -Xmn791m -Djava.io.tmpdir=/opt/zimbra/mailboxd/work -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/mailboxd/common/endorsed -Dzimbra.config=/opt/zimbra/conf/localconfig.xml -Djetty.home=/opt/zimbra/mailboxd -DSTART=/opt/zimbra/mailboxd/etc/start.config -jar /opt/zimbra/mailboxd/start.jar /opt/zimbra/mailboxd/etc/jetty.properties /opt/zimbra/mailboxd/etc/jetty-setuid.xml /opt/zimbra/mailboxd/etc/jetty.xml
Again, a zmcontrol stop start was needed to bring back to life.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

[SOLVED] Again high CPU

Post by phoenix »

[quote user="JaymeH"]It happened again faster than expected. I captured the ps output this time.[/QUOTE]Both of the bugs mentioned earlier in this thread are fix in the current 7.x version of Zimbra, there's also a patch for 6.0.14 - have you applied that to your server?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
JaymeH
Posts: 19
Joined: Fri Sep 12, 2014 11:28 pm

[SOLVED] Again high CPU

Post by JaymeH »

[quote user="10330phoenix"]Both of the bugs mentioned earlier in this thread are fix in the current 7.x version of Zimbra, there's also a patch for 6.0.14 - have you applied that to your server?[/QUOTE]
No. The only patch for 6.0.14 that I can find is a French patch of some sort. I did not see a 6.0.14 patch in announcements. Did I miss something? Am I looking in the wrong place?
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

[SOLVED] Again high CPU

Post by phoenix »

JaymeH wrote:Did I miss something? Am I looking in the wrong place?
Probably. You'll find it on the ZCS downloads page.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply