Answer the question
In order to leave comments, you need to log in
Long php script results in 502 Nginx without self-healing, php-fpm not responding, how to find the cause?
Hi all.
A service on Laravel, consisting of a bunch of docker-compose (nginx + php-fpm 7.1.2) raised on t2.medium (two cores), hanging under LoadBalancer (AWS) + AutoScaling (AWS) is called via cron at 5 am. The script runs for about an hour and a half.
Problem : while the script is running, after 5 minutes, AWS shows the service as unhealthy - when calling the service (by IP), nginx throws 502. docker logs web_container
issues
*AWESOME_IP*- - [02/Mar/2018:05:05:26 +0000] "GET / HTTP/1.1" 499 0 "-" "ELB-HealthChecker/2.0" "-"
Primary script unknown
Status: 404 Not Found
X-Powered-By: PHP/7.1.14
Content-type: text/html; charset=UTF-8
File not found.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question