Thanks for the reply. I'll test both solutions.
Javier 2012/10/16 Willy Tarreau <[email protected]>: > On Tue, Oct 16, 2012 at 04:00:46AM -0400, Javi Legido wrote: >> Hi Baptiste. >> >> After looking at the output of 'netstat -puta' on the mysql server I >> think yes, they are. >> >> There's a way then to force the draining of connections on run time? > > Then it only depends on two factors : > - the ability for the client or server to close the connection after > some time ; > - the session inactivity which will trigger haproxy's timeout resulting > in killing the connection > > You can also kill the connection by yourself from the stats socket by > issuing "shutdown session server XXX". > > Regards, > Willy >

