Question
MariaDB Shuts Down Frequently
Hello,
I’m using wordpress and my mariadb shuts down very frequently. dont understand why.
here’s my error logs:
170729 22:21:33 mysqldsafe mysqld from pid file /var/run/mariadb/mariadb.pid ended
170729 22:21:40 mysqldsafe Starting mysqld daemon with databases from /var/lib/mysql
170729 22:21:40 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 3724 …
170729 22:21:40 InnoDB: The InnoDB memory heap is disabled
170729 22:21:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170729 22:21:40 InnoDB: Compressed tables use zlib 1.2.7
170729 22:21:40 InnoDB: Using Linux native AIO
170729 22:21:40 InnoDB: Initializing buffer pool, size = 512.0M
InnoDB: mmap(551026688 bytes) failed; errno 12
170729 22:21:40 InnoDB: Completed initialization of buffer pool
170729 22:21:40 InnoDB: Fatal error: cannot allocate memory for the buffer pool
170729 22:21:40 [ERROR] Plugin ‘InnoDB’ init function returned error.
170729 22:21:40 [ERROR] Plugin 'InnoDB’ registration as a STORAGE ENGINE failed.
170729 22:21:40 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
170729 22:21:40 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
170729 22:21:40 [Note] Plugin 'FEEDBACK’ is disabled.
170729 22:21:40 [ERROR] Unknown/unsupported storage engine: InnoDB
170729 22:21:40 [ERROR] Aborting
170729 22:21:40 [Note] /usr/libexec/mysqld: Shutdown complete
170729 22:21:40 mysqldsafe mysqld from pid file /var/run/mariadb/mariadb.pid ended
170729 22:22:45 mysqldsafe Starting mysqld daemon with databases from /var/lib/mysql
170729 22:22:46 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 4043 …
170729 22:22:46 InnoDB: The InnoDB memory heap is disabled
170729 22:22:46 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170729 22:22:46 InnoDB: Compressed tables use zlib 1.2.7
170729 22:22:46 InnoDB: Using Linux native AIO
170729 22:22:46 InnoDB: Initializing buffer pool, size = 512.0M
InnoDB: mmap(551026688 bytes) failed; errno 12
170729 22:22:46 InnoDB: Completed initialization of buffer pool
170729 22:22:46 InnoDB: Fatal error: cannot allocate memory for the buffer pool
170729 22:22:46 [ERROR] Plugin 'InnoDB’ init function returned error.
170729 22:22:46 [ERROR] Plugin 'InnoDB’ registration as a STORAGE ENGINE failed.
170729 22:22:46 [Note] Plugin 'FEEDBACK’ is disabled.
170729 22:22:46 [ERROR] Unknown/unsupported storage engine: InnoDB
170729 22:22:46 [ERROR] Aborting
170729 22:22:46 [Note] /usr/libexec/mysqld: Shutdown complete
170729 22:22:46 mysqldsafe mysqld from pid file /var/run/mariadb/mariadb.pid ended
170729 22:23:28 mysqldsafe Starting mysqld daemon with databases from /var/lib/mysql
170729 22:23:28 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 4378 …
170729 22:23:29 InnoDB: The InnoDB memory heap is disabled
170729 22:23:29 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170729 22:23:29 InnoDB: Compressed tables use zlib 1.2.7
170729 22:23:29 InnoDB: Using Linux native AIO
170729 22:23:29 InnoDB: Initializing buffer pool, size = 512.0M
InnoDB: mmap(551026688 bytes) failed; errno 12
170729 22:23:29 InnoDB: Completed initialization of buffer pool
170729 22:23:29 InnoDB: Fatal error: cannot allocate memory for the buffer pool
170729 22:23:29 [ERROR] Plugin 'InnoDB’ init function returned error.
170729 22:23:29 [ERROR] Plugin 'InnoDB’ registration as a STORAGE ENGINE failed.
170729 22:23:29 [Note] Plugin 'FEEDBACK’ is disabled.
170729 22:23:29 [ERROR] Unknown/unsupported storage engine: InnoDB
170729 22:23:29 [ERROR] Aborting
170729 22:23:29 [Note] /usr/libexec/mysqld: Shutdown complete
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.
×