MySQL Can't create a new thread (errno 12)
-
06-07-2019 - |
Question
I'm runnning MySQL 5.0.45/ PHP Version 5.2.6 / CentOS with Plesk.
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"
Global memory is not the issue since I have about 620M free.
Anyone know what could be the cause for this?
Thanks
Solution
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.
OTHER TIPS
Any ulimit style restrictions?
Otherwise AppArmor or things like that come to mind.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow