Bug #16885 | MySQL 3.23.58 under Fedora fails to support multi-processors... | ||
---|---|---|---|
Submitted: | 29 Jan 2006 22:53 | Modified: | 9 Feb 2006 13:15 |
Reporter: | Ryan Barclay | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S5 (Performance) |
Version: | 3.23.58 | OS: | Linux (Linux - Fedora Core 2) |
Assigned to: | CPU Architecture: | Any |
[29 Jan 2006 22:53]
Ryan Barclay
[30 Jan 2006 9:29]
Valeriy Kravchuk
Thank you for a problem report. MySQL server is a single multi-threaded process. So, the task to spread its threads over processors is up to the OS scheduler. Please, send the my.cnf file content that leads to failure upon startup.
[30 Jan 2006 12:28]
Ryan Barclay
Thanks for the reply. Here is my my.cnf: ------------- [root@web2 root]# tail /etc/my.cnf [mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [client] socket=/home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock ------------- When I add the line "thread_concurrency = 4" or any other number, MySQL service fails to start.
[9 Feb 2006 13:15]
Valeriy Kravchuk
If you want to set thread_concurrency, do it properly, according to the manual of version 3.23 (http://dev.mysql.com/doc/refman/4.1/en/server-system-variables.html etc.): openxs@suse:~/dbs/3.23> cat var/my.cnf [mysqld] set-variable = thread_concurrency=4 With this setting your 3.23.58 will start successfully, although, this server variable has a default value of 10 and it seems it is ignored on Linux (used for Solaris). Your "top" results show that all your 4 CPUs are equally loaded and used, so I see no evidence of not supporting multiple CPUs in this report.