1
vote
0answers
73 views

Haproxy using 10GB Memory and 100% CPU with 50k connections

On a Ubuntu 14.04 x64 server, Haproxy uses 3.3 GB of memory and 6.8 GB of swap, while handling 52k connections. The CPU usage also keeps spiking to 100% before most of the traffic was redirected to ...
0
votes
1answer
28 views

How to Add/Remove New Server behind Haproxy with Minimal Disruption

Haproxy is currently balancing the load between 2 servers, A an B. Clients are connecting to these servers via persistent TCP connections. Question: We want to upgrade from server A to a more ...
0
votes
0answers
34 views

Haproxy doesn't balance mp4, mp3 files

I've 2 backend dedicated apache servers (server2, server3). Frontend listening to only http traffic (server1). In the apache servers I have some video files with a .mp4 extension. At the moment I'm ...
2
votes
1answer
118 views

Host doesn't send ACK-SYN packets for transparent proxy

I am setting up a transparent proxy using haproxy, the setup works without the 'source 0.0.0.0 usesrc client' line. When I add that line in, the endpoint is called from the original client's ip ...
0
votes
0answers
139 views

Why would HAProxy reject traffic from one location but not another?

I am able to access all of the sites with no issues and our customers are placing orders without any difficulty but at one of our locations where we have a lot of users constantly hitting the site, ...
0
votes
1answer
353 views

How to configure HAProxy to route by port without using multiple frontend or listeners

I am trying to configure Haproxy v1.5 for Jabber connections which run on several ports on the same IP. To keep the configuration as simple as possible, I would like to use a single frontend and one ...
1
vote
1answer
541 views

Server Performance (HAProxy, Nginx, SSL)

I've been struggling recently with try to identify where the performance on our environment is bottlenecking. Environment (each server is Linux VM, 8 Cores, 32 GB RAM): Load Balance: 50 Web Servers ...
0
votes
0answers
35 views

HAProxy overload protection

using the HAProxy, would it be possible to configure an overload protection, to limit the amount of requests sent to the backing http server(s) to a given rate (z.B 100 Request per second ). If the ...
0
votes
1answer
96 views

How to print out all request headers of HTTP requests on the server side?

I have a HAProxy configuration which balances requests to many servers. I want to compare the outgoing request headers when requests go thru HAProxy to the ones I would make directly to my servers. ...
0
votes
2answers
105 views

Redirect request from HAProxy if all the instances are down

I have a situation where I have 2 HAProxy load balancers, say LAP1 and LAP2. And I have two servers, say S1 and S2 behind LAP1 and s3, s4 behind LAP2. My question is that if S1, S2 goes down, all the ...
0
votes
0answers
286 views

HAproxy 502 Bad Gateway

I have Ubuntu 12.04LTS running. My webserver is Tomcat 7.0.42 and I use HAProxy as proxy server. My application is a servlet application which uses websockets. Sometime when I request my page I get ...
0
votes
1answer
44 views

Providing a HTTP proxy for users in another continent

I have a server located in Europe but our customer-base in South America is growing a lot. I soon realized that many ISPs in South America have random international routing issues. Meaning that our ...
0
votes
1answer
204 views

HAProxy loadbalanced backend - behaviour when one server down

My understanding was that with two server backends load-balanced by HAProxy , if one goes down, HAProxy should be able to direct all traffic to the other. I have two loadbalaced webservers, with ...
2
votes
1answer
609 views

Why do Layer 7 load balancers configuration not require any client configuration changes?

For example, for haproxy (layer 7) load balancing, you only need to configure the "real servers" or "backends" behind the VIP (i.e., cluster IP). E.g.: listen smtp 192.168.3.10:25 mode tcp ...
1
vote
1answer
972 views

Should I use haproxy's “linux2628” or “linux26” make target?

With the latest versions of HAProxy, simply typing make does not work, returning the following message: Due to too many reports of suboptimized setups, building without specifying the target is ...
1
vote
0answers
148 views

Budget High Availability configuration for Linux (Debian) boxes [closed]

I try to set up a (pretty) high availability solution for a service that I run on Linux machines and here's what I come up with: - one front end server used for balancing. IT should have haproxy ...
2
votes
4answers
1k views

High Availability Configuration using Heartbeat and Pacemaker

I have the following setup: I have configured high availability between two load balancers (HAProxy) so that if HAProxy1 get down, the floating IP gets transferred to the other load balancer ...
2
votes
3answers
4k views

Maximizing TCP connections on HAProxy load balancer

I am currently using HAProxy in order to load balance tcp connections from clients to my Erlang app server. The connection is persistent, which means I'm limited to roughly 64K clients on an optimized ...
2
votes
1answer
3k views

Tuning Linux + HAProxy

I'm currently rolling out HAProxy on Centos 6 which will send requests to some Apache HTTPD servers and I'm having issues with performance. I've spent the last couple of days googling and still can't ...
1
vote
1answer
663 views

HAProxy running in chroot jail is only logging started messages

I've configured my HAProxy server to run in a chroot jail logging messages to syslog socket. My problem is that the only messsages currently being logged are for when haproxy is starting up. May 26 ...
1
vote
2answers
48 views

Navigating traffic in inner network

I am just wondering if the following scenario is possible and how to implement this. Suppose there are 2 DNS records from one of the Domain Services. Both records point to two different servers HTTP ...
2
votes
1answer
428 views

Load balance HTTP based on a percentage of traffic or requests?

I want to have v1 of my application in one pool and version v1.1 in another pool and then slowly ramp up the traffic going to pool two and reduce it to pool one. Can anyone show some concrete ...
1
vote
1answer
208 views

