[quote user="1415bhwong"]Hi Stasouv,
Please share where are the Java components in the lib folders that we can move out.[/QUOTE]
Well, it's been long so my memory fails me, but you could start looking in:
/opt/zimbra/lib/jars
/opt/zimbra/lib/ext*/*
/opt/zimbra/zimlet*
Hint: Check the dates... Old components should date way back then the new ones.
High Java CPU usage question
-
- Advanced member
- Posts: 57
- Joined: Fri Sep 12, 2014 11:11 pm
High Java CPU usage question
Thank you Stasouv and bhwong, this might be the problemsolver.
So weird no Zimbra-teammember is helping us out here.
Roderick
So weird no Zimbra-teammember is helping us out here.
Roderick
High Java CPU usage question
[quote user="mrcoffee11"]So weird no Zimbra-teammember is helping us out here.[/QUOTE]Why? These are Community support forums not official Zimbra support and people post here voluntarily and when they have the time.
-
- Outstanding Member
- Posts: 498
- Joined: Sat Sep 13, 2014 12:03 am
High Java CPU usage question
This option, especially PermSize, help to prevent Java for mailboxd from hitting 100% too:
zmlocalconfig -e mailboxd_java_options="-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”
zmlocalconfig -e mailboxd_java_options="-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”
-
- Outstanding Member
- Posts: 498
- Joined: Sat Sep 13, 2014 12:03 am
High Java CPU usage question
If you are on single server, ensure that memcached is not running too.
Check which services are running and installed:
zmprov gs `zmhostname` | grep zimbraServiceEnabled
zmprov gs `zmhostname` | grep zimbraServiceInstalled
disable and remove memcached:
zmprov ms `zmhostname` -zimbraServiceEnabled memcached
zmprov ms `zmhostname` -zimbraServiceInstalled memcached
zmcontrol stop
zmcontrol start
Check which services are running and installed:
zmprov gs `zmhostname` | grep zimbraServiceEnabled
zmprov gs `zmhostname` | grep zimbraServiceInstalled
disable and remove memcached:
zmprov ms `zmhostname` -zimbraServiceEnabled memcached
zmprov ms `zmhostname` -zimbraServiceInstalled memcached
zmcontrol stop
zmcontrol start
-
- Advanced member
- Posts: 57
- Joined: Fri Sep 12, 2014 11:11 pm
High Java CPU usage question
[quote user="10330phoenix"]Why? These are Community support forums not official Zimbra support and people post here voluntarily and when they have the time.[/QUOTE]
I see, thanks. This problem has been out there for years in several threads and so many people tried different solutions but it was never solved, so that's why I placed my remark the community needed input from the Zimbra team.
I see, thanks. This problem has been out there for years in several threads and so many people tried different solutions but it was never solved, so that's why I placed my remark the community needed input from the Zimbra team.
High Java CPU usage question
[quote user="mrcoffee11"]I see, thanks. This problem has been out there for years in several threads and so many people tried different solutions but it was never solved, so that's why I placed my remark the community needed input from the Zimbra team.[/QUOTE]Various problems with java have been addressed in previous releases of Zimbra, if you want to get the attention of Zimbra developers then file a bug report - that's the correct place for bug if you think that's what is happening on your server.