Question

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

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

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