Welcome! Log In Create A New Profile

Advanced

Re: Debugging nginx Load Balancer

Anton Yuzhaninov
April 29, 2009 10:41AM
Arun Gupta wrote:
> 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.
>

This should be in error.log

May be I misunderstood your question, but if you want to know upstream port, you may add to
access_log format variable $upstream_addr

http://wiki.nginx.org/NginxHttpUpstreamModule#.24upstream_addr
http://wiki.nginx.org/NginxHttpLogModule

--
Anton Yuzhaninov
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: 70
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