502 bad gateway error

0

We have EC2 server and RDS with Mysql. We configured db.t3.medium with 2 CPU and 4gb Ram We are encountering with a problem status saying 502 Bad Gateway around 2-3 times in a week, where can I find the exact reason for the same. (Php is our development code and mysql is database)

1개 답변
0

Check the application log for error or warning logs in the vicinity of the 502 error.
Also, is there a heavy load or a large number of accesses to EC2 or RDS during the time period when the 502 error occurred?

profile picture
전문가
답변함 일 년 전
  • looks like during the heavy load,but cpu utilization is only 25%,database connection also less than 10

  • What applications are you running on EC2? Please also provide information about the web server you are using and other information.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