Re: Force connection close after a haproxy reload

2017-03-24 Thread Cyril Bonté
Hi, > De: "Robson Roberto Souza Peixoto" <robsonpeix...@gmail.com> > À: "Willy Tarreau" <w...@1wt.eu> > Cc: haproxy@formilux.org > Envoyé: Vendredi 24 Mars 2017 14:14:21 > Objet: Re: Force connection close after a haproxy reload > >

Re: Force connection close after a haproxy reload

2017-03-24 Thread Robson Roberto Souza Peixoto
Sorry, I lost a lot of messages about this thread. My bad. Cyril Bonté, how can I help you? I'd like to test your patch =D Thanks On Fri, Mar 24, 2017 at 10:14 AM Robson Roberto Souza Peixoto < robsonpeix...@gmail.com> wrote: > Sorry guys, I sent before finish the text. > > Willy, > > The

Re: Force connection close after a haproxy reload

2017-03-24 Thread Robson Roberto Souza Peixoto
Sorry guys, I sent before finish the text. Willy, The current NGiNX version add a very useful directive to solve this problem. worker_shutdown_timeout: https://medium.com/statuscode/nginxs-new-worker-shutdown-timeout-directive-d60f9c1142f8#.nhxv0b3ga from blog: > For example,

Re: Force connection close after a haproxy reload

2017-03-24 Thread Robson Roberto Souza Peixoto
Willy, The current NGiNX version add a very useful directive to solve this problem. On Tue, Mar 14, 2017 at 9:32 AM Robson Roberto Souza Peixoto < robsonpeix...@gmail.com> wrote: > On Tue, 14 Mar 2017 at 09:20 Willy Tarreau wrote: > > On Tue, Mar 14, 2017 at 11:16:26AM +,

Re: Force connection close after a haproxy reload

2017-03-15 Thread Dave Cottlehuber
On Wed, 15 Mar 2017, at 12:02, Willy Tarreau wrote: > Hi Cyril! > > On Wed, Mar 15, 2017 at 11:48:01AM +0100, Cyril Bonté wrote: > > As a reminder (to me), I sent a patch in december (just before the 1.7.0 > > release), which immediately closes the HTTP keep-alived connections. > > Currently,

Re: Force connection close after a haproxy reload

2017-03-15 Thread Willy Tarreau
Hi Cyril! On Wed, Mar 15, 2017 at 11:48:01AM +0100, Cyril Bonté wrote: > As a reminder (to me), I sent a patch in december (just before the 1.7.0 > release), which immediately closes the HTTP keep-alived connections. > Currently, during the soft stop, HTTP connections are only closed when a >

Re: Force connection close after a haproxy reload

2017-03-15 Thread Pavlos Parissis
On 15/03/2017 11:48 πμ, Cyril Bonté wrote: > Hi all, > >> De: "Willy Tarreau" <w...@1wt.eu> À: "Robson Roberto Souza Peixoto" >> <robsonpeix...@gmail.com> Cc: haproxy@formilux.org Envoyé: Mardi 14 Mars >> 2017 13:20:46 Objet: Re: Force conne

Re: Force connection close after a haproxy reload

2017-03-15 Thread Cyril Bonté
Hi all, > De: "Willy Tarreau" <w...@1wt.eu> > À: "Robson Roberto Souza Peixoto" <robsonpeix...@gmail.com> > Cc: haproxy@formilux.org > Envoyé: Mardi 14 Mars 2017 13:20:46 > Objet: Re: Force connection close after a haproxy reload > > On Tue, M

Re: Force connection close after a haproxy reload

2017-03-14 Thread Robson Roberto Souza Peixoto
On Tue, 14 Mar 2017 at 09:20 Willy Tarreau wrote: > On Tue, Mar 14, 2017 at 11:16:26AM +, Robson Roberto Souza Peixoto > wrote: > > But will `-st` mode wait for current http requests finish? Or will > > interrupt all connections without waiting for the responses? > > It will

Re: Force connection close after a haproxy reload

2017-03-14 Thread Willy Tarreau
On Tue, Mar 14, 2017 at 11:16:26AM +, Robson Roberto Souza Peixoto wrote: > But will `-st` mode wait for current http requests finish? Or will > interrupt all connections without waiting for the responses? It will interrupt them all but you said you were running TCP and not HTTP so with TCP

Re: Force connection close after a haproxy reload

2017-03-14 Thread Robson Roberto Souza Peixoto
On Tue, Mar 14, 2017 at 6:39 AM Willy Tarreau wrote: > Hi Robinho, > > On Tue, Mar 14, 2017 at 01:12:45AM +, Robson Roberto Souza Peixoto > wrote: > > Hi! > > > > I'm using HaProxy as a reverse proxy to my applications running on > Marathon. > > > > The

Re: Force connection close after a haproxy reload

2017-03-14 Thread Willy Tarreau
Hi Robinho, On Tue, Mar 14, 2017 at 01:12:45AM +, Robson Roberto Souza Peixoto wrote: > Hi! > > I'm using HaProxy as a reverse proxy to my applications running on Marathon. > > The Marathon-lb(https://github.com/mesosphere/marathon-lb) is the > responsabel to create the configuration file

Force connection close after a haproxy reload

2017-03-13 Thread Robson Roberto Souza Peixoto
Hi! I'm using HaProxy as a reverse proxy to my applications running on Marathon. The Marathon-lb(https://github.com/mesosphere/marathon-lb) is the responsabel to create the configuration file and reload the HaProxy. But there are a lot of thrift and another tcp services and because of that the