0

my website was down with at most 800 visitors. The server is running Ubuntu 18.06 and is a T3.XLARGE.

How could it have happened?

The error in sudo tail -n 20 /var/log/nginx/error.log was

connect() to unix:/run/php/php7.2-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream

How can I investigate further? which settings maybe I need to tune?

Thanks in advance

1 Answers1

0

Check the instance's CPU credits.

The T3 instance type is burstable, so it gets no fixed CPU allotment, but CPU usage credits over time. When these are used up you will not get any more CPU time.

mschuett
  • 3,216