Welcome! Log In Create A New Profile

Advanced

Re: Performance plateau when keepalives enabled

Maxim Dounin
March 08, 2010 05:10PM
Hello!

On Mon, Mar 08, 2010 at 11:30:52AM -0500, powderhound wrote:

[...]

> When I run the benchmark with keepalive_timeout 65, nginx is
> very slow (5-20 seconds delay) to accept new connections as soon
> as it reaches 1500 concurrent connections. It plateaus here: it
> completes all the requests but it never exceeds approximately
> 1500 concurrent connections.
>
> Is this normal? Everywhere I read tells me to leave keepalive
> on and it shouldn't make any difference in nginx. So is this a
> keepalive problem, or a problem handling >1500 concurrent
> connections? What should I look at to fix it?

Most likely you hit some network-related limit of your OS or some
firewall inbetween. Check if firewalls have enough number of
state entries, your OS isn't limited by number of sockets, network
buffers and so on.

Maxim Dounin

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

Performance plateau when keepalives enabled

powderhound March 08, 2010 11:30AM

Re: Performance plateau when keepalives enabled

Maxim Dounin March 08, 2010 05:10PM

Re: Performance plateau when keepalives enabled

powderhound March 08, 2010 05:21PM

Re: Performance plateau when keepalives enabled

powderhound March 08, 2010 06:15PM

Re: Performance plateau when keepalives enabled

powderhound March 08, 2010 06:42PM

Re: Performance plateau when keepalives enabled

powderhound March 08, 2010 09:35PM

Re: Performance plateau when keepalives enabled

powderhound March 08, 2010 11:04PM

Re: Performance plateau when keepalives enabled

James Matthews March 08, 2010 06:10PM

Re: Performance plateau when keepalives enabled

James Matthews March 08, 2010 06:36PM

Re: Performance plateau when keepalives enabled

Momchil Ivanov March 11, 2010 08:28AM

Re: Performance plateau when keepalives enabled

Vinay Y S March 21, 2010 04:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready