网站错误:Can\'t create a new thread (errno -1)

2017-01-05 03:46:18 9402

错误描述:Can't create a new thread (errno -1):if you are not out of available memory, you can consult the manual for a possible OS-dependent bug


原因:操作系统连接数太小,例如centos6默认的max user process只有1024个,当mysql process大于这个值时就会出现Can't create a new thread的问题。


解决办法:

  1. 重启MySQL数据库

  2. vim /etc/bashrc

    添加:ulimit -u 65536

提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: