Hello,
I’m sharing all my error log;
170228 08:35:47 mysqld_safe Number of processes running now: 0 170228 08:35:47 mysqld_safe mysqld restarted 170228 8:35:47 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 17360 … 170228 8:35:47 InnoDB: The InnoDB memory heap is disabled 170228 8:35:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins 170228 8:35:47 InnoDB: Compressed tables use zlib 1.2.7 170228 8:35:47 InnoDB: Using Linux native AIO 170228 8:35:47 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(137756672 bytes) failed; errno 12 170228 8:35:47 InnoDB: Completed initialization of buffer pool 170228 8:35:47 InnoDB: Fatal error: cannot allocate memory for the buffer pool 170228 8:35:47 [ERROR] Plugin ‘InnoDB’ init function returned error. 170228 8:35:47 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed. 170228 8:35:47 [ERROR] mysqld: Out of memory (Needed 128917504 bytes) 170228 8:35:47 [ERROR] mysqld: Out of memory (Needed 96681984 bytes) 170228 8:35:47 [Note] Plugin ‘FEEDBACK’ is disabled. 170228 8:35:47 [ERROR] Unknown/unsupported storage engine: InnoDB 170228 8:35:47 [ERROR] Aborting
How can I solve this problem?
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!
The four lines below state that RAM is being exhausted, thus MySQL/MariaDB fails:
InnoDB: mmap(137756672 bytes) failed; errno 12
170228 8:35:47 InnoDB: Fatal error: cannot allocate memory for the buffer pool
170228 8:35:47 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
170228 8:35:47 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
Would this happen to be a 512MB Droplet? If so, you will most likely need to upgrade to at least a 1GB as MySQL/MariaDB does tend to need a somewhat decent amount of RAM – even more so when you are running multiple services along with it (i.e. Apache, NGINX, PHP, NodeJS etc).
What all is running on the server? To be more specific, what stack (LAMP, LEMP, etc) and what other software has been installed (other than WordPress)? And have you modified configuration for any of the software?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.