Re: 1135 Can't create a new thread (errno 11)...
Remembering what the online manual says about the max_user_connections, "A value of 0 (the default) means “no limit.”"
my.cnf now:
[root@bd7 ~]# my_print_defaults mysqld
--skip-name-resolve
--skip-external-locking
--port=3306
--socket=/var/lib/mysql/mysql.sock
--query_cache_type=0
--query_cache_size=0
--max_connections=6000
--max_user_connections=0
--innodb_log_file_size=768M
--innodb_log_files_in_group=4
--innodb_log_buffer_size=128M
and the test results...
[...]
mysqlslap: Error when connecting to server: 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
mysqlslap: Error when connecting to server: 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
mysqlslap: Error when connecting to server: 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
Benchmark
Average number of seconds to run all queries: 4.211 seconds
Minimum number of seconds to run all queries: 4.211 seconds
Maximum number of seconds to run all queries: 4.211 seconds
Number of clients running queries: 1200
Average number of queries per client: 0
Keep track this operations with MySQL Enterprise Monitor, I saw those connections, but just 1008 threads. The rest may be in aborted_connects...
Server version: 5.5.17 MySQL Community Server (GPL)
mysql> show status like 'Aborted_Connects';
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| Aborted_connects | 123 |
+------------------+-------+
1 row in set (0.00 sec)
mysql> show status like 'Connections';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Connections | 1158 |
+---------------+-------+
1 row in set (0.00 sec)
I will carry on testing...you're welcome to contribute in order to make MySQL scale more then this...
Wagner Bianchi - +55 31 8654-9510
Profile: bit.ly/toG94v
Blog: wagnerbianchi.com/blog
Twitter: @wagnerbianchijr
Skype: wbianchijr
Edited 1 time(s). Last edit at 12/17/2011 09:08AM by Wagner Bianchi.
Subject
Views
Written By
Posted
13620
December 16, 2011 10:58AM
27040
December 16, 2011 11:05AM
Re: 1135 Can't create a new thread (errno 11)...
6587
December 17, 2011 09:07AM
5232
December 17, 2011 10:06AM
4264
December 17, 2011 10:57AM
3570
December 17, 2011 04:02PM
3974
December 20, 2011 08:51AM
4161
December 22, 2011 08:27PM
5908
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.