mailbox failing with specific mailboxd_java_options

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
timo.treichel
Posts: 1
Joined: Sat May 21, 2022 1:23 am

mailbox failing with specific mailboxd_java_options

Post by timo.treichel »

Hi there,

i just upgraded zimbra from 8.8.12 to 8.8.15 and after some trouble with permissions, a not running mysql-server and not installed java, the command zmcontrol start shows Starting mailbox...Failed when using those mailboxd_java_options:

-XX:+PrintGCApplicationStoppedTime
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=20
-XX:GCLogFileSize=10M

i did read, that PrintGCApplicationStoppedTime is depricated since a while, but why do those other cause the mailbox to not load?

Currently i am using this config, which still shows errors in the logs:

Code: Select all

zmlocalconfig -e mailboxd_java_options="-server -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.awt.headless=true -Dsun.net.inetaddr.ttl=${networkaddress_cache_ttl} -Dorg.apache.jasper.compiler.disablejsr199=true -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseConcMarkSweepGC -XX:-OmitStackTraceInFastThrow -verbose:gc -XX:+PrintGCDetails -Xlog:gc:/opt/zimbra/log/gc.log -Djava.net.preferIPv4Stack=true -XX:CompileCommandFile=.hotspot_compiler"
i cleared the zmmailboxd.out before starting for this post:

