Welcome! Log In Create A New Profile

Advanced

Re: Debugging nginx Load Balancer

Arun Gupta
April 29, 2009 09:47AM
Thanks for the response!

nginx was built using --with-debug, here is my complete CLI:

./configure --prefix=/usr/local/nginx --sbin-path=/usr/sbin --with-debug
--with-http_ssl_module

nginx and GlassFish gem are all running on the same box for my
experiment, i.e. 127.0.0.1. So I updated the existing events entry as:

events {
worker_connections 1024;
debug_connection 127.0.0.1;
}

Saw no new messages in access.log and lots of messages in error.log but
no information on the port being servicing the request.

Am I missing something ?

-Arun

Anton Yuzhaninov wrote:
> Arun Gupta wrote:
>> I'm using nginx 0.6.36 for a load balancing a cluster of GlassFish Gem.
>>
>> Is there a debug level or statement that can be added to nginx.conf that
>> will log the instance serving the request ?
>
> 1. nginx should be build with ./configure --with-debug
>
> 2. add ip to debug requests to nginx.conf:
>
> events {
> debug_connection 10.10.1.1;
> }

--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

Debugging nginx Load Balancer

Arun Gupta April 29, 2009 01:44AM

Re: Debugging nginx Load Balancer

Anton Yuzhaninov April 29, 2009 03:04AM

Re: Debugging nginx Load Balancer

Arun Gupta April 29, 2009 09:47AM

Re: Debugging nginx Load Balancer

Anton Yuzhaninov April 29, 2009 10:41AM

Re: Debugging nginx Load Balancer

Arun Gupta April 29, 2009 02:07PM

Re: Debugging nginx Load Balancer

Anton Yuzhaninov April 29, 2009 02:27PM

Re: Debugging nginx Load Balancer

Arun Gupta April 29, 2009 02:42PM

Re: Debugging nginx Load Balancer

Cliff Wells April 29, 2009 02:54PM

Re: Debugging nginx Load Balancer

Arun Gupta April 29, 2009 03:53PM

Re: Debugging nginx Load Balancer

Aaron Starr April 29, 2009 03:28PM

Re: Debugging nginx Load Balancer

Arun Gupta April 29, 2009 03:55PM

Re: Debugging nginx Load Balancer

Jauder Ho April 29, 2009 06:32PM

Re: Debugging nginx Load Balancer

Chris Jackson May 15, 2009 05:19PM

Re: Debugging nginx Load Balancer

Chris Jackson May 15, 2009 05:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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