Welcome! Log In Create A New Profile

Advanced

Re: Nginx double requests for my upstreams?

June 08, 2009 06:45AM
Hello,

Maxim Dounin Wrote:
-------------------------------------------------------
> Hello!
>
> On Sun, Jun 07, 2009 at 03:35:41PM -0400,
> funkdoobiest wrote:
>
> > Hi Maxim,
> >
> > Maxim Dounin Wrote:
> >
> --------------------------------------------------
> -----
> > > Hello!
> > >
> > > On Fri, Jun 05, 2009 at 07:59:13AM -0400,
> > > funkdoobiest wrote:
> > >
> > > > Hi,
> > > >
> > > > I have a strange behavior for my site load
> > > balanced with nginx.
> > > > I have 1 Loadbalancer with nginx and 3
> servers
> > > with apache.
> > > >
> > > > sometimes a request is doubled and send to
> 2 of
> > > my apache webservers.
> > > > this is a big problem for me, because this
> is
> > > sometimes a requests that is doing a
> payement.
> > > > I checked this behavior with doing a log of
> all
> > > my payment transactions and there a some
> > > transactions
> > > > for the same person double at the same
> second!
> > > (the user can't do this at the website,
> because I
> > > send the form which is doing the request with
> JS
> > > and ask the User if he really wants to pay and
> so
> > > on)
> > >
> > >
> http://wiki.nginx.org/NginxHttpProxyModule#proxy_n
>
> > > ext_upstream
> > >
> > > Maxim Dounin
> >
> > Thank you for your help. I set
> proxy_next_upstream to off, but there are still
> double requests :-(
>
> It doesn't looks like nginx problem. Try checking
> logs (frontend
> and backend ones) - probably your javascript code
> just does
> something wrong.
>
> Maxim Dounin

I checked it about 100 times. I checked the logs also. It's not my script.
The requests are at the same second. If i disable the loadbalancer (in this case nginx) double request are stopping.

Jan
Subject Author Posted

Nginx double requests for my upstreams?

funkdoobiest June 05, 2009 07:59AM

Re: Nginx double requests for my upstreams?

Maxim Dounin June 05, 2009 09:30AM

Re: Nginx double requests for my upstreams?

funkdoobiest June 07, 2009 03:35PM

Re: Nginx double requests for my upstreams?

mike June 07, 2009 03:49PM

Re: Nginx double requests for my upstreams?

Maxim Dounin June 07, 2009 04:56PM

Re: Nginx double requests for my upstreams?

funkdoobiest June 08, 2009 06:45AM

Re: Nginx double requests for my upstreams?

Maxim Dounin June 08, 2009 08:20AM

Re: Nginx double requests for my upstreams?

showrunning July 13, 2010 07:36AM

Re: Nginx double requests for my upstreams?

funkdoobiest June 22, 2009 10:19PM

Re: Nginx double requests for my upstreams?

funkdoobiest June 23, 2009 07:47AM

Re: Nginx double requests for my upstreams?

Maxim Dounin June 23, 2009 08:24AM

Re: Nginx double requests for my upstreams?

funkdoobiest June 23, 2009 10:33AM

Re: Nginx double requests for my upstreams?

Maxim Dounin June 23, 2009 10:56AM

Re: Nginx double requests for my upstreams?

funkdoobiest June 30, 2009 10:54AM

Re: Nginx double requests for my upstreams?

Maxim Dounin June 30, 2009 12:48PM

Re: Nginx double requests for my upstreams?

gelanyi1 July 13, 2010 10:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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