On Mon, Jul 7, 2014 at 10:12 PM, Pavlos Parissis <[email protected]> wrote: > On 07/07/2014 11:49 πμ, David wrote: >> Hello, >> >> I have installed HAproxy 1.5 in my RDS farm. But when i check the "disable" >> option for one server, this server is still active in my farm and users can >> connect to it ? >> > > I assume you mean that it took while for the server to stop receiving > after it was disabled, am I right ? > > I have observed this only when I used TCP mode, in my case it took some > time(20mins) for a server to stop getting traffic. I switched(for other > reasons) to HTTP mode with keep-alive enabled and this particular > behavior doesn't occur. Have you tried to enable 'option forceclose'? I > have no clue if it will do the trick. > > >> May i have to use "soft stop" instead ? What is the difference between these >> two options ? >> >> Thank you by advance for your answer. >> >> David. >> >> >> >> > >
Hi David, do you mean that your server is still getting new connections or only active ones are maintained? How do you disable the server: through the socket or through the configuration file + reload ? RDS is long lived TCP connections. Disbaling a server in the conf file will disable it in the new process which will handle the new connections. The old process remains active and maintain established TCP connections. Baptiste

