- Joined
- Sep 26, 2017
- Messages
- 14
- Points
- 3
Hello
I am running a server with Plesk Onyx
I am looking way to improve performance from server
mysql settings are my.cnf
I also change PHP setting as Virtubox suggested
thanks in advance
I am running a server with Plesk Onyx
I am looking way to improve performance from server
- Centos 7
- 24GB Memory
- 6 Cores
mysql settings are my.cnf
Code:
skip-character-set-client-handshake
skip-name-resolve
sort_buffer_size= 10M
read_buffer_size= 10M
table_open_cache= 8000
query_cache_limit= 80M
;join_buffer=10M
tmp_table_size = 256M
query_cache_type =1
query_cache_limit = 8M
query_cache_min_res_unit = 2k
query_cache_size = 128M
thread_cache_size = 4M
innodb_buffer_pool_instances = 1
max_heap_table_size = 256M
innodb_buffer_pool_size = 512M
I also change PHP setting as Virtubox suggested
Code:
max_execution_time = 300
max_input_time = 300
memory_limit = 2048M
[opcache]
opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=256
opcache.interned_strings_buffer=4
opcache.max_accelerated_files=20000
opcache.max_wasted_percentage=5
opcache.validate_timestamps=1
opcache.revalidate_freq=2
opcache.optimization_level=0xffffffff