Questions tagged [load-balancing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
99 views

Can linux load balance between multiple routes to the same subnet?

I'm looking for a way to load balance between multiple routes for the same subnet under linux. The scenario is that we have multiple Linux machines (EC2 instances) each configured with a Strongswan ...
user avatar
0 votes
0 answers
18 views

how to configure network load balancer in oracle cloud and Apache of Oracle Linux

what I understood so far: if we add two computes with the same weight in a load balancer it will send the request to the based on the load balancer type to both the node; so both the nodes must be in ...
user avatar
0 votes
0 answers
33 views

The platform does not support either IP_TRANSPARENT or IPV6_TRANSPARENT

How to make a Linux host IP_TRANSPARENT or IPV6_TRANSPARENT? Basically, we are trying to install an envoyproxy container in Kubernetes (on-prem). We are getting the error below. But if we remove '...
user avatar
0 votes
0 answers
53 views

What are ways to block a certain user IP address when their data is received from a load balancer and encapsulated in Proxy Protocol V2?

I have a couple of web servers behind an Amazon ELB Network Load Balancer. The load balancer replaces the source IP address of a client packet with it's own source IP address. In example, a client ...
user avatar
0 votes
0 answers
51 views

unable to change bonding mode on linux

I am going through a number of linux servers and changing them from round-robin to active-backup bonding mode. I have done this same process on around 30 other servers but one of them of them just ...
user avatar
0 votes
0 answers
119 views

HAPROXY connecting only one backend server

We have a serious challenge here connecting the both backend server. We can see that src is same for all the connection, hence the request are forwarded to one server. But when we try new connection ...
user avatar
  • 2,953
0 votes
0 answers
52 views

Nginx in UDP load balancing continue to send to an unreachable upstream server

I use Nginx to load balance traffic coming from udp syslog sources to logstash Configuration : user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; ...
user avatar
0 votes
1 answer
24 views

Constant concurrent connections drain my server storage

I apologize in advance if this question is in a wrong forum, this is my first question here! My client has hosting with Aliyun Cloud (Alibaba Cloud in China). I've deployed a microsite to their ...
user avatar
  • 111
0 votes
0 answers
40 views

Can I have multiple routes to the same remote LAN?

I am trying to connect two pfsense boxes with multiple OpenVPN tunnels. Currently, automatic route update makes only one route route active. For example, I am connecting 192.168.10.0/24 and 192.168.33....
user avatar
  • 2,617
0 votes
1 answer
102 views

Haproxy: replace any active failing server with backup

My haproxy configuration is like this: backend my-liveBackend timeout connect 5s timeout server 600s mode http balance uri len 52 server my-live-backend1 10.80.1.161:8080 ...
user avatar
  • 168
0 votes
0 answers
55 views

website STILL need to redirect from HTTP to https after Nginx redirect config

I use AWS EC2 to build a website using load balancer. However, the pentesting result shows that the website still could be reached by http. I have checked that in the Nginx config file, we does have a ...
user avatar
  • 1
1 vote
0 answers
89 views

linux server sudden slow downs without high load

I have a web server with the following specs: i7-4770K, 32GB RAM, 500GB SSD (1000 Mbit/s connection). The server is dedicated for the server side of an Android dating application. The app has around ...
user avatar
1 vote
2 answers
922 views

keepalived no route to host, firewall issue?

I have a simple two server config of keepalived. The master/backup selection is working fine but I can't connect to the VIP from the backup server. When I try connecting, on the master I can see ARP ...
user avatar
0 votes
1 answer
2k views

How to NGINX reverse proxy to backend server which has a self signed certificate?

I have a small network with a webserver and an OpenVPN Access Server (with own webinterface). I have only 1 public ip and want to be able to point subdomains to websites on the webserver (e.g. ...
user avatar
  • 181
0 votes
1 answer
384 views

L4 balancing using ipvs: drop RST packets - failover

I have a L4 ipvs load balancer with L7 envoy balancers setup. Let's say one of my L4 balancers goes down and thanks to consistent hashing the traffic which is now handled (thanks to BGP) by another L4 ...
user avatar
  • 21
0 votes
1 answer
49 views

HTTPD load balancer shows duplicated information about nodes

I have enabled the HTTPD LoadBalancer Manager as: <location "/balancer-manager"> SetHandler balancer-manager allow from all </location> But when I access the HTTP ...
user avatar
0 votes
0 answers
51 views

NAT: accept a connection and then forward it?

In linux (or BSD), is it possible to accept an incoming connection, read the first payload packet, and then forward the connection to another server based on the contents of that packet? I'm not blind ...
user avatar
  • 101
0 votes
0 answers
57 views

haproxy setup is not working when resource utilization become high

We are using HA proxy v2.3 in our organization for load balancing our apache application servers. Three web application servers are configured in haproxy. When any one of the web application server ...
user avatar
0 votes
0 answers
256 views

Trying to pscp a pem file from windows machine to Brocade adx 1000

Brand new to Brocade or any switch, I managed to configure load balancing without ssl and now working on ssl enabling. I have a PEM file on my IIS server and I try to copy this to the switch using ...
user avatar
1 vote
1 answer
216 views

HAProxy ignores nbproc

In our test environment we've identified a strange HAProxy behavior. We're using the standard RHEL 7 provided haproxy-1.5.18-8.el7.x86_64 RPM. According to our understanding, the total number of ...
user avatar
1 vote
0 answers
1k views

nginx load balancer and kafka rest proxy

I use Kafka rest proxy and I want behind load balancer nginx. I have one topic in cluster Kafka(three nodes) and Produce a message with JSON data curl -X POST -H "Content-Type: application/vnd.kafka....
user avatar
  • 579
0 votes
1 answer
861 views

Apache load balancer always redirect

I set the LoadBalancer in Apache 2.4.6 (CentOS), it works well except one thing. When the user open the alias of Apache server, it anytime redirect the user to another server when click somewhere on ...
user avatar
  • 777
0 votes
1 answer
70 views

Detect bot on AWS

We use angular for our front end, our compiled dist folder is uploaded to an S3 bucket which is connected to a load balancer. In order for our site to be rendered correctly for search engine bots we ...
user avatar
0 votes
0 answers
139 views

Accessing a Kubernetes service using nodePort from external load balancer

When I expose the kubernetes service using nodePort , then I can access the port/service using any workder node IP:PORT , even if the service is just actually running on just one node. What would be ...
user avatar
  • 6,808
1 vote
0 answers
494 views

NGINX -> varnish load balancer -> Apache SSL connection = BAD REQUEST

This is my setup : Server 1 = Nginx is receiving the request on port 443 and is used as a reverse proxy to send it to Varnish 5, on the same server on port 80. Varnish is load balancing requests on ...
user avatar
  • 111
1 vote
2 answers
2k views

nginx load balancing doesn't work [closed]

I have experience the problem in nginx load balancing configuration. the load balancing server doesn't want to forward into any backend server. I set the server configuration as below: Hostname ...
user avatar
  • 11
3 votes
1 answer
2k views

Do multiple entries for nslookup imply load-balancer via DNS?

I'm reading about the differences between a load-balancer implemented at the DNS level vs having a single DNS entry which forwards to a load-balancer. I found this Q&A particularly useful: I'm ...
user avatar
0 votes
1 answer
2k views

distribute the JVM across a cluster of machines

Grasping at straws for search parameters and terminology. The key attribute to the JVM is the V for virtual (at least within the context of this question). How do you span a JVM across a cluster of ...
user avatar
  • 1,710
0 votes
1 answer
407 views

CARP Interface Doesn't Respond to Traffic

I have two OpenBSD boxes on running as Gen1 VMs on Hyper-V 2016; the VMs are split across two Hyper-V hosts. The NICs associated with the CARP pseudo interface do have MAC address spoofing enabled; ...
user avatar
1 vote
0 answers
256 views

Download Booster: combine ethernet and WiFi bandwidth (load-balancing internet connections)

I'd like to know and how I can use simultaneously two (or more) internet connections, i.e. Ethernet, WiFi, but also 3G/LTE, ... For example, I would use Ethernet from my ADSL router and WiFi from an ...
user avatar
  • 2,528
1 vote
2 answers
836 views

NGINX LoadBalancer not working, only pulling up default index.html site on LB, not upsteam servers

I setup an NGINX loadbalancer in front of 2 tomcat servers on a Cent7 system. When I try to pull them up from the LB, I just get the default index.html NGINX page from the default installation. I've ...
user avatar
  • 550
0 votes
1 answer
93 views

nginx tcp balancer + exchange

My Nginx works like tcp balancer between users and Exchange cluster. Every thing works fine, but I'd like to add active checks. For example IMAP service, after TCP session initiation service return ...
user avatar
1 vote
0 answers
855 views

FreeBSD load balancer implementation

I have a program, which cannot be used in multiprocess\multithread mode, so it eat one CPU core, others cores are free, but RAM and network bandwidth usage near to 10% from max. The server for the ...
user avatar
1 vote
0 answers
75 views

How to add ngnix behind haproxy server

I have setup nginx web server and I want to do the load balancing using haproxy server. I have done these using apache but unable to do it for nginx. Below the apache settings which are working for ...
user avatar
0 votes
1 answer
1k views

can i configure an apache VirtualHost Proxy BalancerMember as failover-only (e.g. hot/warm)?

i currently have a VirtualHost configured to load balance between 2 servers. however, to avoid race conditions that occur when both instances are active, i would like to switch to a hot/warm ...
user avatar
3 votes
0 answers
796 views

10GBit Ethernet network mesh switch with brouting and "VLAN"

I want to create a mesh network with 10GBit Ethernet links between servers and a switch stack capable of distributed trunking. In this scenario for a number n>2 (but typically 2<n<6) imagine:...
user avatar
3 votes
1 answer
3k views

Reverse SSH Tunnel

I have a gitlab server on my local network and a server that I can ssh to from outside my network. Is there a way I can configure the server, that I can SSH into, so that when I use: ssh git@git....
user avatar
  • 133
0 votes
1 answer
429 views

Memcached Issue connection lost in between Centos

I have a application server on with I m running load balance with nginx.. my memcached is getting crashed in between. below is my memcache.conf file. # memcached.conf port=11211 pidpath=/apps/home/...
user avatar
2 votes
1 answer
753 views

Using a load balancer instead of Apache to throttle transactions from specific IP's

I have two Apache instances behind a load balancer that I transfer the requests to, depending on the request type. Now what I want: when I get too many transactions from an IP address, I want to ...
user avatar
  • 227
4 votes
2 answers
1k views

Why does my cpu never get past 60-70% cpu usage? Where is the bottleneck?

In my CPU graph thingy, I have noticed recently that when compiling stuff I can never seem to reach 100% usage, it just keeps bobbing up and down around 60-70% max. Example: In contrast, this graph ...
user avatar
1 vote
0 answers
485 views

How to make load balancing work from the pfSense box itself?

pdSense is a special distro of FreeBSD for routing. It supports limited multi WAN load balancing, i.e. it is possible to configure pfSense so that each next request will connect via different WAN ...
user avatar
  • 2,617
1 vote
0 answers
215 views

How to route to Virtual IP as gateway

I have environment on Centos 6.7 Final, 2 Loadbalancer failover (Haproxy, keepalived), 3 Web Server (nginx - PHP-Fpm). LB1 (Public x.x.x.233, Private 10.110.120.21), LB2 (Public x.x.x.235, Private 10....
user avatar
  • 139
1 vote
0 answers
3k views

Apache Load Balancer Timeout

We have two httpd servers running on RHEL 6 behind a hardware load balancer We are getting timeout errors in our httpd error log. [Fri Feb 19 15:06:49.823372 2016] [proxy_http:error] [pid 15760] (...
user avatar
  • 2,746
1 vote
1 answer
1k views

HTTP Session Management while using Nginx as in “Round Robin” mode Load-balancer?

I'm trying to load-balance "2 Web Servers (running Apache/PHP)" by putting nginx in front of them. But I need to use Round Robin algorithm but when I do this, I can't manage to have the stable ...
user avatar
  • 1,502
0 votes
1 answer
6k views

Understanding retry value in Apache Load Balancer Configuration

We are using mod_proxy to balance load between our backend servers . We have different setup and some of the backend servers either runs on tomcat\jboss. The balancer configuation is as follows ...
user avatar
  • 2,746
0 votes
1 answer
739 views

Running crons on a scaled mirrored servers (cron logic needed) [closed]

I have a client running on Rackspace, they have three servers that are synced together entirely, I've added a bunch of crons in the crontab using wget to the web address of the cron (that sync to each ...
user avatar
  • 103
1 vote
1 answer
444 views

How to load balance mutiport traffic using HAProxy

I have 2 servers that host an application that listens to mutiple ports. Is there a way to load traffic between these servers using HAProxy? I tried this in configuration, but it didn't work: ...
user avatar
  • 295
1 vote
0 answers
121 views

How to Limit the hit-rate of connection for "X-Forwarded-for" IPs?

I have Apache, which is behind the Amazon ELB which forwards the IPs as in "X-Forwarded-for" header. I found some articles around to do the hitrate limitation but i doubt they are all for real IPs, ...
user avatar
  • 1,502
0 votes
1 answer
179 views

Apache loadbalancer not serving requests intelligently

My Apache LB is serving requests to a failed node as well. Am I missing something? worker.list=node1,node3,loadbalancer worker.node1.port=8009 worker.node1.host=10.0.0.17 worker.node1.type=ajp13 ...
user avatar
  • 1
1 vote
0 answers
1k views

OpenVPN load balancing

The question is in general about the best practices. VPN network has to manage about a thousand of simultaneous connections, so there is a problem in load balancing over several OpenVPN servers. ...
user avatar