Welcome! Log In Create A New Profile

Advanced

NginxHttpStubStatusModule Stats Incorrect?

All files from this thread

File Name File Size   Posted by Date  
NGINX status.png 42.5 KB open | download Nathan Folkman 01/08/2010 Read message
Nathan Folkman
January 08, 2010 01:02AM
Seeing something that doesn't add up after adding the following rewrite rules:

server {
listen 80;
server_name _;
underscores_in_headers on;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 10;
proxy_send_timeout 30;
proxy_read_timeout 30;
charset utf-8;

if ($host ~* "www.playfoursquare.com") {
rewrite ^(.*)$ http://foursquare.com$1 permanent;
}

if ($host ~* "playfoursquare.com") {
rewrite ^(.*)$ http://foursquare.com$1 permanent;
}

if ($host ~* "www.foursquare.com") {
rewrite ^(.*)$ http://foursquare.com$1 permanent;
}

...
}

Both the "reading" and "active" stats are growing linearly since I have the change. The odd thing is that non of the other system stats agree with this (load, interrupts, etc.) Also, when I actually get the current active connections, it doesn't seem to agree:

netstat -ant | grep EST | wc -l
408



Any ideas? Thanks!

- Nathan

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Attachments:
open | download - NGINX status.png (42.5 KB)
Subject Author Posted

NginxHttpStubStatusModule Stats Incorrect? Attachments

Nathan Folkman January 08, 2010 01:02AM

Re: NginxHttpStubStatusModule Stats Incorrect?

Maxim Dounin January 08, 2010 08:20AM

Re: NginxHttpStubStatusModule Stats Incorrect?

Nathan Folkman January 08, 2010 10:34AM

Re: NginxHttpStubStatusModule Stats Incorrect?

Maxim Dounin January 08, 2010 06:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 326
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready