Welcome! Log In Create A New Profile

Advanced

RE: stats for each worker process

February 20, 2010 11:36AM
I can separate the status to the vip (http site). See my config, hope
this help.

http {

error_log /var/log/nginx/error.abc.def.com.log;

access_log /var/log/nginx/access.abc.def.com.log;

server {

listen abc.def.com:443;

server_name abc.def.com;

ssl on;

ssl_session_cache shared:SSL:10m;

keepalive_timeout 75;

ssl_session_timeout 10m;

ssl_certificate /etc/ssl/ abc.def.pem;

ssl_certificate_key /etc/ssl/abc.def.pem;

proxy_redirect off;

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_set_header X-FORWARDED_PROTO http;

proxy_connect_timeout 300;

location / { proxy_pass
http://10.10.10.10:9002/something/under/this?saflsajfl; }

location /nwa { proxy_pass http://
10.10.10.13:9002/something/under/this?saflsajfl/sdfsdf; }

location /test/admin { proxy_pass http://
10.10.10.10:9002/something/under/this?saflsajfl/test; }

location /test { proxy_pass http://
10.10.10.11:9002/something/under; }

location /wordpress { proxy_pass http://
10.10.10.10:9001/something/under/wordpress; }

location /nginx_status {

stub_status on;

access_log off;

}

}

}



Danny Trinh

Linux Admin





From: giuseppe furlan [mailto:giuseppe.furlan@hotmail.com]
Sent: Thursday, February 18, 2010 9:57 AM
To: nginx@nginx.org
Subject: stats for each worker process



hello all,

I'm wondering if there is a way to get stats for each worker process.
If I use NginxHttpStubStatusModule then I get global stats but I'd like
to get the status of each worker, the number of requests that worker has
performed, the total number of bytes served by the worker, the current
percentage CPU used by each worker.

Thanks in advance
Giuseppe

________________________________

Not got a Hotmail account? Sign-up now - Free
http://clk.atdmt.com/UKM/go/197222280/direct/01/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

stats for each worker process

giuseppe furlan February 20, 2010 11:36AM

RE: stats for each worker process

danny February 20, 2010 11:36AM

RE: stats for each worker process

giuseppe furlan February 20, 2010 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
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