Sometimes workbench become unresponsive and content promotion start failing and start giving following types of exceptions:-
1. 27.02.2016 05:24:20.123 *WARN* [New I/O server worker #1-40] org.jboss.netty [org.jboss.netty.channel.socket.nio.NioWorker] Unexpected exception in the selector loop. (java.lang.OutOfMemoryError: GC overhead limit exceeded) java.lang.OutOfMemoryError: GC overhead limit exceeded
2. 27.02.2016 11:36:20.129 *WARN* [Thread-59] com.endeca.ifcr.content.server.PromotionSite channel: [id: 0x43cb8e6d, /IP Address:58846 => /IP Adress:8007] did not respond to 1 heartbeats.
3. 27.02.2016 09:33:20.239 *ERROR* [WB host] org.apache.sling.extensions.threaddump.internal.Activator Uncaught exception in Thread Thread[WBhost] java.lang.OutOfMemoryError: Java heap space
Solution:-
The Workbench application of Tools and Framework is stored within a Tomcat instance. Sometimes the Endeca project configuration can become large enough where the maximum heap needs to be increased.
This can be adjusted the maximum heap size to Tomcat JVM by editing the -Xmx value. The default value is 1 GB. Change this to -Xmx2048m to specify a 2 GB maximum heap size or higher as per need.
Goto $ENDECA_TOOLS_ROOT/server/bin/workbench.sh and modify Xmx settingf below.
CATALINA_OPTS="${WB_CATALINA_OPTS} -Xms256m"
CATALINA_OPTS="${CATALINA_OPTS} -Xmx2G"
Note:- Restart Endeca Tools and fFramework after making changes.
1. 27.02.2016 05:24:20.123 *WARN* [New I/O server worker #1-40] org.jboss.netty [org.jboss.netty.channel.socket.nio.NioWorker] Unexpected exception in the selector loop. (java.lang.OutOfMemoryError: GC overhead limit exceeded) java.lang.OutOfMemoryError: GC overhead limit exceeded
2. 27.02.2016 11:36:20.129 *WARN* [Thread-59] com.endeca.ifcr.content.server.PromotionSite channel: [id: 0x43cb8e6d, /IP Address:58846 => /IP Adress:8007] did not respond to 1 heartbeats.
3. 27.02.2016 09:33:20.239 *ERROR* [WB host] org.apache.sling.extensions.threaddump.internal.Activator Uncaught exception in Thread Thread[WBhost] java.lang.OutOfMemoryError: Java heap space
Solution:-
The Workbench application of Tools and Framework is stored within a Tomcat instance. Sometimes the Endeca project configuration can become large enough where the maximum heap needs to be increased.
This can be adjusted the maximum heap size to Tomcat JVM by editing the -Xmx value. The default value is 1 GB. Change this to -Xmx2048m to specify a 2 GB maximum heap size or higher as per need.
Goto $ENDECA_TOOLS_ROOT/server/bin/workbench.sh and modify Xmx settingf below.
CATALINA_OPTS="${WB_CATALINA_OPTS} -Xms256m"
CATALINA_OPTS="${CATALINA_OPTS} -Xmx2G"
Note:- Restart Endeca Tools and fFramework after making changes.
No comments
Post a Comment
Note: Only a member of this blog may post a comment.