AWS ElasticBeanstalk:容器不断重启

我试图在AWS上部署一个多容器docker Elastic Beanstalk集群,我的情况是;

  • 我有7个docker集装箱,其中六个是Scala应用程序,每个在端口9000上监听HTTPstream量。
  • 第一个容器是一个nginx代理容器,只是对其他容器进行proxy_pass

我所看到的是很奇怪的,我似乎无法知道以何种方式调整它 – 我的容器似乎开始正常,但不知何故,他们的启动不断被一些东西打断,所有的容器被告知重新启动。

这是罪魁祸首的样子。

 ------------------------------------- /var/log/containers/centralapp-core-867cf4f2655c-stdouterr.log ------------------------------------- Play server process ID is 1 [[37minfo[0m] play - database [default] connected at jdbc:mysql://some-mysql-server/somedb-core?characterEncoding=UTF-8 [DEBUG] [09/23/2015 16:30:25.591] [main] [EventStream(akka://application)] logger log1-Logging$DefaultLogger started [DEBUG] [09/23/2015 16:30:25.593] [main] [EventStream(akka://application)] Default Loggers started ------------------------------------- /var/log/containers/centralapp-push-play-697ba6e223db-stdouterr.log ------------------------------------- Play server process ID is 1 [[37minfo[0m] play - database [default] connected at jdbc:mysql://some-mysql-server/somedb-push?characterEncoding=UTF-8 [[37minfo[0m] application - Push system starting at 2015-09-23T16:39:33.223Z [INFO] [09/23/2015 16:39:34.582] [main] [Remoting] Starting remoting [INFO] [09/23/2015 16:39:35.186] [main] [Remoting] Remoting started; listening on addresses :[akka.tcp://[email protected]:2552] [INFO] [09/23/2015 16:39:35.196] [main] [Remoting] Remoting now listens on addresses: [akka.tcp://[email protected]:2552] [[37minfo[0m] play - Starting application default Akka system. [[37minfo[0m] application - OK: Actor[akka://application/user/PushMaster#-733988473] [[37minfo[0m] play - Application started (Prod) [[37minfo[0m] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000 [[37minfo[0m] play - Shutdown application default Akka system. [INFO] [09/23/2015 16:39:39.307] [application-akka.remote.default-remote-dispatcher-14] [akka.tcp://[email protected]:2552/system/remoting-terminator] Shutting down remote daemon. [INFO] [09/23/2015 16:39:39.310] [application-akka.remote.default-remote-dispatcher-14] [akka.tcp://[email protected]:2552/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [09/23/2015 16:39:39.367] [ForkJoinPool-3-worker-3] [Remoting] Remoting shut down [INFO] [09/23/2015 16:39:39.368] [application-akka.remote.default-remote-dispatcher-14] [akka.tcp://[email protected]:2552/system/remoting-terminator] Remoting shut down. ------------------------------------- /var/log/containers/centralapp-core-48fc5c7201d9-stdouterr.log ------------------------------------- Play server process ID is 1 [[37minfo[0m] play - database [default] connected at jdbc:mysql://some-mysql-server/somedb-core?characterEncoding=UTF-8 [DEBUG] [09/23/2015 16:30:03.712] [main] [EventStream(akka://application)] logger log1-Logging$DefaultLogger started [DEBUG] [09/23/2015 16:30:03.713] [main] [EventStream(akka://application)] Default Loggers started 
  • 这是日志结束的地方。

看起来像是EB认为部署失败了,它试图重新部署一切。

这背后的原因是什么?

谢谢。