Re: Nginx request processing is slow when logging disabled

2019-07-16 Thread Peter Booth via nginx
I’d suggest that you use wrk2, httperf, ab or similar to run a synthetic test. Can your site handle one request every five seconds? One request every second? Five every second? ... is your backend configured to log service times? Is your nginx configured to log service times? What do you see? By

Re: Nginx request processing is slow when logging disabled

2019-07-16 Thread heythisisom
Hi Maxim, Thank you for your suggestion. I understand that enabling/disabling logging introduces extra CPU overhead. However, I will start to monitor the listen queue with the ss command and debug the Issue further. Thanks, Om Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284757,284

Re: Nginx request processing is slow when logging disabled

2019-07-16 Thread Maxim Dounin
Hello! On Sat, Jul 13, 2019 at 09:50:50AM -0400, heythisisom wrote: > Hi Maxim, > > The nginx reverse proxy and uWSGI runs on the same host. Each nginx reverse > proxies are connected to only one single Instance of the uWSGI backend. > > But in the uWSGI backend, I'm running 4 workers in total

Re: Nginx request processing is slow when logging disabled

2019-07-13 Thread heythisisom
Hi Maxim, The nginx reverse proxy and uWSGI runs on the same host. Each nginx reverse proxies are connected to only one single Instance of the uWSGI backend. But in the uWSGI backend, I'm running 4 workers in total based on the configuration 2 workers can be handled by 1 VCPU. Essentially the In

Re: Nginx request processing is slow when logging disabled

2019-07-13 Thread heythisisom
Hi Maxim, The nginx reverse proxy and uWSGI runs on the same host. Each nginx reverse proxies are connected to only one single Instance of the uWSGI backend. But in the uWSGI backend, I'm running 4 workers in total based on the configuration 2 workers can be handled by 1 VCPU. Essentially the In

Re: Nginx request processing is slow when logging disabled

2019-07-08 Thread Maxim Dounin
Hello! On Thu, Jul 04, 2019 at 01:07:04PM +0530, Om Prakash Shanmugam wrote: > Hello All, > > I have an Nginx reverse proxy connected to uWSGI backend. I have configured > nginx to log to a centralized remote syslog service as: > > *error_log syslog:server=example.com:514 >

Nginx request processing is slow when logging disabled

2019-07-04 Thread Om Prakash Shanmugam
Hello All, I have an Nginx reverse proxy connected to uWSGI backend. I have configured nginx to log to a centralized remote syslog service as: *error_log syslog:server=example.com:514 ,tag=nginx_error debug;* The problem here is that, when I remove the above line from my