Hi
The server is struggling to handle the traffic.
I have 8GB ram. Quad core server.
I have changed the config file for nginx and i have default config for php fpm.
Please advice the best config.
Right now, the load is about 50
user nginx;
worker_processes 4;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
client_header_timeout 3m;
client_max_body_size 4M;
client_body_timeout 3m;
send_timeout 3m;
client_header_buffer_size 1k;
large_client_header_buffers 4 4k;
gzip on;
gzip_min_length 1100;
gzip_buffers 4 8k;
gzip_types text/plain;
output_buffers 1 32k;
postpone_output 1460;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 75 20;