Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [load-balancing]

The tag has no usage guidance.

1
vote
1answer
18 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 ...
0
votes
0answers
15 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....
0
votes
1answer
60 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 ...
0
votes
1answer
34 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 ...
0
votes
0answers
94 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 ...
1
vote
0answers
242 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 ...
1
vote
2answers
259 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 ...
1
vote
1answer
871 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 ...
0
votes
1answer
760 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 ...
0
votes
1answer
264 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; ...
1
vote
2answers
448 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 ...
0
votes
1answer
81 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 ...
1
vote
0answers
501 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 ...
1
vote
0answers
57 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 ...
0
votes
1answer
599 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 ...
3
votes
0answers
503 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:...
3
votes
1answer
1k 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....
0
votes
1answer
257 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/...
3
votes
1answer
542 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 ...
3
votes
2answers
550 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 ...
1
vote
0answers
424 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 ...
1
vote
0answers
194 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....
1
vote
0answers
2k 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] (...
1
vote
1answer
649 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 ...
0
votes
1answer
4k 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 ...
0
votes
1answer
468 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 ...
1
vote
1answer
407 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: ...
1
vote
0answers
101 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, ...
0
votes
1answer
118 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 ...
1
vote
0answers
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. ...
4
votes
3answers
898 views

KeepAliveD Documentation

I am looking for a consolidated documentation for KeepAlieD. My apologies if this is not the right place to ask this question. However, even after extensive googling for 2 days, i could not find a ...
1
vote
1answer
450 views

load balancing multiplie services linux

I have setup multiple servers, One of them is a windows server running team speak. The other is a game server with csgo(counter strike global offensive) and lastly, one running an apache server. ...
0
votes
1answer
2k views

keepalived virtual_server - only answering on box keepalived is on

I have a flat network (no routing yet) of 3 servers, each with a service (http, mysqld, doesn't matter) listening on 0.0.0.0 (ip_nonlocal_bind and ip_forward are on) and running keepalived. ...
2
votes
2answers
6k views

Multiple IP source on single interface in Linux

We could set multiple IP addressses on single interface, for example using NetworkManager: How to make any connection to outside of this PC to use different IP? for example if I have 8 IP addresses (...
1
vote
1answer
1k views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
1
vote
1answer
280 views

How nginx receives requests from client and forwards it to the actual server?

I have installed nginx on RHEL and now I need to configure it to forward the requests to the actual server in the /etc/nginx/nginx.conf. My actual server is using a private IP address, will nginx ...
0
votes
0answers
57 views

Same website, multiple servers

I have a single server with a folder that contains my website with Apache, with a database in MySQL that contains some of my website data. Now my question is, say that millions of users are using my ...
1
vote
0answers
33 views

SSL (Hosted on LB) to be installed on the Downstream Apache Servers?

First, I have very basic knowledge on the SSL topic. Here is my setup. I have (1) of Public Facing Domain on LB and (2) of Internal Domains on each Web Servers. Like: [https://public....
1
vote
1answer
661 views

route gateway proxy traffic through different interface with identical upstream gateways

My question is similar to the below with a small caveat not answered by any of these threads: Output traffic on different interfaces based on destination port https://serverfault.com/questions/...
2
votes
0answers
264 views

bonding multiple proxy connection

I want to use multiple proxy servers at the same time to speed my downloads. Reverse proxy products such as haproxy and nginx can use multiple proxy servers, but only one proxy per session. Client---...
0
votes
0answers
118 views

JBoss cluster reporting “Caught TimeoutException acquiring ownership”

We got an Apache load balancer which forward requests to both WebLogic and JBoss clusters. Both clusters work fine until the load balancer gets flooded and there are waiting requests. When this happen,...
4
votes
3answers
4k views

Implementing load balancing on any Linux distro

I am thinking of implementing a load balancing solution for personal use. What I want to do, is to maximize data throughput over mobile phone Internet connections. Let me be clear: I have data plan ...
6
votes
1answer
4k views

Skip routing via `lo` interface for outgoing packets

Introduction I have following load balancing configuration: 10.0.1.31 - lb 10.0.1.35 - virtual IP 10.0.1.32 - node1 (tomcat + mysql) 10.0.1.33 - node2 (tomcat + mysql) I'm using keepalived which is ...
1
vote
3answers
941 views

Apache: Simulate 100 new connections per sec with ab

I know I can use "-c" switch in ab to simulate a certain number of concurrent connections. Is there a way in which I could use "ab" to simulate 100 new clients every second visiting my website or ...
10
votes
6answers
51k views

NFS Automatic Fail-over or Load-balanced or Clustering?

I've been using NFS (and it is the only one i know well in Network Files) for a few years. But still can not able to find out .. How to make NFS Servers in Clustered Design (or Load-balanced?) Or at ...
0
votes
0answers
253 views

Capacities on Load-balancer & Web Servers? Bandwidth + Performance

I'm on DigitalOcean and I have a very simple scenario for my website. Now having 3000 concurrent hits every minutes. (For example) Currently it is directly on 1 only single Apache Server. The website ...
3
votes
0answers
1k views

Corosync/Pacemaker cluster loss of synchronization

I'm facing a problem with the corosync and pacemaker cluster software. I've two virtual nodes (Scientific Linux 6.4) and corosync/pacemaker installed on them: corosync-1.4.1-17.el6.x86_64 pacemaker-...
0
votes
0answers
124 views

Redundant and Load Balanced storage on FreeBSD?

Back from: Load balanced & Redundant Storage on FreeBSD How do I create a (Redundant and Load Balanced) Storage based on FreeBSD? Storage should be located on (2 or more servers) providing ...
3
votes
2answers
3k views

Load balanced & Redundant Storage on FreeBSD [closed]

Did Google for this the last week, still can't find any reasonable solutions for FreeBSD. Most of the articles contain solutions for a fail-over storage only (FreeBSD HAST). This is NOT what I'm ...
0
votes
1answer
661 views

installing apache httpd server on RHEL-6

I have 5 systems running Apache tomcat server. For load balancing, I need to install Apache httpd server. How should I do this? Please provide me some useful links and your opinions on this. I am ...