Code: Select all

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[0.001s][warning][gc] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.
[0.008s][info   ][gc] Using Concurrent Mark Sweep
[0.008s][info   ][gc,heap,coops] Heap address: 0x000000073e800000, size: 3096 MB, Compressed Oops mode: Zero based, Oop shift amount: 3
CompileCommand: exclude com/zimbra/cs/session/SessionMap.putAndPrune
CompileCommand: exclude com/zimbra/cs/mailbox/MailItem.delete
CompileCommand: exclude org/apache/xerces/impl/XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
JettyMonitor monitoring thread pool QueuedThreadPool[qtp306123060]@123f1134{STOPPED,10<=0<=600,i=0,r=-1,q=0}[NO_TRY]
Zimbra server reserving server socket port=7143 bindaddr=null ssl=false
Zimbra server reserving server socket port=7993 bindaddr=null ssl=false
Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
[1.852s][info   ][gc,start     ] GC(0) Pause Young (Allocation Failure)
[1.852s][info   ][gc,task      ] GC(0) Using 4 workers of 4 for evacuation
[1.885s][info   ][gc,heap      ] GC(0) ParNew: 272640K->20835K(306688K)
[1.885s][info   ][gc,heap      ] GC(0) CMS: 0K->0K(2829568K)
[1.885s][info   ][gc,metaspace ] GC(0) Metaspace: 15346K->15346K(1062912K)
[1.885s][info   ][gc           ] GC(0) Pause Young (Allocation Failure) 266M->20M(3062M) 33.157ms
[1.885s][info   ][gc,cpu       ] GC(0) User=0.07s Sys=0.05s Real=0.04s
[2.196s][info   ][gc,start     ] GC(1) Pause Young (Allocation Failure)
[2.196s][info   ][gc,task      ] GC(1) Using 4 workers of 4 for evacuation
[2.285s][info   ][gc,heap      ] GC(1) ParNew: 293475K->16305K(306688K)
[2.285s][info   ][gc,heap      ] GC(1) CMS: 0K->20779K(2829568K)
[2.285s][info   ][gc,metaspace ] GC(1) Metaspace: 15382K->15382K(1062912K)
[2.285s][info   ][gc           ] GC(1) Pause Young (Allocation Failure) 286M->36M(3062M) 89.371ms
[2.285s][info   ][gc,cpu       ] GC(1) User=0.04s Sys=0.14s Real=0.09s
[2.999s][info   ][gc,start     ] GC(2) Pause Young (Allocation Failure)
[2.999s][info   ][gc,task      ] GC(2) Using 4 workers of 4 for evacuation
[3.012s][info   ][gc,heap      ] GC(2) ParNew: 288945K->18452K(306688K)
[3.012s][info   ][gc,heap      ] GC(2) CMS: 20779K->20779K(2829568K)
[3.012s][info   ][gc,metaspace ] GC(2) Metaspace: 18262K->18262K(1067008K)
[3.013s][info   ][gc           ] GC(2) Pause Young (Allocation Failure) 302M->38M(3062M) 13.838ms
[3.013s][info   ][gc,cpu       ] GC(2) User=0.05s Sys=0.01s Real=0.01s
Zimbra server process is running as uid=999 euid=999 gid=999 egid=999
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openzal.zal.extension.StoreManagerImpl (file:/opt/zimbra/lib/ext/zimbradrive/zal.jar) to method java.lang.ClassLoader.defineClass(byte[],int,int)
WARNING: Please consider reporting this to the maintainers of org.openzal.zal.extension.StoreManagerImpl
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[5.015s][info   ][gc,start     ] GC(3) Pause Initial Mark
[5.030s][info   ][gc           ] GC(3) Pause Initial Mark 216M->216M(3062M) 15.659ms
[5.031s][info   ][gc,cpu       ] GC(3) User=0.03s Sys=0.01s Real=0.02s
[5.031s][info   ][gc           ] GC(3) Concurrent Mark
[5.078s][info   ][gc           ] GC(3) Concurrent Mark 47.405ms
[5.078s][info   ][gc,cpu       ] GC(3) User=0.05s Sys=0.06s Real=0.05s
[5.078s][info   ][gc           ] GC(3) Concurrent Preclean
[5.097s][info   ][gc           ] GC(3) Concurrent Preclean 19.111ms
[5.097s][info   ][gc,cpu       ] GC(3) User=0.03s Sys=0.01s Real=0.02s
[5.097s][info   ][gc           ] GC(3) Concurrent Abortable Preclean
[5.983s][info   ][gc,start     ] GC(4) Pause Young (Allocation Failure)
[5.983s][info   ][gc,task      ] GC(4) Using 4 workers of 4 for evacuation
[6.011s][info   ][gc,heap      ] GC(4) ParNew: 291092K->34048K(306688K)
[6.011s][info   ][gc,heap      ] GC(4) CMS: 20779K->20982K(2829568K)
[6.011s][info   ][gc,metaspace ] GC(4) Metaspace: 45913K->45913K(1091584K)
[6.011s][info   ][gc           ] GC(4) Pause Young (Allocation Failure) 304M->53M(3062M) 27.390ms
[6.011s][info   ][gc,cpu       ] GC(4) User=0.08s Sys=0.03s Real=0.02s
[7.165s][info   ][gc           ] GC(3) Concurrent Abortable Preclean 2067.352ms
[7.165s][info   ][gc,cpu       ] GC(3) User=4.86s Sys=1.51s Real=2.07s
[7.165s][info   ][gc,start     ] GC(3) Pause Remark
[7.190s][info   ][gc           ] GC(3) Pause Remark 192M->192M(3062M) 24.962ms
[7.190s][info   ][gc,cpu       ] GC(3) User=0.05s Sys=0.02s Real=0.02s
[7.191s][info   ][gc           ] GC(3) Concurrent Sweep
[7.195s][info   ][gc           ] GC(3) Concurrent Sweep 4.662ms
[7.195s][info   ][gc,cpu       ] GC(3) User=0.02s Sys=0.00s Real=0.00s
[7.195s][info   ][gc           ] GC(3) Concurrent Reset
[7.346s][info   ][gc           ] GC(3) Concurrent Reset 150.956ms
[7.346s][info   ][gc,cpu       ] GC(3) User=0.36s Sys=0.20s Real=0.16s
[7.346s][info   ][gc,heap      ] GC(3) Old: 20779K->19695K(2829568K)
[7.706s][info   ][gc,start     ] GC(5) Pause Young (Allocation Failure)
[7.706s][info   ][gc,task      ] GC(5) Using 4 workers of 4 for evacuation
[7.759s][info   ][gc,heap      ] GC(5) ParNew: 306688K->34048K(306688K)
[7.759s][info   ][gc,heap      ] GC(5) CMS: 19695K->34458K(2829568K)
[7.759s][info   ][gc,metaspace ] GC(5) Metaspace: 66547K->66547K(1110016K)
[7.759s][info   ][gc           ] GC(5) Pause Young (Allocation Failure) 318M->66M(3062M) 53.872ms
[7.759s][info   ][gc,cpu       ] GC(5) User=0.11s Sys=0.05s Real=0.05s
[8.118s][info   ][gc,start     ] GC(6) Pause Young (Allocation Failure)
[8.118s][info   ][gc,task      ] GC(6) Using 4 workers of 4 for evacuation
[8.153s][info   ][gc,heap      ] GC(6) ParNew: 306688K->24240K(306688K)
[8.153s][info   ][gc,heap      ] GC(6) CMS: 34458K->47325K(2829568K)
[8.153s][info   ][gc,metaspace ] GC(6) Metaspace: 67778K->67778K(1112064K)
[8.153s][info   ][gc           ] GC(6) Pause Young (Allocation Failure) 333M->69M(3062M) 34.380ms
[8.153s][info   ][gc,cpu       ] GC(6) User=0.06s Sys=0.05s Real=0.03s
[8.667s][info   ][gc,start     ] GC(7) Pause Young (Allocation Failure)
[8.667s][info   ][gc,task      ] GC(7) Using 4 workers of 4 for evacuation
[8.705s][info   ][gc,heap      ] GC(7) ParNew: 296880K->29194K(306688K)
[8.705s][info   ][gc,heap      ] GC(7) CMS: 47325K->57661K(2829568K)
[8.705s][info   ][gc,metaspace ] GC(7) Metaspace: 76569K->76569K(1120256K)
[8.705s][info   ][gc           ] GC(7) Pause Young (Allocation Failure) 336M->84M(3062M) 38.406ms
[8.706s][info   ][gc,cpu       ] GC(7) User=0.06s Sys=0.04s Real=0.04s
Still, the server reaches the state Starting mailbox...Done.
But with any of those 4 parameters above, it does not work.

Are those parameters important?
Can i take out some of the used parameters due to them not being in?
User avatar
andras0602
Advanced member
Advanced member
Posts: 62
Joined: Sat May 21, 2022 3:11 pm
ZCS/ZD Version: 8.8.15

Re: mailbox failing with specific mailboxd_java_options

Post by andras0602 »

I just checked mine and none of those flags are active on my server.
IMHO you can safely remove them.
Post Reply