AWS Elastic Beanstalk Docker PHP application

I have a docker container running on AWS EB on a t1.micro, which is a PHP application that loops through some tasks, sleeps for a few minutes, and loops through its tasks again. Tasks involve moving some data on an FTP, and updating records from a Redis store.

It always builds and runs fine, but after a day the health of the application changes to “Warning”, the causes state that CPU is running at 100%, I don’t see any activity on the FTP that it processes, and the logs show nothing indicating the application failing.

  • Choosing the right AWS Services and software tools
  • Detect if my app runs in Azure
  • Restarting machines in a docker swarm on AWS
  • NGINX & Consul-Template in Docker
  • Persistent mysql data from docker container
  • Can't access docker image from EC2 server
  • Is this just a case of upgrading the EC2 instance to a higher spec? Or is there a flaw in the way i’m running the container that would release resource after each iteration.

    Thanks

  • How do I start tensorflow docker jupyter notebook
  • how to ignore some container when i run `docker-compose rm`
  • Pushing to docker registry fails: Error mounting /dev/mapper/…: device or resource busy
  • php support for mongoDB
  • Understanding different Docker components
  • Docker Network inside a container partially working
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.