Running out of Memory. Driving me nuts

April 2, 2016 4k views
Nginx WordPress

Hi, I have an Ubuntu server with 512 MB Memory and 20 GB Disk.

It is currently running Ngninx and one Wordpress site, and constantly running out of memory.

I have also created a swap file, but it doesn’t help. It stills runs out of memory.

I am out of ideas and articles to read. Please help!

2 Answers

This question was answered by @tagin:

Is mysqld running out of memory?

You might be getting hit with XML-RPC attacks (seems to be a popular thing these days), which cause the out-of-memory condition.

See these two links:

View the original comment

by Jon Schwenn
WordPress is a popular and powerful CMS (content management system) platform. Its popularity can bring unwanted attention in the form of malicious traffic specially targeted at a WordPress site. There are many instances where a server that has not been protected or optimized could experience issues or errors after receiving a small amount of malicious traffic. This guide will show you how to protect WordPress from XML-RPC attacks on an Ubuntu 14.04 system.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!