we have a dedicated server running only 1 domain (Wordpress) with 500 users per minute and have very often timeouts. Server Specs: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (12 core(s)) 64GB RAM 2 x 200GB SSD Raid 0 OS: Debian 9.6 , Plesk Onyx 17.8, MariaDB 10, PHP-FPM 7.2
We just tuned some DB settings but still have the timeouts/breaks. MariaDB CPU Usage is 200% , PHP-FPM 50% CPU per Instance Can anyone help ?
Here is the my.cnf
key_buffer_size = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
myisam_recover_options = BACKUP
max_connections = 200
#table_cache = 64
#thread_concurrency = 10
#query_cache_limit = 1M
#query_cache_size = 16M
skip-name-resolve = 1
table_cache = 8192
table_definition_cache = 8192
table_open_cache = 16384
sort_buffer_size = 16M
query_cache_limit = 24M
query_cache_size = 256M
join_buffer_size = 10M
tmp_table_size = 512M
max_heap_table_size = 512M
innodb_buffer_pool_size = 24G
innodb_buffer_pool_instances = 8
innodb_flush_method = O_DSYNC
innodb_flush_log_at_trx_commit = 0
innodb_lru_scan_depth = 256