MySQL不能创建新线程(errno 12)

时间:2021-12-21 00:37:13

I'm runnning MySQL 5.0.45/ PHP Version 5.2.6 / CentOS with Plesk.

我使用Plesk运行MySQL 5.0.45/ PHP版本5.2.6 / CentOS。

I get occasionaly a burst of "Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug"

我偶尔会出现“无法创建新线程(errno 12)”;如果您没有超出可用内存,您可以参考手册,寻找可能依赖于os的错误。

Global memory is not the issue since I have about 620M free.

全球内存不是问题,因为我有大约6.2亿的空闲时间。

Anyone know what could be the cause for this?

有人知道这是什么原因吗?

Thanks

谢谢

2 个解决方案

#1


1  

This is bug 20815, mysql is using too much stack space for threads. Try upgrading to at least 5.0.48 or 5.1.21.

这是bug 20815, mysql在线程上使用了太多的堆栈空间。尝试升级到至少5.0.48或5.1.21。

#2


0  

Any ulimit style restrictions?

ulimit风格限制吗?

Otherwise AppArmor or things like that come to mind.

否则就会出现幻觉或类似的事情。

#1


1  

This is bug 20815, mysql is using too much stack space for threads. Try upgrading to at least 5.0.48 or 5.1.21.

这是bug 20815, mysql在线程上使用了太多的堆栈空间。尝试升级到至少5.0.48或5.1.21。

#2


0  

Any ulimit style restrictions?

ulimit风格限制吗?

Otherwise AppArmor or things like that come to mind.

否则就会出现幻觉或类似的事情。