<div dir='auto'><div>What's the load during incident ?</div><div dir="auto">Are the request for static files or PHP ?</div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On 23-Jan-2018 11:04 PM, agriz <nginx-forum@forum.nginx.org> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">worker_processes auto;
<br>
pid /run/nginx.pid;
<br>
worker_rlimit_nofile 100000;
<br>
error_log /var/log/nginx/error.log crit;
<br>
events {
<br>
worker_connections 4000;
<br>
multi_accept on;
<br>
use epoll;
<br>
}
<br>
<br>
http {
<br>
include /etc/nginx/mime.types;
<br>
sendfile on;
<br>
tcp_nopush on;
<br>
tcp_nodelay on;
<br>
directio 4m;
<br>
types_hash_max_size 2048;
<br>
<br>
client_body_buffer_size 15K;
<br>
client_max_body_size 8m;
<br>
<br>
keepalive_timeout 20;
<br>
client_body_timeout 15;
<br>
client_header_timeout 15;
<br>
send_timeout 10;
<br>
<br>
open_file_cache max=5000 inactive=20s;
<br>
open_file_cache_valid 60s;
<br>
open_file_cache_min_uses 5;
<br>
open_file_cache_errors off;
<br>
<br>
gzip on;
<br>
gzip_comp_level 2;
<br>
gzip_min_length 1000;
<br>
gzip_proxied any;
<br>
gzip_types text/plain text/css application/json application/xjavascript
<br>
text/xml application/xml application/xml+rss text/javascript;
<br>
<br>
access_log off;
<br>
log_not_found off;
<br>
include /etc/nginx/conf.d/*.conf;
<br>
}
<br>
<br>
The server has 8 cores and 32 gb ram.
<br>
The load is 0.05
<br>
But nginx is not able to handle more than 500 requests per second.
<br>
The server suddenly received 1500 hits and goes down immediately. I have to
<br>
restart nginx.
<br>
Please tell me how to increase the limit
<br>
<br>
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278237,278237#msg-278237
<br>
<br>
_______________________________________________
<br>
nginx mailing list
<br>
nginx@nginx.org
<br>
http://mailman.nginx.org/mailman/listinfo/nginx
<br>
</p>
</blockquote></div><br></div></div></div>