미니옵빠의 code stubs

Mysql 서버 구동 시의 Trouble Shooting (cannot allocate the memory for the buffer pool) 본문

Database/Mysql

Mysql 서버 구동 시의 Trouble Shooting (cannot allocate the memory for the buffer pool)

미니옵빠 2011. 9. 21. 11:35
Mysql 서버 구동 시 아래와 비슷한 메시지가 뜨는 경우는 InnoDB buffer pool size가 부족한 경우이다.
이럴 때는 my.cnf의 innodb_buffer_pool_size 의 값을 적절히 조절한다.

InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use InnoDB's own implementation
InnoDB: Compressed tables use zlib 1.2.1.2
InnoDB: mmap(2187329536 bytes) failed; errno 12
InnoDB: Fatal error: cannot allocate the memory for the buffer pool
[ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] Unknown/unsupported table type: InnoDB
[ERROR] Aborting