Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Manish Kumar Jaiswal
Adding GC Parameter gives some error msg in Monitoring tool nagios
March 20, 2012 6:57 AM
Answer

Manish Kumar Jaiswal

Rank: Regular Member

Posts: 133

Join Date: November 25, 2008

Recent Posts

Hi ,
I have a linux server of Liferay which is m1.large type with 2 core and 7.5 GB RAM , when I add -XX:+UseConcMarkSweepGC parameter in settings it start showing.

"UNKNOWN - Error: 404 javax.management.InstanceNotFoundException : java.lang:name=PS MarkSweep,type=GarbageCollectorjavax.management.InstanceNotFoundException: java.lang:name=PS MarkSweep,type=GarbageCollector"
in Monitoring tools , Is this a issue of concern ? or can I move ahead with these settings

export JAVA_OPTS="$JAVA_OPTS -server -XX:NewSize=700m -XX:MaxNewSize=700m -Xms2048m -Xmx2048m -XX:MaxPermSize=1G -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XXemoticonarallelGCThreads=2 -XX:+CMSCompactWhenClearAllSoftRefs -Duser.timezone=UTC -Dfile.encoding=UTF8 -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config -Dstage=cloud"
Hitoshi Ozawa
RE: Adding GC Parameter gives some error msg in Monitoring tool nagios
March 24, 2012 6:23 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Are you using JBoss? Are you sure this is not JBoss issue rather than Liferay issue?