Chinaunix首页 | 论坛 | 博客
  • 博客访问: 440068
  • 博文数量: 237
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2016-06-12 14:40
个人简介

  每个人生的当口,都是会有一个孤独的时刻,四顾无人,只有自己,于是不得不看明白自己的脆弱,自己的欲望,自己的念想,自己的界限,还有,自己真正的梦想。

文章分类

全部博文(237)

文章存档

2017年(3)

2016年(234)

分类: Mysql/postgreSQL

2016-05-11 11:13:34

陆续整理所有遇到过的,关于innodb的错误问题


1.错误日志报告如下:

.....

120223 23:36:06 InnoDB: Compressed tables use zlib 1.2.3

120223 23:36:06 InnoDB: Initializing buffer pool, size = 24.0G

InnoDB: mmap(26474446848 bytes) failed; errno 12

120223 23:36:06 InnoDB: Completed initialization of buffer pool

120223 23:36:06 InnoDB: Fatal error: cannot allocate memory for the buffer pool

120223 23:36:06 [ERROR] Plugin 'InnoDB' init function returned error.

120223 23:36:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.

120223 23:36:06 [ERROR] Failed to initialize plugins.

120223 23:36:06 [ERROR] Aborting

分析: 

分配给innodb_buffer_pool的内存超过了物理内存

解决办法:

查看my.cnf配置文件,innodb_buffer_pool设置为合适的值.

阅读(311) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~