Bug #65109 | Contention caused by buf_pool_zip_mutex | ||
---|---|---|---|
Submitted: | 26 Apr 2012 7:56 | Modified: | 15 Apr 2013 12:53 |
Reporter: | Ben Mildren | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: InnoDB Plugin storage engine | Severity: | S5 (Performance) |
Version: | MySQL 5.1.61 | OS: | Linux (CentOS release 6.2 x86_64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | buffer pool, contention, innodb, mutex |
[26 Apr 2012 7:56]
Ben Mildren
[26 Apr 2012 8:54]
Valeriy Kravchuk
Please, send your my.cnf file content and SHOW GLOBAL STATUS output. I also wonder what your threads are doing when you see these waits, so SHOW FULL PROCESSLIST output at the moment of contention may be also useful. Check bug #51325 and bug #61188. I wonder if DROP TABLE and/or partitioned tables are involved in your case.
[26 Apr 2012 9:22]
Ben Mildren
Hi Valeriy The my.cnf is below. I'll also look to attach files with the output from show global status, show full processlist and show engine innodb status. Thanks Ben cat /etc/my.cnf [client] socket=/data/mysql-datadir/mysqld.sock [mysqld] datadir=/data/mysql-datadir tmpdir=/dev/shm/mysql-tmpdir back_log=75 thread_cache=32 connect_timeout=10 max_connections=5000 max_allowed_packet=128M socket=/data/mysql-datadir/mysqld.sock skip_name_resolve old_passwords=1 table_cache=16384 max_heap_table_size=256M tmp_table_size=256M key_buffer_size=32M default-table-type=innodb lower_case_table_names=1 collation_server=utf8_unicode_ci character_set_server=utf8 query_cache_size=0 query_cache_type=0 query_cache_limit=2M ignore-builtin-innodb plugin-load=innodb=ha_innodb_plugin.so;innodb_trx=ha_innodb_plugin.so;innodb_locks=ha_innodb_plugin.so;innodb_cmp=ha_innodb_plugin.so;innodb_cmp_reset=ha_innodb_plugin.so;innodb_cmpmem=ha_innodb_plugin.so;innodb_cmpmem_reset=ha_innodb_plugin.so innodb_thread_concurrency=0 innodb_lock_wait_timeout=50 innodb_buffer_pool_size=64G innodb_log_buffer_size=512M innodb_log_files_in_group=2 innodb_log_file_size=1G innodb_file_per_table innodb_open_files=2048 innodb_stats_on_metadata=0 log-warnings=2 general_log=0 general_log_file=/data/mysql-datadir/general.log slow_query_log=1 slow_query_log_file=/data/mysql-datadir/slow.log long_query_time=1
[26 Apr 2012 9:24]
Ben Mildren
show global status
Attachment: globalstatus.txt (text/plain), 17.43 KiB.
[26 Apr 2012 9:56]
Ben Mildren
There's no partitioning for any database tables on this server. In terms of dropping tables I do see some temporary tables being dropped when the output has been captured.
[15 Mar 2013 12:53]
MySQL Verification Team
Hi Ben, Quite frankly, we need more useful information. A few relevant samples from poor mans profiler would be good to see during the contention problem. http://poormansprofiler.org/ Also, please consider using 5.5 or 5.6, who have innodb_buffer_pool_instances, which certainly will help on a 64GB buffer pool.
[16 Apr 2013 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".