Please see http://www.mail-archive.com/[email protected]/msg06885.html
The summary being iptables -I INPUT -p tcp --dport $PORT --syn -j DROP sleep 1 service haproxy restart iptables -D INPUT -p tcp --dport $PORT --syn -j DROP Regards, Vivek On Tue, Jan 20, 2015 at 1:11 AM, hu.zhang <[email protected]> wrote: > Hi,Willy: > > I am a beginner of Haproxy. Recently I get a problem that hot > configuration of haproxy still lead to failed request. I have read the > answer from > http://stackoverflow.com/questions/21595534/hot-reconfiguration-of-haproxy-still-lead-to-failed-request-any-suggestions. > But the failed requests still exist when I use ApacheBench. Could you please > give me some suggestion about the following two question? > > 1. Can I add or remove servers in backends without restarting a > process? If I don’t start a haproxy process with –sf keyword, is there a way > to add/remove the servers in real time? > > 2. If the answer of the the first question is no , Can you give me > some tips about how to modify the source to achieve it? > > Thanks! > > With my best wishes, > > Hu.Zhang

