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.

  • AWS Docker Golang. 'eb deploy' error
  • Docker random ports & AWS Elastic Load Balancer
  • botocore.exceptions.EndpointConnectionError from inside Mac Docker container
  • docker: possible to create a single file with binaries and packages installed?
  • Docker Swarm - Network Overlay not connecting all containers
  • Java Spring Hibernate application runs on local, but not in aws's ecs docker
  • 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

  • Parse a variable with the result of a command in DockerFile
  • Docker Compose Up gives “The system cannot find the file specified.” error
  • custom logs in docker
  • ERROR: (gcloud.preview) Invalid choice: 'docker'. Did you mean 'dm-v2'?
  • Unable to push a plugin using docker plugin push command
  • CoreOS - Unable to access /mnt due to Permissions issue on /var/lib/docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.