Out of resources when opening file ‘./xxx.MYD’ (Errcode: 24)解决方法
来源:互联网 发布:手机验钞灯软件2.0 编辑:程序博客网 时间:2024/05/16 07:49
今天朋友向我反映网站出现错误:Out of resources when opening file './xxx.MYD' (Errcode: 24)错误是因为打开的文件数超过了my.cnf的--open-files-limit。open-files-limit选项无法在mysql命令行 直接修改,必须在my.cnf中设定. 如果你要是不设置的话,他会取系统ulimit -n的值.
出错之时,参数配置如下:
修改open file的值,ulimit -n 204800. 或者在/etc/profile的最后一样加上ulimit -u 204800 -HSn 204800. 执行 source /etc/profile,最后重启一下数据库。
查看目前的情况佮.
配置数据库的时候千万不要忘记设置这个了。
转载请注明来自运维生存时间:http://www.ttlsa.com/html/3393.html
0 0
- Out of resources when opening file ‘./xxx.MYD’ (Errcode: 24)解决方法
- Out of resources when opening file '/????????????.MYD' (Errcode: 24) 解决
- Out of resources when opening file './xxx.MYD' (Errcode: 24) 解决
- ErrString : Out of resources when opening file './XXX_STATISTIC.MYD' (Errcode: 24)
- Out of resources when opening file \'./center/backupdt.MYD\'
- ERROR 23 (HY000) at line 1: Out of resources when opening file '/tmp/tbs.log' (Errcode: 24 "Too many
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- SQL Server Autogrow of file ‘xxx_Log’ in database ‘xxx’ was cancelled by user or timed out解决方法
- MySQL出现Can’t create/write to file ‘C:\WINDOWS\TEMP\#sql_718_0.MYD(Errcode: 17)解决办法
- 解决Mysql错误:Can't create/write to file 'C:\WINDOWS\TEMP\#sql_1344_0.MYD' (Errcode: 17)
- 解决Mysql错误:Can't create/write to file 'C:\WINDOWS\TEMP\#sql_1344_0.MYD' (Errcode: 17)
- 解决Mysql错误:Can't create/write to file 'C:\WINDOWS\TEMP\#sql_1344_0.MYD' (Errcode: 17)
- resource is out of sync with the file system 解决方法
- resource is out of sync with the file system 解决方法
- resource is out of sync with the file system 解决方法
- resource is out of sync with the file system 解决方法
- 网络客户端
- 四元数学习中。
- 音视频基础知识
- bio、nio、aio
- 23种设计模式及其应用场景
- Out of resources when opening file ‘./xxx.MYD’ (Errcode: 24)解决方法
- 使用BigDecimal进行精确运算
- Java 字符串处理总结
- maven 环境搭建 Myeclipse配置
- Spring框架知识点总结
- hive 环境搭建
- 程序控制静音c#
- Android 蓝牙自动配对
- cpp 9.10