Load balancing deal with the techniques involved on using multiple systems to deal with high demands, balancing the load between those multiple systems. Questions deal with networking and server load balancing, using dedicated hardware or not.

learn more… | top users | synonyms (2)

4
votes
0answers
641 views

Nginx as a load balancer. Frequent upstream timed out (110: Connection timed out) while connecting to upstream

I'm trying to use nginx on a centos 7 virtual machine as a load balancer to replace an aging Coyote Point hardware device. However in one of our webapps we're seeing frequent and continual upstream ...
4
votes
0answers
174 views

HAProxy switch to backup on 500 errors and/or server down

I'm setting up an HAProxy in front of only 2 backend servers, with a particular configuration: any request should go to server A; but, if server A returns a 5xx error code, all request should go to a ...
2
votes
0answers
117 views

Sticky sessions with Apache load balancer for Socket.io 1.0

I've been messing around with Apache as a load balancer for my Socket.io server. I went through the following topic and now everything seems to be fine. Configuring Apache 2.4 mod_proxy_wstunnel for ...
2
votes
0answers
148 views

Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test". Lync Front-End servers expose two set of web services, one for internal users and one for external ones; ...
2
votes
0answers
60 views

how to prevent loadbalancer from going offline?

i plan to setup a load balancer for a webproject but there is a major issue in my head: a typical loadbalancer would be: (provided by nginx upstream) Server #1 accepts all requests and forwards them ...
2
votes
0answers
196 views

WordPress behind haproxy: $_POST being reset

So here's the sitch: Load balancer (haproxy) delivering to 3 web servers and a database server, 5 servers in total with memcache sessions being shared between the web servers. I can confirm that ...
2
votes
0answers
64 views

Should load balancers ever use TLS session ID to direct traffic?

One of my vendors caused an outage today by using TLS SessionID (sent by the browser) as a way to determine which host to direct traffic to. Since SessionID can leak privacy details, and more ...
2
votes
0answers
851 views

Varnish 3.0.5 round robin director not balancing

I have an architecture with two varnish servers sitting in front of 5 webheads. Each varnish server is configured with a round robin backend director, but at times of moderate to high load varnish ...
2
votes
0answers
136 views

Load balacing between balancers using mod-proxy-balancer

Using Apache mod-proxy-balancer, I would like to balance between two balancers. Is this possible? Background: We are in process of upgrading some of our server stack, and for a deployment process we ...
2
votes
0answers
147 views

Pound sticky sessions between HTTP and HTTPS

I have pound setup for http and https, and have sticky sessions based on cookie for both. However, sessions are not sticky when jumping from http to https. Is there anyway to do this in Pound? It's ...
2
votes
0answers
95 views

Multiple httpd with JBoss cluster: provide httpd HA

I have a working configuration like this: +-----+ +-----+ +-----+ +-----+ | i1 | | i2 | | i3 | ... | in | JBoss Cluster +--+--+ +--+--+ +--+--+ +--+--+ | ...
2
votes
0answers
73 views

Load balancing inconsistencies & AD server causing network crawl

We've configured a TS load balancing farm consisting of the Active Directory server which acts as the TS Broker and 6 Terminal Servers who are members of the farm. The load balancing is set to basic ...
2
votes
0answers
464 views

High latency on domain with CDN

High latency on domain with CDN I have problems with latency on my server, these are the tests I made with blitz.io Latency album http://imgur.com/a/bCmwo I would uploaded images here but it ...
2
votes
0answers
291 views

How does Round robin policy of MPIO work in Windows 2008 R2

I have a Dell server with a 1G dual port iSCSI adapter. I have installed the NIC driver and using Microsoft iSCSI initiator, map few luns to both the ports and enable MPIO. The target I used was ...
2
votes
0answers
237 views

Apache as Load balancer - forcing a break in persistent connection

I have setup a load balancer with Apache 2.2 via mod_proxy and mod_proxy_balancer. The load balancing works just fine, but there is one case I cannot find any configuration options for, namely, while ...
2
votes
0answers
504 views

lvs with NAT routing - horrible performance to one real server

