Report this

What is the reason for this report?

Why MySQL hogs all the memory for no reason in Ubuntu 18.04 LTS with 1GB system memory?

Posted on January 31, 2020

MySQL seem to be the culprit in our Ubuntu 18.04 LTS installation using the basic 1 CPU & 1 GB RAM configuration. We have a CMS installed with Docker and besides that there’s pretty much only apache and certbot. We keep having problems with memory as uploading videos usually fails due to a “internal server error”. We used htop command to find out the memory usage.



This textbox defaults to using Markdown to format your answer.

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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

https://dev.mysql.com/doc/mysql-monitor/8.0/en/system-prereqs-reference.html

Minimum Hardware Requirements
This section describes the minimum hardware requirements for the Enterprise Service Monitor.

2 CPU Cores

2 GB RAM

Disk I/O subsystem applicable to a write-intensive database

Before going into the stack build, I’d like to introduce myself. I’m Dave Hilditch, founder of WP Intense. I’ve been developing WordPress plugins focused on improving WordPress performance for the past 4 years after leaving Skyscanner.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.