Peter,
Me too facing the same issue.
Please find below my server details.
MySQL version : 5.6.28-log MySQL Community Server (GPL)
OS : CentOS Linux release 7.1.1503 (Core)
Amount of RAM in machine : 24GB
performance_schema : ON
result of free -m :
total used free shared buff/cache available
Mem: 23937 20327 201 24 3408 3280
Swap: 3967 3967 0
my.cnf settings:
# For advice on how to change settings please see
#
http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
port = 3306
bind-address = 0.0.0.0
server-id = 1
log-bin = mysql-bin
binlog-format = MIXED
log-slave-updates = 1
binlog-ignore-db = “mysql”
expire_logs_days=3
wait_timeout = 3600
interactive_timeout = 28800
connect_timeout = 60
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-slave-start
max_connections = 1000
max_connect_errors = 50
max_allowed_packet = 32M
slave_max_allowed_packet=32M
max_heap_table_size = 400M
read_buffer_size = 128K
read_rnd_buffer_size = 128K
sort_buffer_size = 256K
join_buffer_size = 256K
thread_cache_size = 8
query_cache_type = 1
query_cache_size = 1500M
query_cache_limit = 10M
ft_min_word_len = 4
default-storage-engine = MYISAM
transaction_isolation = REPEATABLE-READ
tmp_table_size = 400M
table_open_cache=3000
open_files_limit=32000
slave_allow_batching=ON
slave_rows_search_algorithms=INDEX_SCAN,HASH_SCAN
binlog_row_image = minimal
binlog_cache_size = 2M
thread_stack = 256K
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Recommended in standard MySQL setup
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
### *** Slow Queries Settings *** ###
slow_query_log
long_query_time = 2
slow_query_log_file=/var/lib/mysql/mysql-slow.log
#### *** MyISAM Specific options *** ####
key_buffer_size = 4G
bulk_insert_buffer_size = 256M
myisam_sort_buffer_size = 256M
myisam_max_sort_file_size = 10G
myisam_repair_threads = 1
myisam_recover
#### *** INNODB Specific options *** ######
innodb_data_file_path =ibdata1:1G;ibdata2:1G:autoextend
innodb_buffer_pool_size = 12G
innodb_write_io_threads = 8
innodb_read_io_threads = 8
#innodb_thread_concurrency = 8
innodb_flush_log_at_trx_commit = 1
innodb_log_buffer_size = 16M
innodb_log_file_size = 256M
innodb_log_files_in_group = 2
innodb_max_dirty_pages_pct = 90
innodb_lock_wait_timeout = 120
#innodb_flush_method = O_DIRECT
#innodb_thread_concurrency
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 512M
sort_buffer_size = 512M
read_buffer_size = 4M
write_buffer_size = 4M
[mysqlhotcopy]
interactive-timeout
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
open-files-limit = 32000
------------------------
please suggest.
Regards
sdbhabal.