Welcome! Log In Create A New Profile

Advanced

Re: High response time at high concurrent connections

Yichun Zhang (agentzh)
October 04, 2013 03:02PM
Hello!

On Fri, Oct 4, 2013 at 7:48 AM, laltin wrote:
> My backend logs show response times generally less than 2ms and with 4
> instances backends can handle 2000 reqs/sec.
> But when I look at nginx logs I see response times around 200ms and i think
> nginx is the main problem with my situation.
>

As I've suggested, use the off-CPU and on-CPU flamegraph tool to check
your loaded Nginx worker processes. It could easily be a configuration
issue or something. Please do that.

See

https://github.com/agentzh/nginx-systemtap-toolkit#sample-bt

and

https://github.com/agentzh/nginx-systemtap-toolkit#sample-bt-off-cpu

Also, ensure your Nginx is not flooding your Nginx's error log file,
which is very expensive. If it is, you can also clearly see it in the
flame graphs anyway.

Stop guessing, start tracing! :)

Best regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

High response time at high concurrent connections

laltin September 29, 2013 06:50PM

Re: High response time at high concurrent connections

Yichun Zhang (agentzh) September 29, 2013 10:26PM

Re: High response time at high concurrent connections

laltin September 30, 2013 04:42AM

Re: High response time at high concurrent connections

Yichun Zhang (agentzh) September 30, 2013 11:04PM

Re: High response time at high concurrent connections

Reinis Rozitis September 30, 2013 03:34AM

Re: High response time at high concurrent connections

bryndole October 02, 2013 05:01PM

Re: High response time at high concurrent connections

laltin October 02, 2013 05:13PM

Re: High response time at high concurrent connections

bryndole October 02, 2013 05:43PM

Re: High response time at high concurrent connections

laltin October 03, 2013 09:42AM

Re: High response time at high concurrent connections

Oscar Fernandez Sierra October 02, 2013 06:26PM

Re: High response time at high concurrent connections

Yichun Zhang (agentzh) October 04, 2013 03:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready