Nginx status active connections

Hi,

We do have a few high load web servers behind two load balancers running
*
nginx/1.0.0*
I upgraded two of them to nginx/1.0.12 all servers are running well
despite the version of nginx
However I’ve noticed that there is a big difference in active
connections
between the old version
and the new version.

What do you think about it, is it bad or good.

nginx/1.0.12
Linux 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:50:31 EDT 2010 x86_64
GNU/Linux

CentOS release 5.7 (Final)
*Active connections: 117 *
server accepts handled requests

  • 12710947 12710947 12710947 *
    *Reading: 0 Writing: 117 Waiting: 0 *

nginx/1.0.12
Linux 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 13:37:46 EST 2011 x86_64
GNU/Linux

CentOS release 5.7 (Final)
*Active connections: 74 *
server accepts handled requests

  • 31879742 31879742 31879741 *
    *Reading: 0 Writing: 74 Waiting: 0 *

nginx/1.0.0
Linux 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
GNU/Linux
CentOS release 5.6 (Final)
Active connections: 1
server accepts handled requests
1745405552 1745405552 1745405549
Reading: 0 Writing: 1 Waiting: 0

nginx/1.0.0
Linux 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
GNU/Linux
CentOS release 5.6 (Final)
Active connections: 1
server accepts handled requests
1777800935 1777800935 1777800935
Reading: 0 Writing: 1 Waiting: 0

nginx/1.0.0
Linux 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
GNU/Linux
CentOS release 5.6 (Final)
Active connections: 6
server accepts handled requests
638878235 638878235 638878235
Reading: 0 Writing: 6 Waiting: 0

nginx/1.0.0
Linux 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
GNU/Linux
CentOS release 5.6 (Final)
Active connections: 5
server accepts handled requests
1785279854 1785279854 1785279852
Reading: 0 Writing: 5 Waiting: 0

nginx/1.0.0
Linux 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
GNU/Linux
CentOS release 5.6 (Final)
Active connections: 4
server accepts handled requests
1795180194 1795180194 1795180190
Reading: 0 Writing: 4 Waiting: 0

nginx/1.0.0
Linux 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13 EDT 2011 x86_64
GNU/Linux
CentOS release 5.6 (Final)
Active connections: 4
server accepts handled requests
1792770090 1792770090 1792770085
Reading: 0 Writing: 4 Waiting: 0

nginx/1.0.0
Linux 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 13:37:46 EST 2011 x86_64
GNU/Linux
CentOS release 5.7 (Final)
Active connections: 6
server accepts handled requests
1374777486 1374777486 1374777465
Reading: 0 Writing: 6 Waiting: 0

Best Regards
*

Iqbal A.
+212 665 025 032
[email protected]

Hello!

On Thu, Mar 08, 2012 at 02:37:37PM +0000, Iqbal A. wrote:

What do you think about it, is it bad or good.
This is likely due to lingering close changes in 1.0.6:

*) Bugfix: in closing connection for pipelined requests.

You may fine-tune the behaviour via lingering_close,
lingering_time and lingering_timeout directives (see
Module ngx_http_core_module), though I would rather
recommend to keep the default.

Maxim D.

Hi Maxim,

Thanks a lot for you help.

Best Regards
*


*
Iqbal A.
+212 665 025 032
[email protected]