Article ID: 122576, created on Aug 5, 2014, last review on Aug 5, 2014

  • Applies to:
  • Plesk for Linux/Unix

Symptoms

The following error is being displayed in Plesk:

SQLSTATE[HY000] [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.

Cause

MySQL service is used actively, which causes it to overuse the maximum available limits for process treads.

Resolution

For Ubuntu\Debian\Centos below 6:

Modify the '/etc/security/limits.conf'directly, and configure limits for MySQL as below:

mysql  soft  nproc  4096

For Centos 6 and above:

Create a file '/etc/security/limits.d/91-mysql.conf' and include the same configuration as described above. The additional files is needed to override the global limit specified in the '/etc/security/limits.d/90-nproc.conf'.

Search Words

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.

SQLSTATE[HY000] [1135] Can't create a new thread

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF