Wordpress site overloads the server, shutting down db gets server normalamazon RDS Security Groups IssueCloudflare performance, ddosServer does not load WordPress - No HTML nor PHP ErrorsHow to troubleshoot slow performance on AWS EC2/RDS?Terrible performance of Wordpress site on Amazon EC2 + apache2 + ubuntu server 12.04Reducing AWS EC2 Instance and RDS - Is 'low' Network Performance acceptable?Identifying Traffic from Amazon to EC2 InstanceEC2 Instance in healthy state in ELB, but still give 503 backend server is at capacityNew webserver becomes unresponsive, unexplained random load spikesWordpress Server sending bad request to itself and crashing apache
What is the most expensive material in the world that could be used to create Pun-Pun's lute?
All ASCII characters with a given bit count
Can I criticise the more senior developers around me for not writing clean code?
Could moose/elk survive in the Amazon forest?
Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?
What does "function" actually mean in music?
Can someone publish a story that happened to you?
Is Electric Central Heating worth it if using Solar Panels?
Where was the County of Thurn und Taxis located?
My bank got bought out, am I now going to have to start filing tax returns in a different state?
Crossed out red box fitting tightly around image
Island of Knights, Knaves and Spies
Co-worker works way more than he should
As an international instructor, should I openly talk about my accent?
Drawing a german abacus as in the books of Adam Ries
How exactly does Hawking radiation decrease the mass of black holes?
Prove that the countable union of countable sets is also countable
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
Negative Resistance
Why doesn't the standard consider a template constructor as a copy constructor?
How can I practically buy stocks?
A strange hotel
Why did C use the -> operator instead of reusing the . operator?
What does a straight horizontal line above a few notes, after a changed tempo mean?
Wordpress site overloads the server, shutting down db gets server normal
amazon RDS Security Groups IssueCloudflare performance, ddosServer does not load WordPress - No HTML nor PHP ErrorsHow to troubleshoot slow performance on AWS EC2/RDS?Terrible performance of Wordpress site on Amazon EC2 + apache2 + ubuntu server 12.04Reducing AWS EC2 Instance and RDS - Is 'low' Network Performance acceptable?Identifying Traffic from Amazon to EC2 InstanceEC2 Instance in healthy state in ELB, but still give 503 backend server is at capacityNew webserver becomes unresponsive, unexplained random load spikesWordpress Server sending bad request to itself and crashing apache
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Hi I have a wordpress site running on EC2 and RDS. All of a sudden the site won't load and on investigating I see that the server load is at 15 and increasing rapidly.
I remove access of this EC2 from the RDS security group and the server gets back to normal. Now has a load of 0.07
The moment I allow the server to connect with the db that is the RDS the load spikes and server gets irresponsive.
I suspect its a hack? I have daily backups of both EC2 and RDS and can restore it to a state when it was working well, but I want to find out what is causing this. This has happened before when I had updated the plugins and back then I had just done a restore to a previous state and everything got back to working.
Can someone guide me into how I can pinpoint what script or backdoor is open and causing this?
Additional Data
The site is running behind cloudflare so I doubt that it is DDOS attack.
Here is a screen grab of htop with access to RDS enabled
amazon-web-services linux-networking wordpress ubuntu-18.04
add a comment |
Hi I have a wordpress site running on EC2 and RDS. All of a sudden the site won't load and on investigating I see that the server load is at 15 and increasing rapidly.
I remove access of this EC2 from the RDS security group and the server gets back to normal. Now has a load of 0.07
The moment I allow the server to connect with the db that is the RDS the load spikes and server gets irresponsive.
I suspect its a hack? I have daily backups of both EC2 and RDS and can restore it to a state when it was working well, but I want to find out what is causing this. This has happened before when I had updated the plugins and back then I had just done a restore to a previous state and everything got back to working.
Can someone guide me into how I can pinpoint what script or backdoor is open and causing this?
Additional Data
The site is running behind cloudflare so I doubt that it is DDOS attack.
Here is a screen grab of htop with access to RDS enabled
amazon-web-services linux-networking wordpress ubuntu-18.04
The first step is to use "top" or similar to find out what's using CPU. Next I'd look in the web server access / errors logs to see if there's anything interesting there. Could just be a high load, or DDOS. Once you've done that please edit your question to add information you found. Right now there's nothing to go on.
– Tim
Apr 18 at 18:15
Also check the process list on rds. I had a single plugin have 5 stuck processes on rds causing exactly the same symptoms
– jdog
Apr 22 at 2:28
add a comment |
Hi I have a wordpress site running on EC2 and RDS. All of a sudden the site won't load and on investigating I see that the server load is at 15 and increasing rapidly.
I remove access of this EC2 from the RDS security group and the server gets back to normal. Now has a load of 0.07
The moment I allow the server to connect with the db that is the RDS the load spikes and server gets irresponsive.
I suspect its a hack? I have daily backups of both EC2 and RDS and can restore it to a state when it was working well, but I want to find out what is causing this. This has happened before when I had updated the plugins and back then I had just done a restore to a previous state and everything got back to working.
Can someone guide me into how I can pinpoint what script or backdoor is open and causing this?
Additional Data
The site is running behind cloudflare so I doubt that it is DDOS attack.
Here is a screen grab of htop with access to RDS enabled
amazon-web-services linux-networking wordpress ubuntu-18.04
Hi I have a wordpress site running on EC2 and RDS. All of a sudden the site won't load and on investigating I see that the server load is at 15 and increasing rapidly.
I remove access of this EC2 from the RDS security group and the server gets back to normal. Now has a load of 0.07
The moment I allow the server to connect with the db that is the RDS the load spikes and server gets irresponsive.
I suspect its a hack? I have daily backups of both EC2 and RDS and can restore it to a state when it was working well, but I want to find out what is causing this. This has happened before when I had updated the plugins and back then I had just done a restore to a previous state and everything got back to working.
Can someone guide me into how I can pinpoint what script or backdoor is open and causing this?
Additional Data
The site is running behind cloudflare so I doubt that it is DDOS attack.
Here is a screen grab of htop with access to RDS enabled
amazon-web-services linux-networking wordpress ubuntu-18.04
amazon-web-services linux-networking wordpress ubuntu-18.04
edited Apr 18 at 18:22
Rick Roy
asked Apr 18 at 18:04
Rick RoyRick Roy
126312
126312
The first step is to use "top" or similar to find out what's using CPU. Next I'd look in the web server access / errors logs to see if there's anything interesting there. Could just be a high load, or DDOS. Once you've done that please edit your question to add information you found. Right now there's nothing to go on.
– Tim
Apr 18 at 18:15
Also check the process list on rds. I had a single plugin have 5 stuck processes on rds causing exactly the same symptoms
– jdog
Apr 22 at 2:28
add a comment |
The first step is to use "top" or similar to find out what's using CPU. Next I'd look in the web server access / errors logs to see if there's anything interesting there. Could just be a high load, or DDOS. Once you've done that please edit your question to add information you found. Right now there's nothing to go on.
– Tim
Apr 18 at 18:15
Also check the process list on rds. I had a single plugin have 5 stuck processes on rds causing exactly the same symptoms
– jdog
Apr 22 at 2:28
The first step is to use "top" or similar to find out what's using CPU. Next I'd look in the web server access / errors logs to see if there's anything interesting there. Could just be a high load, or DDOS. Once you've done that please edit your question to add information you found. Right now there's nothing to go on.
– Tim
Apr 18 at 18:15
The first step is to use "top" or similar to find out what's using CPU. Next I'd look in the web server access / errors logs to see if there's anything interesting there. Could just be a high load, or DDOS. Once you've done that please edit your question to add information you found. Right now there's nothing to go on.
– Tim
Apr 18 at 18:15
Also check the process list on rds. I had a single plugin have 5 stuck processes on rds causing exactly the same symptoms
– jdog
Apr 22 at 2:28
Also check the process list on rds. I had a single plugin have 5 stuck processes on rds causing exactly the same symptoms
– jdog
Apr 22 at 2:28
add a comment |
1 Answer
1
active
oldest
votes
Based on the info provided from the screenshot, you are short on RAM. So the swap goes to the roof (seen on your screenshot too), making your CPU wait, slowing down your drives, piling up NginX and Apache processes, intensifying RAM requirements, making CPU wait even more, etc...
So my recommendations would be to:
1) pump up the RAM
2) reduce the swapiness
Following the RAM adjustment, more adjustments on different levels (i.e. CPU) could be required.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963709%2fwordpress-site-overloads-the-server-shutting-down-db-gets-server-normal%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Based on the info provided from the screenshot, you are short on RAM. So the swap goes to the roof (seen on your screenshot too), making your CPU wait, slowing down your drives, piling up NginX and Apache processes, intensifying RAM requirements, making CPU wait even more, etc...
So my recommendations would be to:
1) pump up the RAM
2) reduce the swapiness
Following the RAM adjustment, more adjustments on different levels (i.e. CPU) could be required.
add a comment |
Based on the info provided from the screenshot, you are short on RAM. So the swap goes to the roof (seen on your screenshot too), making your CPU wait, slowing down your drives, piling up NginX and Apache processes, intensifying RAM requirements, making CPU wait even more, etc...
So my recommendations would be to:
1) pump up the RAM
2) reduce the swapiness
Following the RAM adjustment, more adjustments on different levels (i.e. CPU) could be required.
add a comment |
Based on the info provided from the screenshot, you are short on RAM. So the swap goes to the roof (seen on your screenshot too), making your CPU wait, slowing down your drives, piling up NginX and Apache processes, intensifying RAM requirements, making CPU wait even more, etc...
So my recommendations would be to:
1) pump up the RAM
2) reduce the swapiness
Following the RAM adjustment, more adjustments on different levels (i.e. CPU) could be required.
Based on the info provided from the screenshot, you are short on RAM. So the swap goes to the roof (seen on your screenshot too), making your CPU wait, slowing down your drives, piling up NginX and Apache processes, intensifying RAM requirements, making CPU wait even more, etc...
So my recommendations would be to:
1) pump up the RAM
2) reduce the swapiness
Following the RAM adjustment, more adjustments on different levels (i.e. CPU) could be required.
answered Apr 18 at 21:01
Marc-Andre ChampagneMarc-Andre Champagne
662
662
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963709%2fwordpress-site-overloads-the-server-shutting-down-db-gets-server-normal%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The first step is to use "top" or similar to find out what's using CPU. Next I'd look in the web server access / errors logs to see if there's anything interesting there. Could just be a high load, or DDOS. Once you've done that please edit your question to add information you found. Right now there's nothing to go on.
– Tim
Apr 18 at 18:15
Also check the process list on rds. I had a single plugin have 5 stuck processes on rds causing exactly the same symptoms
– jdog
Apr 22 at 2:28