1

I'm having an issue with my Mule application.

I'm running my Mule application on an Amazon Micro Instance, the app starts to insert massive data in a mysql database, suddenly mule application restarts itself leaving this in the log:

JVM exited unexpectedly.
JVM exited in response to signal SIGKILL 
9
...
...
...
Startup failed: Timed out waiting for signal from JVM.
JVM did not exit on request, terminated
JVM exited on its own while waiting to kill the application.
JVM exited in response to signal SIGKILL 
9
...
...
...

Could it be a memory of CPU amount issue because of the low resources offered by the Micro Instance? If not, what would be a good solution?

jonathanwiesel
  • 1,036
  • 2
  • 16
  • 35

4 Answers4

1

probably startup is too slow. Try to update timeout at conf/wrapper.conf:

# Increase the default startup timeout so that the JVM has enough
# time to download the required jars on a slow connection
wrapper.startup.timeout=1200
skioppetto
  • 153
  • 10
  • This can only happen if Mule comes up slowly. But it does not belong to the question, cause Mule is already up'n running and will be killed under high load.. – Ben Asmussen Jun 23 '19 at 15:46
0

Mule process will be controlled by the wrapper which also monitor the process. There can be different situations. For example the JVM will not answer under high load to the ping the wrapper has sent. The default configuration will kill (kill -9) the Mule process and restart.

Ben Asmussen
  • 964
  • 11
  • 15
0

I got a similar log error. Causes were:

  • incorrect jvm system properties: -M ...

https://docs.mulesoft.com/mule-runtime/4.3/mule-app-properties-system

  • ram less than 512m
  • ram more than hardware limit
  • java ram: xmx xms incorrect
JRichardsz
  • 14,356
  • 6
  • 59
  • 94
0

This is definitely memory issue. You do not have enough memory.

Since your memory is limited - optimize your solution to use streams instead of keeping values in memory/variables.

Alex
  • 4,457
  • 2
  • 20
  • 59