Skip to Content

When business hour it was high load Portal get restarts intermittently

Hi All,


It is a dedicated portal system to integrating with BI,BW CRM and ECC systems.

SAP System:

SAP Netwear as Java system 7.02 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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Dec 02, 2014 at 08:16 AM

    Hi Ravi,

    Check the below SAP Notes, you can solve your issue.

    Note 1329704 - Repetitive J2EE server restarts due to Out of Memory

    Note 723909 - Java VM settings for J2EE 6.40/7.0


    Increase and check perm size with the java config tool on all server nodes of this system.

    -XX:MaxPermSize and PermSize

    Check SAP Note 710146 - How to change J2EE Engine JVM Settings.

    Check SAP recommendation

    1603093 - "SAP JVM 4.1 parameters NetWeaver 2004 and 7.0"

    Regards,

    V Srinivasan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2014 at 03:43 PM

    Hi Ravi,

    You should be able and find hprof files that are created in the directory of the server that crashed.

    Those files can be analyzed using the memory analyser tool which is provided as an eclipse plugin.

    Please refer to http://www.eclipse.org/proposals/memory-analyzer/ for details.

    I suggest that you open a message to SAP on the BC-JAS-COR component to perform iniial analisys of the cause of the OutOfMemeory and if it is related to SAP code or custom code you have.

    Best Regards,

    Dror.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2014 at 02:34 PM

    if you have enough resource, you can add more server node to see if it helps.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.