-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WordPress] Memory Exhaustion #1608
Comments
This comment was marked as spam.
This comment was marked as spam.
Hey there - just following back up on this. Thanks! |
Hi @dagohbah, Thanks for using Bitnami and sorry for the delay on getting back to you. According to the bndiagnostic bundle you shared, there are a few IP address making a lot of requests to your website
We recommend you to check our guide about bots and how to block them. The thing is that every connection to your website requires consuming new resources to perform database and website queries, which may lead to the memory exhaustion issues you are facing. I also see in the information you shared that MariaDB is the process consuming more memory on your server. That can be related to bots connections (DDoS attacks). It can also happen that one of your plugins or custom themes is making multiple requests to your database (like storing temporary data). We recommend you to check if any of your plugins is known to cause these kinds of issues in the official support forums for WordPress. https://wordpress.org/support/forums/ We also recommend you to take a look at our performance troubleshooting guide linked below https://docs.bitnami.com/aws/faq/troubleshooting/troubleshoot-server-performance/ |
Hey @gongomgra! For what it's worth...I did go through and block some of those connections like the doc describes. I also did a lookup on a lot of these - appear to all be AWS crawler types of bots from what I can tell from research online. So, I'm sure they are "OK" and not malicious. I wonder if blocking them is the best thing, but if it improves performance and stops the issues, maybe it's for the best. I did go through the performance doc as well before posting here, too. Plugins/themes...haven't really dug into that at this time. Since my last post here my server has stabilized. I'll keep an eye on this for a bit and will close out the issue when I feel like it's safe to do so. |
Hey - just following up. No issues since I've blocked some of the suspected AWS Bot IP's...so for anyone coming across this in the future, follow the bots and how to block them doc first, give it a day or so and see if the behavior improves before going through all the other troubleshooting things I did! Thank you @gongomgra! ❤️ |
@dagohbah happy to know your issue got solved after blocking some IP addresses that were performing lot of requests! 😄 I'm closing this ticket as solved. |
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
a2ba5599-e678-9a76-a4b1-9d93dd6fe5f5
bndiagnostic output
===== Begin of bndiagnostic tool output =====
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the
following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Apache]
Press [Enter] to continue:
Found recent error or warning messages in the Apache error log.
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro
rs-apache/
[Wordpress]
Some files don't have the expected permissions Please check the following guide:
https://docs.bitnami.com/general/apps/wordpress/administration/understand-
Press [Enter] to continue:
file-permissions/
===== End of bndiagnostic tool output =====
bndiagnostic was not useful. Could you please tell us why?
N/A
Describe your issue as much as you can
Hello,
We've been having major memory exhaustion type of issues over the past few weeks that I've been trying to troubleshoot. I've thought it could be something like the following:
I've been having to babysit our website and restart the web services at least once a day. When the issue occurs, there's tons of php-fpm daemons running, and checking the memory with
top
shows that the memory is basically exhausted overall. Additionally, here's the list of troubleshooting items I've tried to go through (in chronological order):memory.conf/httpd-medium.conf
(gave up on this as I wasn't super sure how to make the calculations)I've pursued WordFence support...but they don't really help alleviate DDoS or DOS types of attacks (that's the theory I was trying to trace down with them). I stumbled across many issues/tickets here...one about checking about deny connections, and many regarding the odd behavior of php-fpm/memory related posts.
https://docs.bitnami.com/aws/apps/wordpress/troubleshooting/deny-connections-bots-apache/
#907
#27
#1192
#1470
#1501
#927
I really need help unpacking what I'm seeing, and where to point my efforts to. Do we feel like this is a memory.conf/httpd-medium.conf type of issue, or could this be something else?
Thanks in advance for the help!
The text was updated successfully, but these errors were encountered: