Moved a few sites to a new server running CentOS 7, Plesk Onyx, 32gb, 2x480gb SSD, Intel(R) Xeon(R) CPU D-1521 @ 2.40GHz.
[root@server ~]# mysql -V
mysql Ver 15.1 Distrib 5.5.52-MariaDB, for Linux (x86_64) using readline 5.1
Trying to tune MySQL, but am stuck on the table_open_cache not going above 431.
| Open_tables | 431 |
My /etc/my.cnf.d/server.cnf as follows:
skip-name-resolve = 1
innodb_file_per_table = 1
innodb_buffer_pool_size = 16G
innodb_buffer_pool_instances = 16
innodb_log_file_size = 2G
tmp_table_size = 256M
max_heap_table_size = 256M
thread_cache_size = 4
table_open_cache = 2000
query_cache_type = 0
query_cache_size = 12M
Already checked the OS limit:
[root@server /]# ulimit -n
4096
Not sure where to look next. Any ideas or help would be awesome.