Carbonio CE - after...
 
Notifications
Clear all

Carbonio CE - after upgrade threads are increasing

5 Posts
3 Users
0 Reactions
185 Views
(@manu67a)
New Member
Joined: 1 year ago
Posts: 5
Topic starter  

Hi All,

 

I upgraded a working carbonio CE from 24.9.0 to 24.12.

Everything seemed fine until my monitoring alerted me about increasing threads.

Looking at my threads graph, indeed there is a steady growth of the threads.

using the command: ps -eo nlwp,pid,cmd --sort=-nlwp | head

The culprit is:

5804 7867 /opt/zextras/common/bin/java -Dfile.encoding=UTF-8 -server -Dhttps.protocols=TLSv1.2,TLSv1.3 -Djdk.tls.client.protocols=TLSv1.2,TLSv1.3 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=60 -Dorg.apache.jasper.compiler.disablejsr199=true -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=15 -XX:G1MaxNewSizePercent=45 -XX:-OmitStackTraceInFastThrow -verbose:gc -Xlog:gc*=info,safepoint=info:file=/opt/zextras/log/gc.log:time:filecount=20,filesize=10m -Djava.security.egd=file:/dev/./urandom --add-opens java.base/java.lang=ALL-UNNAMED -Xss256k -Dlog4j.configurationFile=/opt/zextras/conf/log4j.properties -Xms3993m -Xmx3993m -Djava.io.tmpdir=/opt/zextras/mailboxd/work -Djava.library.path=/opt/zextras/lib -Dzimbra.config=/opt/zextras/conf/localconfig.xml -cp /opt/zextras/mailbox/jars/mailbox.jar:/opt/zextras/mailbox/jars/* com.zextras.mailbox.Mailbox

The first value is the amount of threads the process is using.

Do you guys have observed the same behavior or have any hint for me how to solve that ?

Thanks in advance.

 


   
Quote
(@albert_font)
New Member
Joined: 1 month ago
Posts: 1
 

I recently upgraded the mail server and detected the same problem.


   
ReplyQuote
(@sharif)
Estimable Member Admin
Joined: 3 years ago
Posts: 637
 

@albert_font 

@manu67a

Hi,

Could you please share some more details including behaviors so that I can discuss it with devs?

regards,


   
ReplyQuote
(@manu67a)
New Member
Joined: 1 year ago
Posts: 5
Topic starter  

Hi @sharif,

Thanks for reaching out and happy to do so but in private.

What I can tell in public here is that I did more research on it with strace and jstack.

I have some stuff like:

"qtp332149166-15054" #15054 prio=5 os_prio=0 cpu=0.48ms elapsed=347.74s tid=0x00007efe8048bae0 nid=0x2f3a98 waiting on condition [0x00007efe447fe000]
"qtp332149166-15034" #15034 prio=5 os_prio=0 cpu=0.79ms elapsed=347.74s tid=0x00007efeb0191bc0 nid=0x2f3a9e waiting on condition [0x00007efe4467e000]
"qtp332149166-15062" #15062 prio=5 os_prio=0 cpu=0.57ms elapsed=347.73s tid=0x00007eff59dbd6a0 nid=0x2f3aa0 waiting on condition [0x00007efe445fe000]

Happy to share some logs in private.

Please advise how to proceed.

Thanks

Manu


   
ReplyQuote
(@manu67a)
New Member
Joined: 1 year ago
Posts: 5
Topic starter  

Problem is still present. I have to restart Carbio evry few days to maintain an acceptable threads value.


   
ReplyQuote