cancel
Showing results for 
Search instead for 
Did you mean: 

Is my JVM parameter setting correct?

Former Member
0 Kudos

Hi all,

I have installed ERP, Solution Manager and Gateway on a single host. I never had a stable environment and I assume that my JVM configuration is not correct.

Would you like to review my JVM parameters as shown below?

Host and system details:

  • I have installed an ERP system and Solution Manager on the same Windows box
  • The host is Amazon EC2 instance running Windows 2008R2 SP1 Server 64 bit (total memory 15 GB and Processing Power 8 ECUs) .
  • The ERP system is ERP 6.0 Support Release 3, MaxDB 7.8, Central System.
  • The Solution Manager 7.1 Support Release 1, MaxDB 7.8, Central System.
  • Gateway 2.0 on the top of the Solution Manager ABAP stack.
  • SAP MaxDB version 7.8.02.26, the ERP and Solution Manager have their own DB.

The initial size of the paging file is 23038 MB and the Maximum is 65536 MB.

Many thanks for your help.

Regards,

Andreas

details from server0 Java Server on Solution Manager:

---------------------------------------------------

trc file: "dev_server0", trc level: 1, release: "720"

---------------------------------------------------

node name   : ID3411450

pid         : 6684

system name : SM1

system nr.  : 00

started at  : Sun May 12 01:23:55 2013

arguments      :

      arg[00] : C:\usr\sap\SM1\DVEBMGS00\exe\jlaunch.exe

      arg[01] : pf=\\WEDOIT-HOST\sapmnt\SM1\SYS\profile\SM1_DVEBMGS00_WEDOIT-HOST

      arg[02] : -DSAPINFO=SM1_00_server

      arg[03] : pf=\\WEDOIT-HOST\sapmnt\SM1\SYS\profile\SM1_DVEBMGS00_WEDOIT-HOST

      arg[04] : -DSAPSTART=1

      arg[05] : -DCONNECT_PORT=49297

      arg[06] : -DSAPSYSTEM=00

      arg[07] : -DSAPSYSTEMNAME=SM1

      arg[08] : -DSAPMYNAME=WEDOIT-HOST_SM1_00

      arg[09] : -DSAPPROFILE=\\WEDOIT-HOST\sapmnt\SM1\SYS\profile\SM1_DVEBMGS00_WEDOIT-HOST

      arg[10] : -DFRFC_FALLBACK=ON

      arg[11] : -DFRFC_FALLBACK_HOST=localhost

**********************************************************************

Used property files

-> files [00] : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties

**********************************************************************

**********************************************************************

Bootstrap nodes

-> [00] bootstrap            : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties

-> [01] bootstrap_ID3411400  : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID3411450  : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties

**********************************************************************

**********************************************************************

Worker nodes

-> [00] ID3411400            : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties

-> [01] ID3411450            : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties

**********************************************************************

**********************************************************************

JStartupReadInstanceProperties: read instance properties [C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\instance.properties]

-> ms host    : WEDOIT-HOST

-> ms port    : 3901

-> OS libs    : C:\usr\sap\SM1\DVEBMGS00\j2ee\os_libs

-> Admin URL  :

-> run mode   : NORMAL

-> run action : NONE

-> enabled    : yes

**********************************************************************

[Thr 2004] Sun May 12 01:23:55 2013

[Thr 2004] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 2004] JLaunchRequestQueueInit: create pipe listener thread

[Thr 4896] JLaunchRequestFunc: Thread 4896 started as listener thread for np messages.

[Thr 6456] WaitSyncSemThread: Thread 6456 started as semaphore monitor thread.

[Thr 2004] JLaunchInitSignalHandling: signal handling is disabled

[Thr 2004] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=32768;cur=2048)

[Thr 2004] MPI: dynamic quotas disabled.

[Thr 2004] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%

[Thr 2004] CCMS: Detected Double Stack (parameter "rdisp/j2ee_start" is active)

[Thr 2004] CCMS uses Shared Memory Key 73 for monitoring.

[Thr 2004] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.

[Thr 2004] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.

[Thr 2004] CCMS: CCMS Monitoring Initialization finished, rc=0.

[Thr 2004] JStartupICheckFrameworkPackage: can't find framework package C:\usr\sap\SM1\DVEBMGS00\exe\jvmx.jar

**********************************************************************

JStartupIReadSection: read node properties [ID3411450]

-> node name          : server0

-> node type          : server

-> node execute       : yes

-> jlaunch parameters :

-> java path          : C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4

-> java parameters    : -XX:MaxNewSize=600M -XX:NewSize=600M -XX:MaxPermSize=512M -XX:PermSize=512M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:SurvivorRatio=4 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -XX:SoftRefLRUPolicyMSPerMB=1 -XX:HeapDumpPath=OOM.hprof -XX:+HeapDumpOnOutOfMemoryError -Djco.jarm=1 -Djava.awt.headless=true -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -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 -Dcom.sap.jvm.scenario=j2ee

-> java vm version    : 4.1.024 1.6-b04

-> java vm vendor     : SAP Java Server VM (SAP AG)

-> java vm type       : server

-> java vm cpu        : amd64

-> heap size          : 2048M

-> init heap size     : 2048M

-> stack size         : 2M

-> root path          : C:\usr\sap\SM1\DVEBMGS00\j2ee\cluster\server0

-> class path         : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> OS libs path       : C:\usr\sap\SM1\DVEBMGS00\j2ee\os_libs

-> main class         : com.sap.engine.boot.Start

-> framework class    : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path     : C:\usr\sap\SM1\DVEBMGS00\exe\jstartup.jar;C:\usr\sap\SM1\DVEBMGS00\exe\jvmx.jar

-> shutdown class     : com.sap.engine.boot.Start

