Re: Optimize SO for nginx

2019-04-22 Thread Rick Gutierrez
El sáb., 20 abr. 2019 a las 0:05, Peter Booth via nginx () escribió: > > Where is your upstream? Where is your pho executing? Do you have a CDN? Hi Peter , both my upstream and php application are in the same datacenter ,different virtual machines with kvm, 1gb network , I do not have CDN > > The

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