October 16, 2017 12:37PM
I am struggling to handle a traffic of 10K+ It will reach a lot. But my bad configuration is limiting them.

www.conf

pm.max_children = 400
pm.start_servers = 40
pm.min_spare_servers = 40
pm.max_spare_servers = 70
pm.max_requests = 800

nginx.conf

worker_processes 3;
events {
worker_connections 8096;
accept_mutex on;
accept_mutex_delay 500ms;
multi_accept on;
use epoll;
}

sendfile on;
tcp_nodelay on;
tcp_nopush on;


client_body_buffer_size 128K;
client_max_body_size 8m;

client_body_timeout 15;
client_header_timeout 15;
send_timeout 10;
keepalive_timeout 15;

open_file_cache max=5000 inactive=20s;
open_file_cache_valid 60s;
open_file_cache_min_uses 4;
open_file_cache_errors on;

If i change the values, it hangs with 3k or 5k visitors.
This one handle 5k to 8k

But cpu and ram are available in server.
Quad core and 32GB Ram SSD
Subject Author Posted

E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 12:37PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

Iurii Medvedev October 16, 2017 12:50PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 12:59PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

rsdrsd October 16, 2017 01:26PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 01:32PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

rsdrsd October 16, 2017 01:36PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 01:52PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

Iurii Medvedev October 16, 2017 02:20PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 03:04PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

pbooth October 16, 2017 03:32PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

pbooth October 16, 2017 03:36PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 03:55PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

pbooth October 16, 2017 11:50PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 17, 2017 12:39AM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

pbooth October 17, 2017 08:18PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

GreenGecko October 18, 2017 03:36AM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

Brian October 16, 2017 04:06PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 16, 2017 11:38PM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 17, 2017 01:31AM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 17, 2017 01:48AM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

agriz October 17, 2017 01:50AM

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

pbooth October 17, 2017 02:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready