We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Hello folks. Got an devops related issue for an EE site that I need to know if I'm on the right trac

How Do I?

NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

Hello folks. Got an devops related issue for an EE site that I need to know if I’m on the right track to addressing.

Site is EE 7.4.x. PHP is 7.4 (yes, I know – in process of getting this addressed) The site has been going down - not crashing the server completely, but the frontend becomes unreachable, CF reports as “server down” but I can still SSH in. On DigitalOcean’s traffic graphs, the CPU is red-lined at 99.5-100%.

Of note – there is not a corresponding surge in traffic on CF or the DO graphs.

I didn’t happen to run ‘top’ before I implemented “under attack” mode yesterday, which made the CPU return to normal.

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

I’ve been running it since then, though.

       
User BULfYYMv's avatar
User BULfYYMv
25 posts
6 days ago
User BULfYYMv's avatar User BULfYYMv

Does the site have any really heavy query loops (channel:entries, etc) that need to be cached?

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

I watch php-fm7.4 occasionally spike to like 50% (a couple of them), then thereafter, mysql surges beyond 100%

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

It does do template caching on some things

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

since it’s on 7.4 atm we can’t install something like SPeedy, tho that is the plan once it’s on 8.2

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

My suspicion was that something in either PHP or mysql process was getting stuck to make the CPU redline and stay that way for more than just moments

       
User BULfYYMv's avatar
User BULfYYMv
25 posts
6 days ago
User BULfYYMv's avatar User BULfYYMv

What about storage?

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

disk? it’s at like 50%

       
User BULfYYMv's avatar
User BULfYYMv
25 posts
6 days ago
User BULfYYMv's avatar User BULfYYMv

Good to rule that out

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

it was almost 90% before but that is because of some image directories that were replicated unnecessarily. I got rid of those and it’s still having this problem

       
User BULfYYMv's avatar
User BULfYYMv
25 posts
6 days ago
User BULfYYMv's avatar User BULfYYMv

Any massive images in the user uploads? I’ve seen a 40mb+ image slow a site to a crawl because the transforms were taking a very long time.

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

We do have JCOGs installed to combat that, tho it’s set to not work (e.g. render the image) unless they keep it under 4MB now.

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

they absolutely did have big ones before but we advised them about that to knock it off. LOL in kinder words of course haha

       
NikiW's avatar
NikiW
22 posts
6 days ago
NikiW's avatar NikiW

i gotta run to an appt but i’ll check back later if there are more questions or suggestions for me to try.

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.