读书人

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

发布时间: 2012-10-20 14:12:47 作者: rapoo

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缓存设置过大导致的。

读书人网 >Mysql

热点推荐