mysql 大页面选项的问题
所以我正在运行CentOS 6,在mysql中启用大页面后,我重新启动服务并得到这个,mysql无法启动:
kernel:Oops: 0003 [#1] SMP
kernel:Stack:
kernel:Call Trace:
kernel:Code: 00 e8 53 4f 02 00 48 89 c7 e8 0b f1 ff ff 48 8d 7d e0 48 89 45 e0 48 89 5d e8 e8 60 fe ff ff bf 01 00 00 00 e8 aa f7 ff ff eb 03
kernel:CR2: ffff8800dc2fe330
从配置文件中删除有问题的行后,我仍然需要重新启动才能它重新开始。想法?
so i'm running CentOS 6, and after enabling large-pages in mysql, i restart the service and get this, and mysql fails to start:
kernel:Oops: 0003 [#1] SMP
kernel:Stack:
kernel:Call Trace:
kernel:Code: 00 e8 53 4f 02 00 48 89 c7 e8 0b f1 ff ff 48 8d 7d e0 48 89 45 e0 48 89 5d e8 e8 60 fe ff ff bf 01 00 00 00 e8 aa f7 ff ff eb 03
kernel:CR2: ffff8800dc2fe330
After removing the offending line from the config file, I still have to reboot before it'll start again. Thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否按照此处所述启用了大页面?
http://dev.mysql.com/doc/refman /5.0/en/large-page-support.html
一个简单的检查方法是: cat /proc/meminfo | /5.0/en/large-page-support.html grep 'Huge'
另外通过 sysctl 应设置以下
vm.hugetlb_shm_group=27
(如果 27 是用户 mysql 的 ID)
Did you enable large pages as described here?
http://dev.mysql.com/doc/refman/5.0/en/large-page-support.html
An easy way to check is: cat /proc/meminfo | grep 'Huge'
In addition via sysctl the following should be set
vm.hugetlb_shm_group=27
(If 27 is the ID of user mysql)