Insane cpu usage by zmmailboxd

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
comradeTJH
Posts: 16
Joined: Tue Jul 04, 2017 12:39 pm

Re: Insane cpu usage by zmmailboxd

Post by comradeTJH »

I encountered a similar problem after upgrading from 8.7.11 to 8.8.6. Upgrade-process was seamless and without any problems. Everything runs very smoothly and snappy for some hours and then suddenly, the java-processes start using all the CPU and all services gradually degrades until they become completely unresponsive. (IMAP, webinterface, admin-interface, everything)

zmmailboxdctl restart fixes the problem temporarly.

Any ideas how to troubleshoot?
User avatar
comradeTJH
Posts: 16
Joined: Tue Jul 04, 2017 12:39 pm

Re: Insane cpu usage by zmmailboxd

Post by comradeTJH »

Hey guys, heads up - installing the last patch fixed it for me :-) : https://wiki.zimbra.com/wiki/Zimbra_Rel ... 8.6_HotFix
matteo.fracassetti
Posts: 16
Joined: Thu Feb 08, 2018 3:56 pm

Re: Insane cpu usage by zmmailboxd

Post by matteo.fracassetti »

I'll try as soon as possible.
Thank you.
matteo.fracassetti
Posts: 16
Joined: Thu Feb 08, 2018 3:56 pm

Re: Insane cpu usage by zmmailboxd

Post by matteo.fracassetti »

...
Just some minutes after reply to comradeTJH suggestion, I checked our servers monitor.... And the issue seems has been solved itself! I done last "zmmailboxdctl restart" on 15 Feb at 16:29:50 and, after that, CPU Load Average hasn't grow anymore, it keeps under 2.

Nothing else was done by me or by my collegues... Many thanks to Harry Potter but is very frustrating when those magic events happen.
lfasci
Advanced member
Advanced member
Posts: 145
Joined: Mon Dec 09, 2013 2:38 am

Re: Insane cpu usage by zmmailboxd

Post by lfasci »

I have the same problem on ubuntu 14.04.5 and zimbra 8.8.6 with patch applied, IMAP kills the server.
It was a n opensource edition upgraded to Network
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Insane cpu usage by zmmailboxd

Post by L. Mark Stone »

lfasci wrote:I have the same problem on ubuntu 14.04.5 and zimbra 8.8.6 with patch applied, IMAP kills the server.
It was a n opensource edition upgraded to Network

The patch does not upgrade your OSE Zimbra to Network Edition, but the patch is a replacement jar file for mailboxd and Zimbra wanted to get it out quickly, so there is just one identical patch for both NE and OSE at the moment. As a result, it reports itself as NE, but as you probably know there is a lot more to NE than just this one jar file.

To my understanding, the next point release will address this.

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
matteo.fracassetti
Posts: 16
Joined: Thu Feb 08, 2018 3:56 pm

Re: Insane cpu usage by zmmailboxd

Post by matteo.fracassetti »

Last weekend the issue appears again...

I'll try to update our server to the latest release, hoping it helps.
unaiSolaguren
Posts: 3
Joined: Wed Mar 21, 2018 10:09 am

Re: Insane cpu usage by zmmailboxd

Post by unaiSolaguren »

I have updated from 8.7.1 to 8.8.6 on Ubuntu 14.04, the issue persists. This weekend I will try to update to Ubuntu 16.04

Anyway, the process that most CPU consumes is...

Code: Select all

# cat /proc/13270/cmdline
/opt/zimbra/common/bin/java-Dfile.encoding=UTF-8-server-Djava.awt.headless=true-XX:+UseConcMarkSweepGC-XX:+UseParNewGC-XX:NewRatio=2-XX:PermSize=196m-XX:MaxPermSize=350m-XX:SoftRefLRUPolicyMSPerMB=1-verbose:gc-XX:+PrintGCDetails-XX:+PrintGCTimeStamps-XX:+PrintGCApplicationStoppedTime-XX:+HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=/opt/zimbra/log-XX:ErrorFile=/opt/zimbra/log/hs_err_pid%p.log-Xss256k-Dsun.net.inetaddr.ttl=60-Xms2048m-Xmx2048m-Xmn614m-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.base=/opt/zimbra/mailboxd-Djetty.home=/opt/zimbra/common/jetty_home-DSTART=/opt/zimbra/mailboxd/etc/start.config-jar/opt/zimbra/common/jetty_home/start.jar--module=zimbra,server,servlet,servlets,jsp,jstl,jmx,resources,websocket,ext,plus,rewrite,monitor,continuation,webapp,setuidjetty.home=/opt/zimbra/common/jetty_homejetty.base=/opt/zimbra/mailboxd/opt/zimbra/mailboxd/etc/jetty.xml
User avatar
msquadrat
Advanced member
Advanced member
Posts: 183
Joined: Mon Oct 14, 2013 10:09 am

Re: Insane cpu usage by zmmailboxd

Post by msquadrat »

You should try 8.8.7 first.
unaiSolaguren
Posts: 3
Joined: Wed Mar 21, 2018 10:09 am

Re: Insane cpu usage by zmmailboxd

Post by unaiSolaguren »

The last week I' tried the 8.8.7 on ubuntu 14.04, but the processor performance was bad, after that I installed the patch for the bugs Bug 108839 and Bug 108414 with no results. With all these changes the java processors consumes all the CPU.

The last friday I've updated the ubuntu from 14.04 to 16.04 and today it's the first working day. It's running correctly, the cpu and memory consume are ok.

Thanks for the support.
Post Reply