-> parameters         :

-> debuggable         : no

-> debug mode         : no

-> debug port         : 50021

-> shutdown timeout   : 120 sec.

**********************************************************************

[Thr 2004] JLaunchISetDebugMode: set debug mode [no]

[Thr 4888] JLaunchIStartFunc: Thread 4888 started as Java VM thread.

**********************************************************************

JHVM_LoadJavaVM: VM Arguments of node [server0]

-> stack   : 2097152 Bytes

-> arg[  0]: exit

-> arg[  1]: abort

-> arg[  2]: vfprintf

-> arg[  3]: -XX:MaxNewSize=600M

-> arg[  4]: -XX:NewSize=600M

-> arg[  5]: -XX:MaxPermSize=512M

-> arg[  6]: -XX:PermSize=512M

-> arg[  7]: -XX:+UseConcMarkSweepGC

-> arg[  8]: -XX:+DisableExplicitGC

-> arg[  9]: -XX:TargetSurvivorRatio=90

-> arg[ 10]: -XX:SurvivorRatio=4

-> arg[ 11]: -XX:+PrintGCDetails

-> arg[ 12]: -XX:+PrintGCTimeStamps

-> arg[ 13]: -verbose:gc

-> arg[ 14]: -XX:SoftRefLRUPolicyMSPerMB=1

-> arg[ 15]: -XX:HeapDumpPath=OOM.hprof

-> arg[ 16]: -XX:+HeapDumpOnOutOfMemoryError

-> arg[ 17]: -Djco.jarm=1

-> arg[ 18]: -Djava.awt.headless=true

-> arg[ 19]: -Djava.security.policy=./java.policy

-> arg[ 20]: -Djava.security.egd=file:/dev/urandom

-> arg[ 21]: -Dsun.io.useCanonCaches=false

-> arg[ 22]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

-> arg[ 23]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

-> arg[ 24]: -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer

-> arg[ 25]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy

-> arg[ 26]: -Dcom.sap.jvm.scenario=j2ee

-> arg[ 27]: -Dsys.global.dir=C:\usr\sap\SM1\SYS\global

-> arg[ 28]: -Dapplication.home=C:\usr\sap\SM1\DVEBMGS00\exe

-> arg[ 29]: -Djava.class.path=C:\usr\sap\SM1\DVEBMGS00\exe\jstartup.jar;C:\usr\sap\SM1\DVEBMGS00\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> arg[ 30]: -Djava.library.path=C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\jre\bin\server;C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\jre\bin;C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\bin;C:\usr\sap\SM1\DVEBMGS00\j2ee\os_libs;C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\jre\bin\server;C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\jre\bin;C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\bin;C:\usr\sap\SM1\DVEBMGS00\j2ee\os_libs;C:\usr\sap\SM1\DVEBMGS00\exe;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Amazon\cfn-bootstrap\;C:\sap_downloads\SAPCAR\SAPCAR.EXE;C:\usr\sap\SM1\SYS\exe\uc\NTAMD64;C:\sapdb\clients\SM1\bin;C:\sapdb\clients\SM1\pgm;C:\sapdb\programs\bin

-> arg[ 31]: -Dmemory.manager=2048M

-> arg[ 32]: -Xmx2048M

-> arg[ 33]: -Xms2048M

-> arg[ 34]: -Xss2M

-> arg[ 35]: -DLoadBalanceRestricted=no

-> arg[ 36]: -Djstartup.mode=JCONTROL

-> arg[ 37]: -Djstartup.ownProcessId=6684

-> arg[ 38]: -Djstartup.ownHardwareId=C0758871570

-> arg[ 39]: -Djstartup.whoami=server

-> arg[ 40]: -Djstartup.debuggable=no

-> arg[ 41]: -Xjvmx

-> arg[ 42]: -XsapSystem=00

-> arg[ 43]: -XmonGcCallback

-> arg[ 44]: -DSAPINFO=SM1_00_server

-> arg[ 45]: -DSAPSTART=1

-> arg[ 46]: -DCONNECT_PORT=49297

-> arg[ 47]: -DSAPSYSTEM=00

-> arg[ 48]: -DSAPSYSTEMNAME=SM1

-> arg[ 49]: -DSAPMYNAME=WEDOIT-HOST_SM1_00

-> arg[ 50]: -DSAPPROFILE=\\WEDOIT-HOST\sapmnt\SM1\SYS\profile\SM1_DVEBMGS00_WEDOIT-HOST

-> arg[ 51]: -DFRFC_FALLBACK=ON

-> arg[ 52]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 53]: -DSAPSTARTUP=1

-> arg[ 54]: -DSAPSYSTEM=00

-> arg[ 55]: -DSAPSYSTEMNAME=SM1

-> arg[ 56]: -DSAPMYNAME=WEDOIT-HOST_SM1_00

-> arg[ 57]: -DSAPDBHOST=WEDOIT-HOST

-> arg[ 58]: -Dj2ee.dbhost=WEDOIT-HOST

**********************************************************************

Sun May 12 01:23:56 2013

(CompilerOracle read from file C:\usr\sap\SM1\DVEBMGS00\exe\sapjvm_4\jre\.hotspot_compiler)

[Thr 4888] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [server0]

**********************************************************************


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

what you mean with stable environment? what error do you face? how many users connect to this box?

Let me know

a

Former Member
0 Kudos

Hi a,

at one day, all systems are running and without any changes, I am not able to restart a system anymore. Some processes did not work in the past. I am hosting the SAP system in a virtual environment so that I am able to roll back the systems to the last persisted state. After that, all systems are working again.

Right now, it is just a single person using the system.

I am not a SAP admin so that I do not know the right configuration. I would like to know whether my JVM configuration makes sence.

Many thanks for your questions.

Regards,

Andreas