Haproxy log each frontend to different file with rsyslog

I have many frontends in haproxy, I plan to log each frontend to different file, for example, frontend a to /var/log/a.log, b to /var/log/b.log, but haproxy's log facility must be one of the 24 ...
1
vote
2answers
132 views

haproxy backend default location

If you go to www.company.com, I want it to redirect to /something/something on my server, but the URL still shows www.company.com Is this possible in haproxy? backend new_marketing_server *** set ...
1
vote
1answer
88 views

What is wrong with my redirect?

I need haproxy to redirect product.company.com to company.com/about/product acl newproduct hdr(host) –i product.company.com redirect location http://company.com/about/product if newproduct I know ...
0
votes
2answers
689 views

Advice on where to install Redis

I have just introduced Redis into our application and I am not sure where best to install in production. I read that the Windows option is not production quality so i need to install on Linux. I ...
2
votes
1answer
287 views

Building a minimal HAProxy VM. Where to start?

I want to build a minimal VM (in Hyper-V on Windows 2008 R2) that runs HAProxy to load balance a bunch of web services. Is there a preferred Linux distribution that provides a small, yet functional ...
0
votes
1answer
1k views

Location of HTTP log format for Haproxy

with this example in my configuration frontend http-in mode http option httplog log global default_backend bck backend static server srv1 ...
1
vote
2answers
4k views

Cannot start up haproxy

Using ubuntu as my server I'm trying to set up load balancing using HAProxy. When I try to run using "haproxy -f haproxy.cfg" i get this error. [WARNING] 035/115820 (1148) : [haproxy.main()] ...
0
votes
1answer
206 views

Setup multiple webapps to respond to multiple domains using a single IP

I have two rails webapps, I have configured one webapp to respond to multiple domains. I have done this by making the corresponding server block in nginx as the default. Now, I want to make even the ...
1
vote
1answer
357 views

How do I load balance between two Linux machines?

Inspired by the Stack Overflow network, I am now obsessed with HAProxy and trying to use it myself. At the moment, each HAProxy box has got two network cards (well, two configured, I can have a ...
1
vote
2answers
4k views

HAproxy subdomain redirect

I own one domain like xyz.com and I'm trying to redirect subdomain other ip with haproxy. I use tomcat on the servers and I use haproxy to redirect incoming requests on port 80 to port 8080. Like; ...
1
vote
1answer
1k views

HAProxy health check

I have three small questions that relate to the same topic: With HAProxy, is there any way to load balance based on the current load of the different servers (ie. routing a request to the least ...
1
vote
2answers
2k views

HAProxy seems to be load balancing instead of following ACL rules

I'm seeing some really odd behavior with HAProxy. I have the following setup below designed to allow example.com/wiki to go to one server and example.com/ go to another. The trouble is that it seems ...
0
votes
2answers
619 views

HAProxy keeps dropping connections

My HAProxy instance isn't even under any serious load right now, but occasionally it will start refusing to accept connections, even though the backend servers are up and running fine. I didn't see ...
0
votes
1answer
175 views

Can I use haproxy with only one NIC?

I understand haproxy should have one NIC for the incoming traffic and another one facing the web servers. But since all my servers are on a public networks exposed to internet, could I sue a simple ...
0
votes
2answers
505 views

haproxy virtual host issues

This configuration is intended to send people to Node unless it's a .gif, .jpg etc., but it doesn't seem to work (it always sends them to Nginx): frontend all 0.0.0.0:80 timeout client 86400000 ...
3
votes
1answer
1k views

Keepalived not sending mutlicast advertisments

I have two systems, both VMs. The are configured to use Bridged networking. I am trying to get keepalived to manage ownership of a VIP - 10.190.1.230. I have tried two versions of keepalived-1.2.2 and ...
2
votes
1answer
87 views

Host information with TCP port

Forgive this question, I'm a designer trying to get my head around a possible network architecture. I have a wildcard domain on example.com. The client connects via TCP to foo.example.com:1234. Is it ...
0
votes
1answer
436 views

HAproxy - Redirect issue - Uri Variables?

I'm using haproxy 1.5dev3 and I was wondering if there is any possible way to grab uri variables from a request to reappend the query on the end of a redirect url? What I'm trying to do is redirect ...
0
votes
2answers
1k views

a load balancing scenario using HAProxy and keepalived shows no performance advantage

I am trying to setup a load balanced web server scenario, using two HAproxy load balancers and two debian web servers following this guide ...
0
votes
1answer
315 views

Best way for Linux site and Database redundancy

I am looking to set up a redundant network that uses a load balancing solution to redirect traffic between two servers. The load balancer I will use is HaProxy. Example: Traffic -> Haproxy -> Server1 ...
5
votes
1answer
3k views

hardware recommendations for HAProxy for a small or medium traffic site

I am interested in setting up HAProxy for use as a load balancer for a set of small traffic web applications. The use is growing and might become medium sized in the near term (6 months or so). Mainly ...
2
votes
3answers
3k views

HAProxy check says server is down when it is up

I am trying to setup 2 Glassfish servers in a load balanced configuration using UCARP and HAProxy Server1 has 2 IPs x.x.x.17 and x.x.x.18 HAProxy is listening on only x.x.x.18 and Glassfish ...
0
votes
1answer
579 views

HAProxy forwards the statistics request to the backends

sometimes the HAProxy instance forwards the Statistics Report request to the backends instead of serving the statistics by itself. i've tried with the following versions: 1.3.15.2 1.3.18 1.3.22 ...