Re: nginx variable to know the number of active connections

2013-12-20 Thread gglamenace
Oh great, so i can parameter using a cache mechanism using fastcgi_cache_path or the Lua Module SRCACHE for my PHP upstream block simply by checking for example $connections_waiting on each request. I don't know exactly what would be a right setting for using a cache by testing $connections_waiting

nginx variable to know the number of active connections

2013-12-20 Thread gglamenace
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? Regards Jerome Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245738,245738#msg-245738 ___