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/

相关文章
|
1月前
|
Web App开发 安全 前端开发
Can‘t open this file in this folder because it contains system files
Can‘t open this file in this folder because it contains system files
23 0
|
5月前
|
缓存 JavaScript
Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs‘TypeError: Cannot read proper
Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs‘TypeError: Cannot read proper
53 0
|
10月前
|
安全 关系型数据库 MySQL
xtrabackup 问题“Too many open files”system error number 24
一个MySQL数据库备份的时候出现下面的错误
|
XML Android开发 数据格式
Invalid file name: must contain only [a-z0-9_.]
Invalid file name: must contain only [a-z0-9_.]
260 0
|
SQL 测试技术
The process could not read file xxx due to OS error 53
在不同地域的两个SQL Server服务器上配置了复制(Replication)用于同步数据(生产环境配置有Replication,测试环境也配有Replication),两地通过专线连接起来,这些复制(Replication)已经稳定运行了一两年了, 但是前阵子,测试环境的SQL Se...
1068 0
|
Java Linux
too many open files
If you encounter the file descriptor leaks problem, it might be helpful to you.
2473 0