Re: Using nginx / haproxy / apache setupr?

2009-11-22 Thread Aleksandar Lazic
Hi, On Sam 21.11.2009 11:44, Ryan Chan wrote: Hello, On Sat, Nov 21, 2009 at 7:38 AM, Aleksandar Lazic wrote: You should setup haproxy so that the 'slow clients' don't eat all connections to apache. That's mean HA Proxy can handle this for me, and nginx is useless in my above setup? (Sin

Re: Using nginx / haproxy / apache setupr?

2009-11-22 Thread Ryan Chan
Hello, On Sat, Nov 21, 2009 at 4:39 PM, XANi wrote: > Well haproxy won't buffer response so that will help a bit on > not-so-slow-but-not-fast-either req. But then u could try use apache + > mod_worker + php thru fast-cgi I think (not sure tho) in that config it > will buffer req. in apache, free

Re: Using nginx / haproxy / apache setupr?

2009-11-22 Thread XANi
On Sun, 22 Nov 2009 21:30:51 +0800, Ryan Chan wrote: > Hello, > > On Sat, Nov 21, 2009 at 4:39 PM, XANi wrote: > > Well haproxy won't buffer response so that will help a bit on > > not-so-slow-but-not-fast-either req. But then u could try use > > apache + mod_worker + php thru fast-cgi I think (

NOSRV & BADREQ

2009-11-22 Thread Joe Stein
Hi, we are using HA-Proxy version 1.3.19 2009/07/27 For the second time in the last week we seem to be getting NOSRV in the haproxy logs for a few minutes without any reason (nothing in any log down stream). I noticed one thing during each outage is that before the NOSRV starts happening this is

Debugging 502 errors

2009-11-22 Thread Nerilaunt Nerilaunt
Hello, I have a quite big problem with Prestashop under Haproxy. When I try to use advanced features, I receive 502 errors : 502 Bad Gateway - The server returned an invalid or incomplete response. Error log give me something like that : Nov 22 20:03:10 localhost haproxy[29665]: 1.2.3.4:15870 [

Re: Debugging 502 errors

2009-11-22 Thread Gabriel Sosa
hello, have you checked your srvtimeout parameter? maybe your script is taking too long to reply to the haproxy and thats raises the timeout regards On Sun, Nov 22, 2009 at 8:59 PM, Nerilaunt Nerilaunt wrote: > Hello, > > I have a quite big problem with Prestashop under Haproxy. > > When I try

Re: Debugging 502 errors

2009-11-22 Thread Nerilaunt Nerilaunt
Hello, Errors appears immediately, not after a long time. I have timeout server 18, so it's not the problem ... Thanks, 2009/11/23 Gabriel Sosa : > hello, > have you checked your srvtimeout parameter? maybe your script is > taking too long to reply to the haproxy and thats raises the timeou