# Status module, OS difference

**URL:** <https://www.ruby-forum.com/t/status-module-os-difference/218427>\
**Category:** NGINX\
**Created:** [March 31, 2012, 8:11am UTC](https://www.ruby-forum.com/t/status-module-os-difference/218427 "2012-03-31T08:11:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 31, 2012, 8:11am UTC](https://www.ruby-forum.com/t/status-module-os-difference/218427/1 "2012-03-31T08:11:42Z")

</div>

Hi.

I’m using nginx stub\_status module to get graphs on cacti.  
I’m also using it on various platforms, like Linux/Solaris/FreeBSD  
(someone will say that such a zoo is a bad idea, but still).

Graphs on my cacti looks different for these systems. The graphs  
themselves will probably add more distraction so I will show pure  
numbers:

Solaris (this one runs php-fpm plus it serves the distros repository,  
most of connections are distro downloads; /dev/poll, multi\_accept):

Active connections: 104  
server accepts handled requests  
58558789 58558789 58528647  
Reading: 4 Writing: 100 Waiting: 0

Linux (php-fpm, epoll, multi\_accept):

Active connections: 326  
server accepts handled requests  
1013 1013 1812  
Reading: 31 Writing: 2 Waiting: 293

FreeBSD (php-fpm, kqueue, multi\_accept):

Active connections: 5  
server accepts handled requests  
1659837 1659837 1659799  
Reading: 0 Writing: 5 Waiting: 0

Notice that everywhere except Linux the number of waiting connections is  
0, and on Linux the number of reading connections is significant. That  
really looks weird to me, because (I will probably get another wave of  
‘man, you really should get rid of this zoo’, and I promise I will)  
these servers serve the same backend pool (in the same time the  
difference between the total number of connection is normal and I can  
explain this). Why is that ? Is that because of the difference in the  
way these systems handle connections or is that because of the  
difference in platform-specific code (including the code that counts  
connections) ?

Thanks.

Posted at Nginx Forum:

> **[status module, OS difference](https://forum.nginx.org/read.php?2,224700,224700#msg-224700)**
>
> Hi. I'm using nginx stub\_status module to get graphs on cacti. I'm also using it on various platforms, like Linux/Solaris/FreeBSD (someone will say that such a zoo is a bad idea, but still). Graphs on my cacti looks different for these systems. The...
