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 < [email protected]> wrote: > 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, *worker_shutdown_timeout* *10s* will mean NGINX gives > worker processes 10 seconds to gracefully terminate before it will actively > close connections. > > What do think about add this feature on HaProxy ? > > Thanks > > On Fri, Mar 24, 2017 at 10:10 AM Robson Roberto Souza Peixoto < > [email protected]> wrote: > > 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 < > [email protected]> wrote: > > On Tue, 14 Mar 2017 at 09:20 Willy Tarreau <[email protected]> wrote: > > On Tue, Mar 14, 2017 at 11:16:26AM +0000, 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 there's no notion of end of request nor response. > > > Sorry, my bad! I didn't put all information. On the same haproxy we have > all kind of applications: > - redis > - websocket > - http > - thrift > ... > > If it interrupt the connection without wait for http responses from the > current connection, maybe I'll create a instance for layer4 and another one > for layer7 proxy. > > One more question. What do you think about add a parameter that wait for > layer7 requests ends and close all layer4 connections? > > Willy thanks to help me again. > > > Willy > > -- > Robson Roberto Souza Peixoto > Robinho > Master in Computer Science, University of Campinas > IRC: robsonpeixoto > Twitter: http://twitter.com/robinhopeixoto > github: https://github.com/robsonpeixoto > > -- > Robson Roberto Souza Peixoto > Robinho > Master in Computer Science, University of Campinas > IRC: robsonpeixoto > Twitter: http://twitter.com/robinhopeixoto > github: https://github.com/robsonpeixoto > > -- > Robson Roberto Souza Peixoto > Robinho > Master in Computer Science, University of Campinas > IRC: robsonpeixoto > Twitter: http://twitter.com/robinhopeixoto > github: https://github.com/robsonpeixoto > -- Robson Roberto Souza Peixoto Robinho Master in Computer Science, University of Campinas IRC: robsonpeixoto Twitter: http://twitter.com/robinhopeixoto github: https://github.com/robsonpeixoto

