Errcode: 24 - Too many open files

简介:

先做个简单记录,后面有时间再编辑
应用报错

java.sql.SQLException: Out of resources when opening file '.MYD' (Errcode: 24 - Too many open files)

检查方法

mysql> show global variables like "%open%";
+----------------------------+----------+
| Variable_name              | Value    |
+----------------------------+----------+
| have_openssl               | DISABLED |
| innodb_open_files          | 3000     |
| open_files_limit           | 2000    |
| table_open_cache           | 2000     |
| table_open_cache_instances | 16       |
+----------------------------+----------+
5 rows in set (0.00 sec)

系统层面

df -h 
df -i
ulimit -n
cat /etc/security/limits.conf

参考

https://forums.cpanel.net/threads/out-of-resources-when-opening-file-tmp-sql_26b7_0-myi-errcode-24.419342/

相关文章
|
缓存 Windows
【cmd报错:Error :could not open】
【cmd报错:Error :could not open】
301 0
|
安全 关系型数据库 MySQL
xtrabackup 问题“Too many open files”system error number 24
一个MySQL数据库备份的时候出现下面的错误
244 0
|
Linux 开发工具
Too many open files 解决办法
还在等什么,快来一起讨论关注吧,公众号【八点半技术站】,欢迎加入社群
|
Linux API PHP
php遇到failed to open stream: Permission denied
php遇到failed to open stream: Permission denied
805 0
|
Java Linux
too many open files
If you encounter the file descriptor leaks problem, it might be helpful to you.
2550 0