Questions tagged [haproxy]

HAProxy is an open source, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing.

See also:

2071 questions
0
votes
1 answer

Why is Haproxy hitting (variable) connection limits?

I'm trying to understand some numbers I'm seeing as well as why Haproxy seems to be hitting variable limits on requests/s. The test set up is pretty straightforward: 20 backend servers running on Ubuntu VMs serving empty HTTP 200 responses 1…
0
votes
0 answers

HAProxy slowing down service a lot

I think I am doing something wrong with HAProxy conf because my throughput drops to 25% in a real-world test done with HAProxy and one single AWS instance. Following is my relevant (extremely simple) configuration: global log 127.0.0.1…
Maxsteel
  • 101
  • 3
0
votes
1 answer

Haproxy Logs needs to map with APP Server Logs

My setup :- INPUT_TRAFFIC(HTTPS) --> HAPROXY ----> MULTIPLE_APP_SERVER (APACHE) I am having a Haproxy server attached with multiple app server, which are basically Apache server. I am getting https request on Haproxy, which got decrypted at…
0
votes
0 answers

Throughput significantly worse via load balancer

We are using AWS to host Magento. We have 3 c4.4xlarge servers in different availability zones, in the same region, as backend web servers running HHVM and Nginx. Each connects to a multi-AZ RDS instance for its database. In front of the backend…
James
  • 183
  • 2
  • 13
0
votes
1 answer

What does this error mean with 5d?

I have a web server with HAproxy for load balancing and two nginx+php-fpm. When I opened my site I saw this error. I know what does 504 error mean, but why there are 5d?
Gani Rakhmatov
  • 217
  • 3
  • 11
0
votes
1 answer

How to forward client IP to backend servers in HAPROXY

I have two backend servers, I have to monitor Client IP, by default HAProxy sends server IP not client IP. I have found a similar solution over here but it does not work for my case. My simple configuration file is following Here is my…
0
votes
1 answer

HAProxy high CPU usage when exists CLOSE_WAIT connections

I'm using https://github.com/mesosphere/marathon-lb to configure the HAProxy. Because of it change the configuration with any change in our microservices instances, it create a lot of haproxy process. For example: # pgrep haproxy -a 690 haproxy -p…
Robinho
  • 101
  • 2
0
votes
2 answers

HAProxy - Redirect scheme to HTTPS by keeping the same HTTP method (POST)

I'm using HAProxy 1.6 I'm forcing https usage. Therefore in my backend I'm redirecting http to https. For that I'm using the following code: backend my-app-name redirect scheme https if !{ ssl_fc } [...] This is working well but if my http…
maxime_039
  • 243
  • 5
  • 14
0
votes
1 answer

HAProxy blocks only first request

I have the following frontend configuration for HAProxy: frontend www_front bind *:80 bind *:8080 mode http option httplog default_backend www_back acl restrict_page path_sub /manager acl restrict_page url_sub /manager …
pepoluan
  • 4,918
  • 3
  • 43
  • 71
0
votes
1 answer

haproxy only connecting to one backend server

I am having some trouble with what should be a very basic configuration on an Ubuntu 16.04 server to use haproxy to load balance incoming metrics across two carbon-relay processes. Haproxy is only creating a TCP connection to the first server in the…
user327187
0
votes
1 answer

Haproxy 1.5 - Usage of multiple certificates (wildcard)

I'm running multiple apps behind Haproxy 1.5. We have a signed SSL wildcard certificate for our domains: *.mysite.com We need now to implement 4th level domains: *.dev.mysite.com The SSL certificate set up for *.mysite.com will not work in that…
0
votes
1 answer

How to handle bulk file uploads behind HAProxy configuration?

About my setup: I've got an HAProxy configuration for my WordPress environments. I've got multiple server pools for the "front-end" of each WordPress website. I force everyone to connect to one specific server for anything in the "back-end" of…
Michael Ecklund
  • 251
  • 2
  • 5
  • 13
0
votes
1 answer

How should I configure dockercloud/haproxy to proxy https?

I am using the dockercloud/haproxy image to proxy and balance incoming http requests. The docker container should listen to port 443 and 80 (-> 443). I am using Stackfiles and I've been redirecting the path /api with VIRTUAL_HOST=*/api/*. Adding SSL…
Anibal
  • 103
  • 1
  • 5
0
votes
1 answer

HA Proxy - Stopping/Queueing duplicate web request

I am using HA Proxy for load balancing purpose. I have two servers (S1) and (S2) getting requests from devices via HA proxy. Number of devices is more than 2000. Those devices sending multiple requests (download an item) to HA proxy and HA proxy…
Ravish
  • 1
  • 1
0
votes
1 answer

Sharing connection status between multiple HAProxy

I need to upgrade our current infrastructure based on a single server to a multi server one. Basically we run an HTTP app, MySQL and other services. My idea is to put HAProxy on all the servers so they can balance/failover themselves. Something…
Maxxer
  • 282
  • 4
  • 18
1 2 3
99
100