Git updating PHP system in production increases CPU consumption

0

I'm looking for ways to upgrade a PHP system into production, which is in AWS. I started using the codecommit, an Amazon GIT repository, and when I have updates, I commit to the production branch and a script updates the load balancer machines.

I'm seeing that when I pull to update the instances, the CPU consumption goes to 100%. After a while, 30 seconds to 2 minutes, consumption returns to normal.

This causes auto sacalling to start new instances that are not required.

Does anyone know why this might be happening? Is there any better way to update a PHP system in production? Any tips?

    
asked by anonymous 06.04.2018 / 15:59

0 answers