March 06, 2014 02:18PM
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;
Subject Author Posted

Nginx - PHP FPM Server load is very high

agriz March 06, 2014 02:18PM

Re: Nginx - PHP FPM Server load is very high

Jonathan Matthews March 06, 2014 06:42PM

Re: Nginx - PHP FPM Server load is very high

artem March 07, 2014 02:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 262
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready