Did anyone experience around or after July 18, 2024 Lightsail CPU and burst availability resources being consumed by processes not related to actual traffic? If so, how did you solve it?

0

Our application is WordPress running in lightsail on an Ubuntu stack, Route 53 controls DNS, we have a load balancer out front and cloud front connected. On approximately July 18 having made no changes to our application or environment, we began to see a repeating cycle of between 62 to 90 minutes, that consumes CPU resources, eventually using up all available burst capacity. Of course because Lighsail doesn’t auto scale, the site was going down intermittently when resources ran out. So as a temporary countermeasure we spun up another instance and added it to the load balancer which is keeping things running for now. Screenshot of the resource metrics cycle primary instance 6 hour metrics pattern Note that we are certain that pattern is not following changes in traffic to the site. This pattern occurs even with no active sessions or traffic to the site. Did anyone see a similar experience beginning around July 18th And if so could you share what you learned about it and how to overcome it?

asked 10 months ago135 views
1 Answer
0

Hello.

Looking at the CPU usage rate, it seems to be intermittent, so is there any script that runs periodically within Lightsail?
Also, do you have any WordPress plugins that run periodically?
Have you checked the system logs for the relevant time period?

EXPERT
answered 10 months ago
  • Thanks for your reply Riku. Yes indeed it is intermittent with a pretty consistent interval as shown. We're working right now on mapping the WordPress plug-ins that have scheduled cronjobs with the CPU usage timeline. After that will move on to anything that might be running in Lightsail itself, though I don't yet know how to do that. I was actually hoping to find someone who had a similar had or has a similar experience and already identified something in Lightsail that was responsible at which point we would apply the same remedy and hopefully get the same result of the fix.

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