<div dir="auto">How many core do you have?</div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 16, 2017 19:37, "agriz" <<a href="mailto:nginx-forum@forum.nginx.org">nginx-forum@forum.nginx.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am struggling to handle a traffic of 10K+ It will reach a lot. But my bad<br>
configuration is limiting them.<br>
<br>
www.conf<br>
<br>
pm.max_children = 400<br>
pm.start_servers = 40<br>
pm.min_spare_servers = 40<br>
pm.max_spare_servers = 70<br>
pm.max_requests = 800<br>
<br>
nginx.conf<br>
<br>
worker_processes 3;<br>
events {<br>
worker_connections 8096;<br>
accept_mutex on;<br>
accept_mutex_delay 500ms;<br>
multi_accept on;<br>
use epoll;<br>
}<br>
<br>
sendfile on;<br>
tcp_nodelay on;<br>
tcp_nopush on;<br>
<br>
<br>
client_body_buffer_size 128K;<br>
client_max_body_size 8m;<br>
<br>
client_body_timeout 15;<br>
client_header_timeout 15;<br>
send_timeout 10;<br>
keepalive_timeout 15;<br>
<br>
open_file_cache max=5000 inactive=20s;<br>
open_file_cache_valid 60s;<br>
open_file_cache_min_uses 4;<br>
open_file_cache_errors on;<br>
<br>
If i change the values, it hangs with 3k or 5k visitors.<br>
This one handle 5k to 8k<br>
<br>
But cpu and ram are available in server.<br>
Quad core and 32GB Ram SSD<br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,276892,276892#msg-276892" rel="noreferrer" target="_blank">https://forum.nginx.org/read.<wbr>php?2,276892,276892#msg-276892</a><br>
<br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</blockquote></div></div>