Web server regional slowdown

0

We have an AWS ELB web-server and have several customers over the past 2wk in the central time-zone that had slow response times and, in some cases, 504s. The load-balancer is auto-scaling and we have scheduled scaling to handle peak times but customer are still reporting the issues. I'm not sure where to begin because it does appear regional and the logs don't show errors...but the ELB console does show occasional events like "Environment health has transitioned from Ok to Warning. 37.0 % of the requests are erroring with HTTP 4xx."

asked 7 months ago145 views
1 Answer
0

Hello.

Even if the ELB is reporting 4XX errors, they might be caused by the application behind it. Inspect application logs to find any errors or anomalies. If you’re using an application like WordPress, check the PHP error logs. If you’re using a custom application, look at the specific logs it generates. If your application relies on a database, ensure that the database isn’t the bottleneck. Look for slow queries, high CPU utilization, or issues with IOPS. Consider using Amazon RDS Performance Insights or third-party tools to analyze database performance.

Regards, Andrii

profile picture
EXPERT
answered 7 months ago
  • Thank you, I dug in a saw a bunch of these "[error] 2876#2876: *701 upstream timed out (110: Connection timed out) while reading response header from upstream," in the nginx logs. I also noticed the Aurora serverless DB was pegged so we've increased resources there. Hopefully that does it...

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions