Welcome! Log In Create A New Profile

Advanced

Re: nginx variable to know the number of active connections

Maxim Dounin
December 20, 2013 10:50AM
Hello!

On Fri, Dec 20, 2013 at 09:54:21AM -0500, gglamenace wrote:

> Hello,
>
> Is there a way to get the number of active connections in order to activate
> or a not a cache mechanism when nginx is in a high trafic period?

The following variable are available in the
ngx_http_stub_status_module:

$connections_active,
$connections_reading
$connections_writing
$connections_waiting

--
Maxim Dounin
http://nginx.org/

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

nginx variable to know the number of active connections

gglamenace December 20, 2013 09:54AM

Re: nginx variable to know the number of active connections

Maxim Dounin December 20, 2013 10:50AM

Re: nginx variable to know the number of active connections

gglamenace December 20, 2013 11:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready