Topic: MySQL did not start under load
CentOS 6.7
mysql-5.5.38-1.el6.remi.x86_64
If I stop mysqld and then try to start I receive this error.
151215 07:24:19 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151215 7:24:19 [Note] Plugin 'FEDERATED' is disabled.
151215 7:24:19 InnoDB: The InnoDB memory heap is disabled
151215 7:24:19 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151215 7:24:19 InnoDB: Compressed tables use zlib 1.2.3
151215 7:24:19 InnoDB: Using Linux native AIO
151215 7:24:19 InnoDB: Initializing buffer pool, size = 3.0G
InnoDB: mmap(3296722944 bytes) failed; errno 12
151215 7:24:19 InnoDB: Completed initialization of buffer pool
151215 7:24:19 InnoDB: Fatal error: cannot allocate memory for the buffer pool
151215 7:24:19 [ERROR] Plugin 'InnoDB' init function returned error.
151215 7:24:19 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151215 7:24:19 [ERROR] Unknown/unsupported storage engine: InnoDB
151215 7:24:19 [ERROR] Aborting
If I stop my monitoring system(zabbix) which write to db, I can start mysqld successfuly.
Is it possible to do somthing?