keepalive_requests on backend

Kingsley Foreman kingsley at internode.com.au
Thu Sep 22 11:26:42 UTC 2011


Is it worth making it a feature request?

Kingsley

________________________________________
From: nginx-bounces at nginx.org [nginx-bounces at nginx.org] on behalf of Maxim Dounin [mdounin at mdounin.ru]
Sent: 22 September 2011 18:07
To: nginx at nginx.org
Subject: Re: keepalive_requests on backend

Hello!

On Thu, Sep 22, 2011 at 08:07:24AM +0000, Kingsley Foreman wrote:

> Hi guys
>
> I use
>
>         upstream backend{
>                 server xxx.xxx.xxx.xxx:80;
>                 keepalive 40;
>         }
>
> I was wondering if this listened to "keepalive_requests"
>
> I would like to be able to make sure the backend will only
> maintain a connection for say 1000 queries before it reconnects.

Right now nginx doesn't set any limits on number of requests to
backend via single keepalive connection.  Backend may do so.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list