Issue with HAProxy - Potential time out but no error

2012-11-12 Thread James Bensley
Hi all, I am having an issue on a load-balancer running Pound and HAProxy. I believe the error is with HAProxy but it doesn't give an error. Pound sits in front of HAProxy (on the same box) to perform SSL off-load. Requests are passed to 127.0.0.1:80 where HAProxy then balances the requests

Tactics for load balancing all connections

2013-01-17 Thread James Bensley
Howdy All, I wondered if anyone could entertain me with some ideas and thoughts on being able to load balance all connections that pass through HAProxy, perhaps by using more that one method, to catch all connections (I have a single box set up in mind which is troubling me). I have placed a

Re: Tactics for load balancing all connections

2013-01-17 Thread James Bensley
On 17 January 2013 12:39, Jonathan Matthews cont...@jpluscplusm.com wrote: From the fine documentation: --- appsession The otherwise caveat sounds like what you're looking for. Thanks for the info Jonathan. I am aware of the appsession feature, however when I trialled

Re: Tactics for load balancing all connections

2013-01-22 Thread James Bensley
On 18 January 2013 00:03, Unai Rodriguez u...@sysbible.org wrote: Yes that works in the way I mentioned (cookies then source IP) Thanks very much for the info Unai! Cheers, James.

HAProxy isn't balancing/distributing 127.0.0.1 requests

2013-01-24 Thread James Bensley
Hi All, I have Pound Proxy and HAProxy on the same box; HTTPS requests come into Pound, Pound then passes them using plan text HTTP to HAProxy listening on 127.0.0.1, HAProxy then balances the connections across the back end servers. Plain text HTTP requests that come into the box and go strait

Re: HAProxy isn't balancing/distributing 127.0.0.1 requests

2013-01-24 Thread James Bensley
Woops! Sorry guys, Cheers, James global log 127.0.0.1 local0 user haproxy group haproxy daemon stats socket /var/run/haproxy/haproxy.sock mode 0600 level admin defaults log global modehttp option httplog option

Re: HAProxy isn't balancing/distributing 127.0.0.1 requests

2013-01-24 Thread James Bensley
On 24 January 2013 11:34, Chris Sarginson ch...@sargy.co.uk wrote: Change: balance source to balance roundrobin This will allow haproxy to send each new request to a different server, and then maintain sessions by tracking the appsession cookie you are inserting. Chris What an absolute

Re: Two HAProxy instances with a shared IP

2013-04-13 Thread James Bensley
Hi Phil, I have just been through this exact exercise. I have just posted my results to the Pound Proxy mailing list (so sorry to anyone that is a subscriber there, here is comes again!). This is the post I just sent, keepalived is so simple and I have it working with Pound and HAProxy; Hi All,

Re: Balance Roundrobin vs Balance Source

2013-04-27 Thread James Bensley
On 18 April 2013 21:13, hapr...@serverphorums.com wrote: balance roundrobin cookie SERVERID insert indirect nocache server server01 xxx.xxx.xxx.:8081 check cookie s1 server server02 xxx.xxx..xxx:8081 check cookie s2 Presumably you want this to be balance

Monitor always returns HTTP 200

2013-05-02 Thread James Bensley
Hi all, I have configured haproxy using the below configuration. No matter what URL I browser to I always receive a HTTP 200 response to my browser. If I comment out the ACL and three monitor lines from the frontend configuration, normal behaviour is resumed. I have that gut feeling that I have

Re: Monitor always returns HTTP 200

2013-05-03 Thread James Bensley
=300, test result OK poll : pref=200, test result OK select : pref=150, test result OK Total: 4 (4 usable), will use sepoll. On 2 May 2013 22:39, Bryan Talbot btal...@aeriagames.com wrote: On Thu, May 2, 2013 at 8:55 AM, James Bensley jwbens...@gmail.com wrote: acl

Re: Monitor always returns HTTP 200

2013-05-03 Thread James Bensley
Hi Willy, Thanks for clearing that up; On 3 May 2013 12:28, Willy Tarreau w...@1wt.eu wrote: As explained in the doc, monitor-net unconditionally returns 200 to all connections coming from the specified network. If your request comes from another network, then monitor fail will apply to

Re: Monitor always returns HTTP 200

2013-05-03 Thread James Bensley
On 3 May 2013 14:49, Lukas Tribus luky...@hotmail.com wrote: Hi James, I am packet capturing on a client (172.22.0.220, not in the monitor subnet), browsing to the monitor uri (GET /oowahboh6eibooca) you can see at 14:08:24 I get a response 200 OK. Then I refresh the page 2 seconds later at

Re: TCP Keepalives

2013-05-03 Thread James Bensley
On 3 May 2013 17:28, Lukas Tribus luky...@hotmail.com wrote: Hi James! Are the docs refering to these timers? http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html Correct. Thanks Lukas, just wanted to check before I start trashing my test servers :) Cheers, James.

1.5 Dev Becomes Stable?

2013-05-15 Thread James Bensley
Hi All, Does anyone know roughly (I know its hard to be specific with these things) when 1.5 will become the latest stable version? Whilst I understand this is a bit how long is a peice of string, I mean loosely; This year (2013) ? Q3 this year? Before then, Q2? Cheers, James.

Re: Performance tuning

2013-10-15 Thread James Bensley
Hi, All those options are related to the networking performance of the Kernel, have you also considered memory options for the applications (such as HAProxy) ? https://www.kernel.org/doc/Documentation/sysctl/vm.txt Cheers, James.

Unsubscribe

2014-01-20 Thread James Bensley
How do I unsubscribe from this mailing list? I have emailed haproxy+unsubscr...@formilux.org with and without unsubscribe in the subject but it hasn't worked. Anyone know how? Ta, James.