ERROR 1135 (HY000): Can't create a new thread (errno 11)
from:
https://www.percona.com/blog/2013/02/04/cant_create_thread_errno_11/
錯誤資訊
ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
# 檢視限制情況
[root@localhost ~]# cat /proc/`pidof mysqld`/limits | egrep "(processes|files)"
Max processes 1024 514857 processes
Max open files 65535 65535 files
### 解決辦法
# 調整當前mysqld限制
[root@localhost ~]# echo -n "Max processes=514857:514857" > /proc/`pidof mysqld`/limits
# 配置檔案,增加配置
# vim /etc/security/limits.d/90-nproc.conf
# add
mysql soft nproc 514857
https://www.percona.com/blog/2013/02/04/cant_create_thread_errno_11/
錯誤資訊
ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
# 檢視限制情況
[root@localhost ~]# cat /proc/`pidof mysqld`/limits | egrep "(processes|files)"
Max processes 1024 514857 processes
Max open files 65535 65535 files
### 解決辦法
# 調整當前mysqld限制
[root@localhost ~]# echo -n "Max processes=514857:514857" > /proc/`pidof mysqld`/limits
# 配置檔案,增加配置
# vim /etc/security/limits.d/90-nproc.conf
# add
mysql soft nproc 514857
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26250550/viewspace-1687922/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Can't open file: (errno: 24)
- [ERROR] mysqld: Can‘t open shared library ‘/usr/local/mysql/lib/plugin/validate_password.so‘ (errno:ErrorMySqlPlugin
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- java.lang.OutOfMemoryError- unable to create new native thread 問題排查JavaErrorthread
- linux下連線mysql報錯ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysqLinuxMySqlErrorServer
- Error:Can't connect to SOCKS proxy:Connection refused (Connection refused)Error
- pecl PHP Parse error: syntax error, unexpected 'new' (T_NEW) 以及 XML缺失解決辦法PHPErrorXML
- Fatal error: can't check configuration file '/home/watt/proxy/dError
- 解決ERROR 1231 (42000): Variable 'time_zone' can'tError
- ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAError
- [ERR] 1231 - Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'SQL
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- 完美解決stack Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.ErrorPython
- mysqld: Can‘t create directory ‘E:\Software\mysql-5.7.24-winx64\data\‘ (Errcode: 2 - NoMySql
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- Three ways to create Multi Thread in JavathreadJava
- ERROR 1114 (HY000) The table '' is fullError
- spark大批量讀取Hbase時出現java.lang.OutOfMemoryError: unable to create new native threadSparkJavaErrorthread
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- new Thread與執行緒建立thread執行緒
- java.lang.OutOfMemoryError: unable to create new native thread問題排查以及當前系統最大程式數量JavaErrorthread
- pipenv install error UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in positionErrorUnicode
- pip install ... ERROR: UnicodeDecodeError: ‘gbk‘ codec can‘t decode/ python setup.py egg_info CheckErrorUnicodePython
- TypeError: can‘t concat str to bytesError
- ERROR 1290 (HY000) 解決辦法Error
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- Supervisor 解決 can't find command *
- Mongoose can't update timestampGo
- DZ論壇MySQL Query Error Errno:1046錯誤MySqlError
- Fatal error in launcher: Unable to create process using '"'Error
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- eslint --fix 報錯 can't not find modulesEsLint
- mysql遇到Variable can’t be set to the value of ‘NULL’MySqlNull
- MySQL 2003 - Can’t connect to MySQL server on (10060)MySqlServer
- Can't load IA 32-bit .dll on a