Nginx - PHP FPM Server load is very high

agriz nginx-forum at
Thu Mar 6 19:18:01 UTC 2014


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

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;

Posted at Nginx Forum:,248201,248201#msg-248201

More information about the nginx mailing list