Приветствую! Сабж. mysql Ver 15.1 Distrib 10.1.21-MariaDB, for Linux (x86_64) using readline 5.1 В лог медленных запросов особо ничего не падает server.cnf:
[mysqld]
skip-name-resolve
skip-networking
#low-priority-updates
key_buffer_size = 384M
max_allowed_packet = 8M
table_open_cache = 100000
sort_buffer_size = 64M
read_buffer_size = 64M
join_buffer_size = 384M
read_rnd_buffer_size = 32M
net_buffer_length = 2K
thread_stack = 128K
max_connections=1000
query_cache_size = 128M
query_cache_limit = 2M
tmp_table_size = 512M
max_heap_table_size = 512M
thread_cache_size = 64
ft_min_word_len=3
wait_timeout = 600
interactive_timeout = 120
innodb_buffer_pool_size = 4G
innodb_log_buffer_size = 512M
innodb_flush_log_at_trx_commit = 0
innodb_lock_wait_timeout = 5
#Slow Query Log
slow_query_log = 1
long_query_time = 1
slow_query_log_file = /var/log/mysql_slow.log
log_slow_verbosity = query_plan
#log_queries_not_using_indexes
open_files_limit = 8192