Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What options are available to load balance web service traffic on Linux with the ability to add or remove servers from the server pool without restarting the load balancer?

This post:

looks like a very promising way to switch between two servers, but I don't know enough about mod_proxy and mod_rewrite to understand how/if I can use an external file to specify the BalancerMember entries for a section.

Are there other open source load balancers that support reconfiguration without restart?

share|improve this question
up vote 2 down vote accepted


share|improve this answer
Awesome! I especially love the binary reload. – Eric J. Apr 21 '10 at 18:06
@Javier: How do I send the HUP signal to the client? Using /usr/bin/nginx -s HUP? The -s parameter documentation says allowed values are stop, quit, reopen, reload. Does "-s reload" send the HUP signal? – Eric J. Apr 21 '10 at 18:22
Yes reload sends HUP. This is working great, thanks. – Eric J. Apr 21 '10 at 23:36

The best Load balancer available for Linux is LVS. You can hot add or remove servers from the server pool without restarting the load balancer, either by rereading a new config or using the ipvsadm commmands.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.