Loris Modena
New Pleskian
I would like to know how to optimize the configuration in order to increase performance especially with regard to database requests. The server at my disposal is as follows:
Server OVH Enterprise SP-32
Linux Plesk 12.5 (Cent OS 7)
Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz – Core: 8
32 GB RAM
2x2000GB SATA
Network: 1Gbps (500 Mbps)
The need is to manage a single ecommerce on PrestaShop and with an Ap PageBuilder theme.
Did I denoted differences from a server with less RAM and older CPUs, how and where to configure it?
I find many tips on the web, but they do not lead to real improvements.
Current configuration:
PHP 5.6.30 - FPM Apache
memory_limit: 2048M
max_execution_time: 300
max_input_time: 300
post_max_size: 256M
upload_max_filesize: 256M
opcache.enable: on
max_input_vars = 15000; //to manage prestashop translations
Intelligent file static processing: disable
Additional Nginx Directives:
proxy_buffer_size 256k;
proxy_buffers 8 512k;
proxy_busy_buffers_size 512k;
fastcgi_buffer_size 256k;
fastcgi_buffers 512 8k;
fastcgi_busy_buffers_size 512k;
fastcgi_temp_file_write_size 512k;
fastcgi_connect_timeout 600;
fastcgi_send_timeout 600;
fastcgi_read_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
send_timeout 600;
my.cnf
[mysqld]
#bind-address = ::
bind-address = 127.0.0.1
skip_name_resolve
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
performance_schema = on
slow-query-log = 1
slow-query-log-file = /var/log/mysql/mysql-slow.log
long_query_time = 1
log-queries-not-using-indexes
key_buffer = 512M
join_buffer_size = 48M
query_cache_size = 8M
query_cache_type = 0
query_cache_limit = 2M
tmp_table_size = 2048M
max_heap_table_size = 2048M
thread_cache_size = 4
innodb_buffer_pool_size = 3072M
innodb_file_per_table = ON
table_open_cache = 500
innodb_buffer_pool_instances = 3
Server OVH Enterprise SP-32
Linux Plesk 12.5 (Cent OS 7)
Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz – Core: 8
32 GB RAM
2x2000GB SATA
Network: 1Gbps (500 Mbps)


The need is to manage a single ecommerce on PrestaShop and with an Ap PageBuilder theme.
Did I denoted differences from a server with less RAM and older CPUs, how and where to configure it?
I find many tips on the web, but they do not lead to real improvements.
Current configuration:
PHP 5.6.30 - FPM Apache
memory_limit: 2048M
max_execution_time: 300
max_input_time: 300
post_max_size: 256M
upload_max_filesize: 256M
opcache.enable: on
max_input_vars = 15000; //to manage prestashop translations
Intelligent file static processing: disable
Additional Nginx Directives:
proxy_buffer_size 256k;
proxy_buffers 8 512k;
proxy_busy_buffers_size 512k;
fastcgi_buffer_size 256k;
fastcgi_buffers 512 8k;
fastcgi_busy_buffers_size 512k;
fastcgi_temp_file_write_size 512k;
fastcgi_connect_timeout 600;
fastcgi_send_timeout 600;
fastcgi_read_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
send_timeout 600;
my.cnf
[mysqld]
#bind-address = ::
bind-address = 127.0.0.1
skip_name_resolve
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
performance_schema = on
slow-query-log = 1
slow-query-log-file = /var/log/mysql/mysql-slow.log
long_query_time = 1
log-queries-not-using-indexes
key_buffer = 512M
join_buffer_size = 48M
query_cache_size = 8M
query_cache_type = 0
query_cache_limit = 2M
tmp_table_size = 2048M
max_heap_table_size = 2048M
thread_cache_size = 4
innodb_buffer_pool_size = 3072M
innodb_file_per_table = ON
table_open_cache = 500
innodb_buffer_pool_instances = 3