首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

MySQL不响应,服务自动完了的对策

2012-10-20 
MySQL不响应,服务自动结束的对策?问题如题看err log ,有几处如下错误错误1[ERROR] Out of memory check i

MySQL不响应,服务自动结束的对策?
问题如题

看err log ,有几处如下错误

错误1
[ERROR] Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space

错误2
 Error: page old data size 14663 new data size 14791
Error: page old max ins size 1565 new max ins size 1437
InnoDB: Page dump in ascii and hex (16384 bytes):

请问以上错误的原因和对应方法

[解决办法]
加大交换值。
[解决办法]
减少mysql的buffer_pool
[解决办法]
出现OUT OF MEMORY是由于你的参数设置的过大。


tmp_table_size=1024M
max_heap_table_size=1024M 搞小!
[解决办法]
mysql缓存设置过大导致的。

热点排行