Hexweb
Verified User
Hello all!
For one of my customers i'm hosting a VPS with a few wordpress news sites on it. (3 cores @ 2.4ghz, 4GB ram)
But now i'm having a issue with it. I can't seem to find out why it's happening.
This morning i fixed a few crashes by reducing the max amount of connections in Httpd (And turn off KeepAlive)
But mysqld is still crashing (2 a 3times per day) and restarting itself.
Can someone help with locating the issue and solving it?
Thanks for the help!
For one of my customers i'm hosting a VPS with a few wordpress news sites on it. (3 cores @ 2.4ghz, 4GB ram)
But now i'm having a issue with it. I can't seem to find out why it's happening.
This morning i fixed a few crashes by reducing the max amount of connections in Httpd (And turn off KeepAlive)
But mysqld is still crashing (2 a 3times per day) and restarting itself.
Can someone help with locating the issue and solving it?
Code:
Version: '5.5.31-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)150209 21:25:05 mysqld_safe Number of processes running now: 0
150209 21:25:06 mysqld_safe mysqld restarted
150209 21:25:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150209 21:25:16 [Note] Plugin 'FEDERATED' is disabled.
150209 21:25:16 InnoDB: The InnoDB memory heap is disabled
150209 21:25:16 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150209 21:25:16 InnoDB: Compressed tables use zlib 1.2.3
150209 21:25:16 InnoDB: Using Linux native AIO
150209 21:25:16 InnoDB: Initializing buffer pool, size = 512.0M
InnoDB: mmap(549453824 bytes) failed; errno 12
150209 21:25:16 InnoDB: Completed initialization of buffer pool
150209 21:25:16 InnoDB: Fatal error: cannot allocate memory for the buffer pool
150209 21:25:16 [ERROR] Plugin 'InnoDB' init function returned error.
150209 21:25:16 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150209 21:25:16 [ERROR] Unknown/unsupported storage engine: InnoDB
150209 21:25:16 [ERROR] Aborting
150209 21:25:16 [Note] /usr/sbin/mysqld: Shutdown complete
150209 21:25:16 [Note] Plugin 'FEDERATED' is disabled.
150209 21:25:16 InnoDB: The InnoDB memory heap is disabled
150209 21:25:16 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150209 21:25:16 InnoDB: Compressed tables use zlib 1.2.3
150209 21:25:16 InnoDB: Using Linux native AIO
150209 21:25:16 mysqld_safe mysqld from pid file /var/lib/mysql/HOSTNAME.pid ended
150209 21:25:16 InnoDB: Initializing buffer pool, size = 512.0M
InnoDB: mmap(549453824 bytes) failed; errno 12
150209 21:25:16 InnoDB: Completed initialization of buffer pool
150209 21:25:16 InnoDB: Fatal error: cannot allocate memory for the buffer pool
150209 21:25:16 [ERROR] Plugin 'InnoDB' init function returned error.
150209 21:25:16 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150209 21:25:16 [ERROR] Unknown/unsupported storage engine: InnoDB
150209 21:25:16 [ERROR] Aborting
150209 21:25:16 [Note] /usr/sbin/mysqld: Shutdown complete
150209 21:25:16 mysqld_safe mysqld from pid file /var/lib/mysql/HOSTNAME.pid ended
150209 21:26:02 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150209 21:26:02 [Note] Plugin 'FEDERATED' is disabled.
150209 21:26:02 InnoDB: The InnoDB memory heap is disabled
150209 21:26:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150209 21:26:02 InnoDB: Compressed tables use zlib 1.2.3
150209 21:26:02 InnoDB: Using Linux native AIO
150209 21:26:02 InnoDB: Initializing buffer pool, size = 512.0M
150209 21:26:02 InnoDB: Completed initialization of buffer pool
150209 21:26:02 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
150209 21:26:02 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Last MySQL binlog file position 0 22857147, file name ./mysql-bin.000062
150209 21:26:03 InnoDB: Waiting for the background threads to start
150209 21:26:04 InnoDB: 5.5.31 started; log sequence number 5812358132
150209 21:26:04 [Note] Recovering after a crash using mysql-bin
150209 21:26:04 [Note] Starting crash recovery...
150209 21:26:04 [Note] Crash recovery finished.
150209 21:26:05 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
150209 21:26:05 [Note] - '0.0.0.0' resolves to '0.0.0.0';
150209 21:26:05 [Note] Server socket created on IP: '0.0.0.0'.
150209 21:26:05 [Note] Event Scheduler: Loaded 0 events
150209 21:26:05 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.31-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
Thanks for the help!
Last edited: