Mule ESB重启自己

时间:2013-03-13 22:43:29

标签: mysql memory-management mule

我的Mule应用程序出现问题。

我在Amazon Micro Instance上运行我的Mule应用程序,应用程序开始在mysql数据库中插入大量数据,突然mule应用程序重新启动,将其留在日志中:

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
...
...
...

由于Micro Instance提供的资源不足,它可能是CPU数量问题的记忆吗?如果没有,那会是一个好的解决方案吗?

4 个答案:

答案 0 :(得分:1)

可能启动太慢了。尝试在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

答案 1 :(得分:0)

M子进程将由wrapper控制,该JVM还会监视进程。可能有不同的情况。例如,wrapper在高负载下不会响应kill -9发送的ping。默认配置将终止({{1}})Mule进程并重新启动。

答案 2 :(得分:0)

我遇到了类似的日志错误。原因是:

  • 不正确的jvm系统属性:-M ...

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

  • 内存不足512m
  • 超出硬件限制
  • java ram:xmx xms错误

答案 3 :(得分:0)

这绝对是内存问题。您没有足够的内存。

由于内存有限,请优化解决方案以使用流,而不是将值保留在内存/变量中。