Hi Guys,
I am a newbie to Dynatrace software. I installed Dynatrace 4.1.0 on my local machine. I can start Dynatrace web server agent and analysis server but cannot start Dynatrace Server. I attached the screen of error message and piece of server log. Is there any body having the same issue? Could you please help me out here?
The server log:
2012-02-09 13:24:07 debug [native] Starting "dynaTrace Server 4.1.0" as service...
2012-02-09 13:24:07 info [native] -----------------------------------------------------------------------------
2012-02-09 13:24:07 info [native] dynaTrace Server, Copyright (C) 2004-2011, dynaTrace software GmbH
2012-02-09 13:24:07 info [native] -----------------------------------------------------------------------------
2012-02-09 13:24:07 info [native] Native Launcher version: 4.1.0.2898 - built 2011-12-22 13:47:49 +0100
2012-02-09 13:24:07 info [native] Starting service "dynaTrace Server 4.1.0"...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 14376
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 14376 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 15520
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 15520 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 13456
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 13456 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 15132
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 15132 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 severe [native] Restart counter exceeded the maximum of 3 restarts in sequence (time delay between restarts less than 60 seconds)
2012-02-09 13:24:08 info [native] dynaTrace Server terminated
2012-02-09 13:24:08 severe [native] Service exit code: 1
2012-02-09 13:24:08 debug [native] Service "dynaTrace Server 4.1.0" was stopped.
2012-02-09 13:24:07 debug [native] Starting "dynaTrace Server 4.1.0" as service...
2012-02-09 13:24:07 info [native] -----------------------------------------------------------------------------
2012-02-09 13:24:07 info [native] dynaTrace Server, Copyright (C) 2004-2011, dynaTrace software GmbH
2012-02-09 13:24:07 info [native] -----------------------------------------------------------------------------
2012-02-09 13:24:07 info [native] Native Launcher version: 4.1.0.2898 - built 2011-12-22 13:47:49 +0100
2012-02-09 13:24:07 info [native] Starting service "dynaTrace Server 4.1.0"...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 14376
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 14376 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 15520
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 15520 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 13456
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 13456 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 info [native] Restarting dynaTrace Server...
2012-02-09 13:24:07 info [native] Launcher configuration summary for dynaTrace Server:
2012-02-09 13:24:07 info [native] Launcher: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.exe
2012-02-09 13:24:07 info [native] Java VM: C:\Program Files\dynaTrace\dynaTrace 4.1.0\jre\bin\java.exe
2012-02-09 13:24:07 info [native] Java version: 1.6.0_27 32-Bit
2012-02-09 13:24:07 info [native] Working directory: C:\Program Files\dynaTrace\dynaTrace 4.1.0\server
2012-02-09 13:24:07 info [native] Configuration file: C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
2012-02-09 13:24:07 info [native] Pid file: C:\DOCUME~1\LOCALS~1\LOCALS~1\Temp\dtserver.pid
2012-02-09 13:24:07 info [native] Native watchdog enabled, port: 50001, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2012-02-09 13:24:07 info [native] Process created successfully, pid: 15132
2012-02-09 13:24:07 info [java ] ServerHelperAgent loaded
2012-02-09 13:24:07 info [java ] Error occurred during initialization of VM
2012-02-09 13:24:07 info [java ] Could not reserve enough space for object heap
2012-02-09 13:24:07 severe [java ] Could not create the Java virtual machine.
2012-02-09 13:24:07 info [native] Process 15132 terminated, exitcode: 1
2012-02-09 13:24:07 severe [native] Process terminated unexpectedly!
2012-02-09 13:24:07 severe [native] Restart counter exceeded the maximum of 3 restarts in sequence (time delay between restarts less than 60 seconds)
2012-02-09 13:24:08 info [native] dynaTrace Server terminated
2012-02-09 13:24:08 severe [native] Service exit code: 1
2012-02-09 13:24:08 debug [native] Service "dynaTrace Server 4.1.0" was stopped.
Answer by Rob V. ·
It sounds like you are out of memory on your machine. For getting started purposes, just run with the dynaTrace server service started. You do not need to start up the Analysis Server or the collector service. Those are "extras" for "real" installations. For demo purposes on your machine the server service is all you need.
Rob
Thanks for quick help here, Rob! I just tried to stop web server agent, collector and analysis server and tried to only start Dynatrace Server but the same error shows and the same server log stating not enough space for object heap. My machine has 3 GB of ram. And now i only use about 30% of CPU
Hi Wanqi -
So next steps... How much free memory do you have (using Task Manager or something to see)? the dT server will come up wanting to allocate around 800M for its JVM. Do you have that much free?
You could lower this manually, by editing the server's startup INI file. Go here:
C:\Program Files\dynaTrace\dynaTrace 4.1.0\dtserver.ini
and you will see the arguments -Xmx and -Xms. You can try lowering them to 512 to see if that gets you started.
Does that let it come up?
Answer by Christian S. ·
just a little background about your JVM problem:
if you start a (HotSpot) JVM as a 32-bit process, you'll only be able to allocate around 1400M of heap at most. if you try more you get the error as seen above.
if you start it as a 64-bit process (requiring a 64-bit OS and 64-bit CPU, of course), you'll be able to allocate basically all the memory you've got left.
best,
Christian
JANUARY 15, 3:00 PM GMT / 10:00 AM ET