# Active connection counter always increased (nginx 0.8.54)

**URL:** <https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417>\
**Category:** NGINX\
**Created:** [March 11, 2011, 2:35pm UTC](https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417 "2011-03-11T14:35:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 11, 2011, 2:35pm UTC](https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417/1 "2011-03-11T14:35:42Z")

</div>

the active connection in nginx status is always increased, i am use rhel  
and nginx 0.8.54, the gcc and configure line:  
built by gcc 3.4.6 20060404 (Red Hat 3.4.6-10)  
configure arguments: --with-http\_gzip\_static\_module  
–with-http\_stub\_status\_module --with-http\_geoip\_module  
–add-module=/root/ngx\_cache\_purge-1.2  
–add-module=/root/nginx\_upstream\_hash-0.3.1

before 0.8.53 not occurs.

Posted at Nginx Forum:

> **[active connection counter always increased (nginx 0.8.54)](https://forum.nginx.org/read.php?2,182264,182264#msg-182264)**
>
> the active connection in nginx status is always increased, i am use rhel and nginx 0.8.54, the gcc and configure line: built by gcc 3.4.6 20060404 (Red Hat 3.4.6-10) configure arguments: --with-http\_gzip\_static\_module --with-http\_stub\_status\_module...

---

<div class="post-metadata">

**Author:** ![leolance](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/839c29/32.png) [@leolance](https://www.ruby-forum.com/u/leolance)\
**Post date:** [March 11, 2011, 3:55pm UTC](https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417/2 "2011-03-11T15:55:23Z")

</div>

maybet traffict of your web possibility is grow  
re-checking your nginx configuration and make sure that. 🙂  
and don’t forget checking error\_log file

Regards

Posted at Nginx Forum:

> **[Re: active connection counter always increased (nginx 0.8.54)](https://forum.nginx.org/read.php?2,182264,182277#msg-182277)**
>
> the active connection in nginx status is always increased, i am use rhel and nginx 0.8.54, the gcc and configure line: built by gcc 3.4.6 20060404 (Red Hat 3.4.6-10) configure arguments: --with-http\_gzip\_static\_module --with-http\_stub\_status\_module...

---

<div class="post-metadata">

**Author:** ![leolance](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/839c29/32.png) [@leolance](https://www.ruby-forum.com/u/leolance)\
**Post date:** [March 19, 2011, 9:08pm UTC](https://www.ruby-forum.com/t/active-connection-counter-always-increased-nginx-0-8-54/204417/3 "2011-03-19T21:08:14Z")

</div>

i have 4 nginx and the same configuration use lvs dr load balance, two  
of them have this problem:  
Active connections: 4476  
server accepts handled requests  
27097803 27097803 27064329  
Reading: 1959 Writing: 2517 Waiting: 0

# netstat -an | wc -l

459

and the normal server:  
Active connections: 8  
server accepts handled requests  
58386943 58386943 58312509  
Reading: 2 Writing: 6 Waiting: 0

# netstat -an | wc -l

1104

These two error server have the same kernel version:  
Linux [abc.com](http://abc.com) 2.6.9-78.ELsmp #1 SMP Wed Jul 9 15:46:26 EDT 2008 x86\_64  
x86\_64 x86\_64 GNU/Linux

I do not know where it went wrong.

Posted at Nginx Forum:  
[http://forum.nginx.org/read.php?2,182264,184016#msg-184016](http://forum.nginx.org/read.php?2,182264,184016#msg-184016)