I have an LVS setup with NAT routing and two real servers (as an FYI, we're only routing http on tcp port 80). Currently requests to real server A respond just fine, with page load times of 3-4 ...
2
votes
0answers
216 views

Cannot browse HTTP to a load balanced VIP from w2k8 boxes, but can get to it from w2k3

I have a strange problem and am looking for suggestions. The environment: several VLANs on the same switch, that all talk to each other via the ASA using hairpin routing: VLAN 500 - Windows 2003 ...
2
votes
0answers
247 views

WS2008R2 - Network Load Balancing and IIS - I have no idea

I'd like to avoid discussion of IIS ARR for now - it isn't essential to get NLB working. I have two computers (both in the same domain, btw) who are connected to two networks: A private internal ...
2
votes
0answers
1k views

nginx sticky sessions / ip_hash with Socket.io

I am to be load balancing two node.js/Socket.io instances on different boxes with nginx running a simple notifications service with a retroactive event for new clients. I don't think there will be ...
1
vote
0answers
27 views

PFSense NATing to a load balanced server

I apologize for not being able to post the network diagram here but as this is my first time asking a question here I am not allowed. So here is the scenario: We have a site that is build with a ...
1
vote
0answers
83 views

Setting up a caching system r/w in DCs across continents

We are going to implement a caching system to make our front-end servers which are located in different data centres in Asia, America and Europe can read and write some small JSON data in the shortest ...
1
vote
0answers
23 views

Correct way to load balance a node app in opsworks

I have an Opsworks stack with 2 different node apps running in the same layer. One of these apps needs to be load balanced as it will be accessed by the general public, but the other is only accessed ...
1
vote
0answers
66 views

nginx load-balance set weight and ip_hash at the same time

By default the Nginx upstream directive uses Round-Robin to distribute requests to backend realsevers and set the weight of the server by weight. But I do not see any words about whether weight works ...
1
vote
0answers
14 views

mod_proxy_balancer does not remove dead servers

We use the current configuration (slightly obfuscated) to balance 2 web servers against 4 application (Tomcat) servers, using JSESSIONID; each web server has this exact same configuration for ...
1
vote
0answers
15 views

Php load balancing questions

I have a custom written ecommerce app that runs on it's own dedicated server. All of it's constants (such as database connections, file paths etc..) are defined in a single _constants.php file. The ...
1
vote
0answers
33 views

Is it reasonable to use an external website as a health check

I have a 4 proxy servers spread across a couple of datacentres that serve a large number of users on a WAN. These are load balanced using an F5 GTM located at each site. My goal is to write a health ...
1
vote
0answers
127 views

Haproxy backend server down due to layer 6 invalid response failed ssl handashake?

The scenario is we have two servers which are in different network . We want to have ssl communication from client to front-end and from front-end to back-end ! the front-end able to get ssl ...
1
vote
0answers
42 views

Apache mod_jk LB synchronization server startup + application startup time

after a long search I can´t found a solution or path to solve my problem with synchronization startup of Apache and Backend servers. I have a Apache2 using a LoadBalancer with mod_jk that balance ...
1
vote
0answers
207 views

How to get Nginx to quickly switch to backup upstream server?

I've using Nginx to load-balance a websocket app that runs in multiple Node.js instances. When there are thousands of active connections, a single message broadcast could make Node spin in place for ...
1
vote
0answers
148 views

NGINX + NodeJS Performance Issues

I have one server running a Docker + NodeJS application and a load balancer running nginx. Before upgrading to two servers, I wanted to attempt to replicate traffic statistics for the load balancer ...
1
vote
0answers
139 views

Clustering with Jboss EAP and Load balancing with Haproxy

I'm doing load balancing with HAProxy and use JBoss EAP as application servers. The Haproxy server is configured to route incoming requests to the application servers. How can I integrate Jboss EAP ...
1
vote
0answers
127 views

Load Balancing over multiple ISP connections

I have been trying to implement load balance and fail over on a linux machine having multiple interfaces. Currently I am using two ISP lines and I wish to split the network traffic such that both of ...
1
vote
0answers
83 views

Apache ReverseProxy sets upstream server to error when it returns an error page

We are using an Apache LoadBalancer/ReverseProxy to provide a failover for our web servers. Currently we are experiencing the following problem: A webservice call returns an error with HTTP status ...
1
vote
0answers
212 views

Can stunnel be used to round robin tcp connections without SSL?

Today, I'm already using stunnel to provide SSL termination to a set of TCP services where the connections are round-robin'ed, this is done, for example, like follows: [myserv] accept = 443 connect = ...
1
vote
0answers
57 views

is it possible to have reqrep for each server in haproxy loadbalancer?

There are 3 servers in a load balanced HAProxy setup. server serv1 192.168.1.101:8080 check inter 2000 rise 1 fall 1 server serv2 192.168.1.102:8080 check inter 2000 rise 1 fall 1 #The ...
1
vote
0answers
192 views

Haproxy load balancing TPS lower than single node

I have 2 apache2 servers running in the back end and have a haproxy between them and the clients. If I bench tested anyone of these apache2 severs with ab i get north of a 1500TPS however when I bench ...
1
vote
0answers
161 views

TCP load balance authentication

Impala is a piece of Cloudera software which implements an ODBC driver on a desktop, which then connects directly to a Hadoop cluster. In our implementation, our Hadoop cluster sits behind a DMZ, in ...
1
vote
0answers
247 views

File access randomly breaks returning 500.19 erros on IIS

We have two web servers running IIS 8.5 on Windows Server 2012 R2. The two servers are located behind a load balancer. The web servers are running a ASP.NET MVC application which, among other ...
1
vote
0answers
681 views

Nginx load balancing redirects to upstream “name”

Introduction: Please read this serverfault question on nginx load balancing issue with 301 from backend. Somewhat similar to my problem, but the answer doesn't work. Nginx is redirecting to the ...
1
vote
0answers
49 views

Cisco configuration for public library internet

I'm a C/C++ computer programmer turned IT support guy working for a public library. My day is usually spent helping random grandparents learn how to use email, so my networking knowledge is limited ...
1
vote
0answers
288 views

How to tell uWSGI to prefer processes to threads for load balancing

I've installed Nginx + uWSGI + Django on a VDS with 3 CPU cores. uWSGI is configured for 6 processes and 5 threads per process. Now I want to tell uWSGI to use processes for load balancing until all ...
1
vote
0answers
2k views

How to Configure TimeOut For AJP connector

I am using ajp connector to connect to J BOSS nodes from Apache, ajp is configured to accept 400 concurrent connections by setting max Threads to 400, but few my connections are getting timeout. Where ...
1
vote
0answers
194 views

Linux IPVS in DR mode: VIP unreachable for director

I use direct routing mode. How do I make the loadbalanced service available to the director (DIR) using the virtual service ip (VIP)? When I try to connect from DIR to the VIP, Linux (3.2.0) sees ...
1
vote
0answers
224 views

Setting up balancer-manager with mod_status on load balancing apache machine

I am setting up a Centos machine with Apache running on it for load balancing between two application webservers. Normally I would do all this with an F5 (or other hardware LB) but the customer is not ...
1
vote
0answers
184 views

Any way to route MSMQ messages based on label?

I have a system with one MSMQ sender (generates about 10k messages/sec) and one MSMQ receiver (2k messages/sec). Generating and sending messages is fast, reading and processing is slow. Hence I want ...
1
vote
0answers
122 views

Nginx doesn't rebound from 502 Bad Gateway

We have a situation where a site starts to serve a 502 Bad Gateway but doesn't seem to recover after the upstream servers rebound. The nginx server is setup to proxy/load balance requests for two ...
1
vote
0answers
42 views

Prevent NGINX from rerouting to a backend that was previously down

I'm using NGINX's ip_hash directive to ensure that client requests always end up at the same backend server. In the case of a backend server outage, NGINX will reroute to the available server, and ...
1
vote
0answers
824 views

Confusion setting up a simple tomcat6 clustering on ubuntu 12.04 using mod_jk: status page won't show

am a little confused when setting up 2 tomcat6 instances cluster in a clean ubuntu server 12.04. i didn't install default tomcat6 i used tomcat6-user's tomcat6-instance-create to create 2 instances. ...
1
vote
0answers
254 views

mod_cluster and Tomcat load balancing design

I am fairly new to Load balancing. I am able to setup a load balancer using Apache httpd, mod_jk and tomcat. Now the problem is we would like to have design in the following manner, ...
1
vote
0answers
359 views

Load Balancing Ethernet LAN & WIFI on linux?

I have configured two internet connection to my Linux box, first Ethernet LAN with range 192.168.2.1 & WIFI with range 192.168.1.1 this both connection are connected to 2 different internet ...