mysql无法连接Can't create a new thread (errno 11)
问题描述:
今天本地navicat连接服务器mysql出错 ,提示ERROR 1135: 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 b
出现原因:
和mysql本身没关系
操作系统连接数太小。(比如centos 6 默认的 max user process只有 1024个。当mysql process大于这个值时 就会出现Can't create a new thread的问题)
解决办法:
1、查看系统默认连接数
ulimit -a
查看max user processes 这一项
要是这个值比较的小 当mysql中process的数目超过这个数的时候 就会抱标题相应的错误。
2、修改系统默认连接数
vi /etc/security/limits.d/90-nproc.conf
#修改为:
- nproc 65536
或者:
vi /etc/bashrc
添加 :
ulimit -u 65536
然后退出当前session 即可。
本文是自己遇到的一个问题,恰好网上看到次解决办法,就在这里做了一个记录
解决问题的文章出自:
https://blog.csdn.net/lxpbs8851/article/details/8489141
mysql无法连接Can't create a new thread (errno 11)的更多相关文章
- Can't create a new thread (errno 11) 解决办法 mysql无法连接
		问题的现象: 错误信息: ERROR 1135 (00000): Can't create a new thread (errno 11); if you are not out of availab ... 
- mysql-error --(ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out)
		报错信息: ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out 解决办法: # 查看限制情况 [r ... 
- mysqldump: Got error: 1135: 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 when trying to connect 解决办法
		在进行数据库备份的时候发现服务器报 mysqldump: Got error: 1135: Can't create a new thread (errno 11); if you are not o ... 
- 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
		解决方案: http://www.javatang.com/archives/2013/06/19/2701909.html 
- mysql 创建连接是 Cannot create PoolableConnectionFactory (Unknown character set: 'utf8mb4')
		Cannot create PoolableConnectionFactory (Unknown character set: 'utf8mb4') maven 依赖换版本 <dependenc ... 
- 【原创】MySQL Can't create a new thread报错分析
		今天有两台服务器都出现了Can't create a new thread报错. [故障处理过程] 故障发生后登录服务器,检查mysql进程正常,但登录mysql报下面错误 ERROR 1135 (H ... 
- JVM最多能创建多少个线程: unable to create new native thread
		转载自:http://www.rigongyizu.com/jvm-max-threads/ 有应用报出这样的异常“java.lang.OutOfMemoryError: unable to crea ... 
- mysql之内连接,外连接(左连接,右连接),union,union all的区别
		内连接,外连接,左连接,右连接,全连接 测试数据: CREATE TABLE `a_table` ( `a_id` int(11) DEFAULT NULL, `a_name` varchar(10) ... 
- mysql远程连接命令
		mysql远程连接命令 一.MySQL 连接本地数据库,用户名为“root”,密码“123”(注意:“-p”和“123” 之间不能有空格) C:\>mysql -h localhost -u ... 
随机推荐
- ListBox Dock Fill 总是有空隙的问题
			ListBox Dock设置了Fill, Right等 设计界面如己所愿,但是实际运行时,底部总是有不小的空隙. 原因是ListBox有一个属性: IntergralHeight 默认为True 此属 ... 
- loj #2013. 「SCOI2016」幸运数字
			#2013. 「SCOI2016」幸运数字 题目描述 A 国共有 n nn 座城市,这些城市由 n−1 n - 1n−1 条道路相连,使得任意两座城市可以互达,且路径唯一.每座城市都有一个幸运数字,以 ... 
- 公司拷贝回家的工程用sts导入clean package报错java.lang.NoClassDefFoundError
			从公司拷贝工程回家加班,用相同版本的sts和jdk但是run as maven build clean package 总是报错java.lang.NoClassDefFoundError: ... 
- Spring IOC容器交给application域对象管理
			在项目开发中,我们不能在每次使用IOC容器时,都创建一个ApplicationContext对象, 因此我们将IOC容器交给application域对象管理,application对象在服务器启动时创 ... 
- Configure MongoDB Replica Set
			Table of Contents Introduction Requirements Create Replica Set Add Secondary Members Add an Arbiter ... 
- .NET Core 版本不支持的问题
			分析一个.NET Core开源项目(Ocelot),打开后发现提示当前版本.NET Core 不支持. 错误信息如下: The current .NET SDK does not support ta ... 
- mysql主从复制简单配置,满满的干货
			mysql主从备份(复制)的基本原理 mysql支持单向.异步复制,复制过程中一个服务器充当主服务器,而一个或多个其它服务器充当从服务器.mysql复制基于主服务器在二进制日志中跟踪所有对数据库的更改 ... 
- 大型php网站性能和并发访问优化方案(转载自php中文网)
			网站性能优化对于大型网站来说非常重要,一个网站的访问打开速度影响着用户体验度,网站访问速度慢会造成高跳出率,小网站很好解决,那对于大型网站由于栏目多,图片和图像都比较庞大,那该怎 ... 
- C#中调用SAPI实现语音识别的2种方法
			通过微软的SAPI,不仅仅可以实现语音合成TTS,同样可以实现语音识别SR.下面我们就介绍并贴出相关代码.主要有两种方式: 1.使用COM组件技术,不管是C++,C#,Delphi都能玩的转,开发出来 ... 
- angularJs表格效果
			<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <script sr ... 
