Welcome! Log In Create A New Profile

Advanced

Nginx - PHP FPM Server load is very high

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;
SubjectAuthorPosted

Nginx - PHP FPM Server load is very high

agrizMarch 06, 2014 02:18PM

Re: Nginx - PHP FPM Server load is very high

Jonathan MatthewsMarch 06, 2014 06:42PM

Re: Nginx - PHP FPM Server load is very high

artemMarch 07, 2014 02:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 119
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready