Re: Error 504

2011-09-12 Thread Christophe Rahier
Hi Willy, Thank you! I'm just confused now :-) Which values have I to use? global log 192.168.0.2 local0 log 127.0.0.1 local1 notice maxconn 10240 defaults logglobal option dontlognull retries2 clitimeout 35s #srvtimeout 5 contimeout 35s #timeout server 60s timeout

Re: Error 504

2011-09-12 Thread Willy Tarreau
On Mon, Sep 12, 2011 at 12:02:55AM -0700, Christophe Rahier wrote: Hi Willy, Thank you! I'm just confused now :-) Which values have I to use? Replace any old form with the newer, this will bring you the following : timeout client 35s timeout server 60s timeout connect 35s(far

Re: Error 504

2011-09-12 Thread Christophe Rahier
Hi Willy, Thank you very much for your help Christophe Le 12/09/11 09:22, « Willy Tarreau » w...@1wt.eu a écrit : On Mon, Sep 12, 2011 at 12:02:55AM -0700, Christophe Rahier wrote: Hi Willy, Thank you! I'm just confused now :-) Which values have I to use? Replace any old form with

RE: SNMP Perl script with Centos 6.0

2011-09-12 Thread Dwyer, Simon
Ok i have nailed this down to its working if i fire off snmpd by hand as root but not when i run it with the init script. i am running the command by hand the same as its called in the init script so i am stuck to see a difference. Anyone have any ideas? Cheers, Simon

RE: SNMP Perl script with Centos 6.0

2011-09-12 Thread Dwyer, Simon
Issue resolved. I thought i had already turn selinux to permissive. Apparently not :) From: Dwyer, Simon [sdw...@federalit.net] Sent: Tuesday, September 13, 2011 10:33 AM To: haproxy@formilux.org Subject: RE: SNMP Perl script with Centos 6.0 Ok i have

Stress test

2011-09-12 Thread Dwyer, Simon
I am trying to do some load testing on a new HA Proxy pair. Is there a common way to do this? i have done some searching but have not found anything solid. Cheers, Simon

Re: Problems with load balancing on cloud servers

2011-09-12 Thread Jerry Champlin
Liong: The only significant difference in the stats you posted is that the server without a load problem has no swap configured and the other one does. I would not expect that to cause a problem but that's the only difference that jumps off the page. -Jerry Jerry Champlin Absolute Performance

Re: Problems with load balancing on cloud servers

2011-09-12 Thread Liong Kok Foo
Hi Jerry, Appreciate the quick reply and pointing out this difference. However, we are aware of some server having swap and some not. We have explored turning swap on or off but it doesn't solve the issue. Thanks. Liong Kok Foo On 9/13/2011 11:15 AM, Jerry Champlin wrote: Liong: The

Re: Problems with load balancing on cloud servers

2011-09-12 Thread Jerry Champlin
Liong: Have you looked at average query response time statistics? Perhaps this could shed some light on your issue. A graph of response time vs. current requests for a given resource might help you narrow down the issue if it's not a load balancer issue or just requests processed / second

Re: Stress test

2011-09-12 Thread Baptiste
Hi Dwyer, well, the question is not how to bench HAProxy, it's more how to bench the application through HAProxy. If you just want to bench pure haproxy performance, then an apache serving a static file and ab as a client might be enough. cheers On Tue, Sep 13, 2011 at 3:16 AM, Dwyer, Simon

Re: Problems with load balancing on cloud servers

2011-09-12 Thread Baptiste
Hi Liong, You can also play with vm.swapiness to avoid your ubuntu server to use its swap. cheers

RE: Stress test

2011-09-12 Thread Dwyer, Simon
Cheers, I will have a look at ab. I more just want to make sure it doesnt crash and burn while its in test. doing more of a proof of concept atm :) From: Baptiste [bed...@gmail.com] Sent: Tuesday, September 13, 2011 3:07 PM To: Dwyer, Simon Cc: