Re: Optimize SO for nginx

2019-04-19 Thread Peter Booth via nginx
Where is your upstream? Where is your pho executing? Do you have a CDN? There’s three parts to this: 1 fix the bad OS defaults: If you are using RHEL 6 this would mean: Enabling tuned Disabling THP Increasing vm.min_free_kbytes Reducing swappiness 2 generic web server specific configuration Increa

Optimize SO for nginx

2019-04-19 Thread Rick Gutierrez
Hi, some recommendation to optimize a server of 4gb ram and 4 core for reverse proxy, with ssl activated, brotli and centos 7 SO, when I speak of optimizing is to modify the sysctl.conf I need to support 12k in a couple of applications with php and asp.net some experience advice? -- rickygm ht

what does "deny 0.0.0.1;" do

2019-04-19 Thread allenhe
Hi, I found this is valid, and want to know what scenario it's used for. deny 0.0.0.1; Thanks, Allen Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283857,283857#msg-283857 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Re: Worker other than the master is listening to the socket

2019-04-19 Thread allenhe
Nginx version: 1.13.6.1 1) In our use case, the Nginx is reloaded constantly. you will see lots worker process hanging at "nginx: worker process is shutting down" after couple days: 58 root 0:00 nginx: master process ./openresty/nginx/sbin/nginx -p /opt/applicatio 1029 nobody 0:2