>>   - 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".

I don't find a way neither in the config nor in the run time commands
through socket to force active connections drop.

I checked http://haproxy.1wt.eu/download/1.4/doc/configuration.txt.

Is that possible from load balancer?

Thanks


2012/10/16 Javi Legido <[email protected]>:
> 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
>>

Reply via email to