Hi All,
When business hour it was high load Portal get restarts intermittently .
It is a dedicated portal system to integrating with BI,BW CRM and ECC systems.
SAP System:
SAP Netwear as Java system 7.2 SP7
Operating system Details:
System type x64 bit windows server 2008 R2 Enterprise
1.Processor: intel(R) Xeon(R) CPU 3.00GHz,3000 MHz 4 Cores ,4 Logical
2.Processor: intel(R) Xeon(R) CPU 3.00GHz,3000 MHz 4 Cores ,4 Logical
3.Total Physical Memory =64 GB
Aailable Physical Memory=44Gb
Total virtual memory =79 Gb
available virtual memory =59 Gb
page file space=16 Gb
In cluster environment there are Two instances, each instance having two server node.The heap memory is 2gb for server nodes.
Java parameters are set as below for JVM version 4.1:
-Xms2048M
-XX:MaxNewSize=600M
-XX:NewSize=600M
-XX:MaxPermSize=512M
-XX:PermSize=512M
-Xss2M
-XX:+DisableExplicitGC
-XX:TargetSurvivorRatio=90
-XX:SurvivorRatio=4
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-verbose:gc
-XX:SoftRefLRUPolicyMSPerMB=1
-Djco.jarm=1
-Djava.awt.headless=true
-Djava.security.policy=./java.policy
-Dsun.io.useCanonCaches=false
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-XX:+UseConcMarkSweepGC
-XX:HeapDumpPath=OOM.hprof
-XX:+HeapDumpOnOutOfMemoryError
-Djava.security.egd=file:/dev/urandom
-Dcom.sap.jvm.scenario=j2ee
Dispatcher:
-Xms256M
-Xss2M
-verbose:gc
-Djava.security.policy=./java.policy
-XX:+UseConcMarkSweepGC
-Dcom.sap.jvm.scenario=j2ee
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-----------------------------
Thread manager =150
Application thread manager= 300
I am facing OutofMemoryErro issues:
Heap
par new generation reserved 614400K, committed 614400K, used 511973K [0x000000007fff0000, 0x00000000a57f0000, 0x00000000a57f0000)
eden space 409600K, 100% used [0x000000007fff0000, 0x0000000098ff0000, 0x0000000098ff0000)
from space 102400K, 99% used [0x000000009f3f0000, 0x00000000a57e9490, 0x00000000a57f0000)
to space 102400K, 0% used [0x0000000098ff0000, 0x0000000098ff0000, 0x000000009f3f0000)
concurrent mark-sweep generation
================================================================================
getThreadDump : Thu Oct 02 14:20:56 2014
FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
================================================================================
reserved 1482752K, committed 1482752K, used 1482751K [0x00000000a57f0000, 0x00000000ffff0000, 0x00000000ffff0000)
================================================================================
getThreadDump : Thu Oct 02 14:20:56 2014
FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
================================================================================
concurrent-mark-sweep perm gen reserved 524288K, committed 524288K, used 288361K [0x00000000ffff0000, 0x000000011fff0000, 0x000000011fff0000)
Am not too sure about adjusting heap size although I seem to remember seeing an SAP Note that contained some recommendations.
Your help is really appreciated!
Thanks