Welcome! Log In Create A New Profile

Advanced

Re: Querying backend/upstream server status

July 14, 2010 11:08AM
On Wed, Jul 14, 2010 at 7:01 PM, Srebrenko Šehić <ssehic@gmail.com> wrote:

> On Wed, Jul 14, 2010 at 4:15 AM, Weibin Yao <nbubingo@gmail.com> wrote:
>
> Hi,
>
> > See this module as an example:
> > http://github.com/cep21/healthcheck_nginx_upstreams
>
> Yeah. I had a look at that, but that module does an active health
> check. All I want is to query the current status as seen by nginx'
> workers themselves. I do NOT want to send any additional requests to
> the upstream.
> Any pointers?
>
> I don't think it's possible under current nginx architecture. Worker
processes are quite independent, and nginx don't have mechanism like
Apache's scoreborad, where every worker writes its status on. At least, you
can't get the global information about what every process are doing.
But, you may get upstream status about the worker_process who is handling
your "/monitor" request by checking every requests the worker_process is
handling? Just a thought.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Querying backend/upstream server status

Srebrenko Šehić 5052 July 13, 2010 06:42PM

Re: Querying backend/upstream server status

Weibin Yao 1520 July 13, 2010 10:16PM

Re: Querying backend/upstream server status

Srebrenko Šehić 1549 July 14, 2010 07:02AM

Re: Querying backend/upstream server status

duhoobo 1350 July 14, 2010 10:50AM

Re: Querying backend/upstream server status

duhoobo 1743 July 14, 2010 11:08AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

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