Периодически отваливается база вне зависимости от нагрузки

R
На сайте с 18.12.2009
Offline
92
1036

Помогите, пожалуйста, разобрать лог ошибки. Не могу понять в чем проблема, как настроить сервер.


151128 14:03:35 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use$
151128 14:03:35 [Note] Plugin 'FEDERATED' is disabled.
151128 14:03:35 InnoDB: The InnoDB memory heap is disabled
151128 14:03:35 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151128 14:03:35 InnoDB: Compressed tables use zlib 1.2.3.4
151128 14:03:35 InnoDB: Initializing buffer pool, size = 200.0M
InnoDB: mmap(214630400 bytes) failed; errno 12
151128 14:03:35 InnoDB: Completed initialization of buffer pool
151128 14:03:35 InnoDB: Fatal error: cannot allocate memory for the buffer pool
151128 14:03:35 [ERROR] Plugin 'InnoDB' init function returned error.
151128 14:03:35 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151128 14:03:35 [ERROR] Unknown/unsupported storage engine: InnoDB
151128 14:03:35 [ERROR] Aborting

151128 14:03:35 [Note] /usr/sbin/mysqld: Shutdown complete

151128 14:03:36 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use$
151128 14:03:36 [Note] Plugin 'FEDERATED' is disabled.
151128 14:03:36 InnoDB: The InnoDB memory heap is disabled
151128 14:03:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151128 14:03:36 InnoDB: Compressed tables use zlib 1.2.3.4
151128 14:03:36 InnoDB: Initializing buffer pool, size = 200.0M
InnoDB: mmap(214630400 bytes) failed; errno 12
151128 14:03:36 InnoDB: Completed initialization of buffer pool
151128 14:03:36 InnoDB: Fatal error: cannot allocate memory for the buffer pool
151128 14:03:36 [ERROR] Plugin 'InnoDB' init function returned error.
151128 14:03:36 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151128 14:03:36 [ERROR] Unknown/unsupported storage engine: InnoDB
151128 14:03:36 [ERROR] Aborting

151128 14:03:36 [Note] /usr/sbin/mysqld: Shutdown complete

151128 14:07:24 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use$
151128 14:07:24 [Note] Plugin 'FEDERATED' is disabled.
151128 14:07:24 InnoDB: The InnoDB memory heap is disabled
151128 14:07:24 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151128 14:07:24 InnoDB: Compressed tables use zlib 1.2.3.4
151128 14:07:24 InnoDB: Initializing buffer pool, size = 200.0M
151128 14:07:24 InnoDB: Completed initialization of buffer pool

p0lusweb
На сайте с 31.07.2015
Offline
32
#1
151128 14:03:35 InnoDB: Fatal error: cannot allocate memory for the buffer pool

можно начать с этого, не хватает памяти для выделения под буфер

уменьшите буферы в переменных /etc/my.cnf для того, чтобы mysql все же стартанул

установите на сервере из репозитория или просто скачайте скрипт mysqltuner, запустите (в идеале запускать скрипт после суток работы БД, но можно и раньше). далее следуйте рекоминдациям скрипта меняйте параметры в my.cnf

амхост дурачьё

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий