Re: 1135 Can't create a new thread (errno 11)...
I think I found the main problem:
CentOS (only version 6?) by default has a restriction on the max. user processes (enforce by the file /etc/security/limits.d/90-nproc.conf) from 7820 processes to 1024 (per program, mysql included).
The reason for this, imho, is to be protected against fork bombs.
When you perform too much concurrent user threads after each other, this becomes a problem (errno 11).
This means: when you perform a test with concurrency 1100 it is no problem, but if you try 1000 followed by 1100. There is a problem.
One side note: it seems that when you reboot the machine, the 'nproc'-restriction only gets enforced *after* the start of the 'mysqld'-process. This means that, after a reboot, as long as the mysql-server runs, there is no problem. But if you restart the server, then it suffers from the nproc-enforcement.
Do you think I could be correct?
Subject
Views
Written By
Posted
12731
December 16, 2011 10:58AM
25546
December 16, 2011 11:05AM
6166
December 17, 2011 09:07AM
4875
December 17, 2011 10:06AM
3904
December 17, 2011 10:57AM
3237
December 17, 2011 04:02PM
3627
December 20, 2011 08:51AM
3818
December 22, 2011 08:27PM
Re: 1135 Can't create a new thread (errno 11)...
5553
January 04, 2012 11:21AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.