Hello William,

Thanks for the patch, but applying it on 1.8.9 does not fix my issue.

Stéphane

On 29 May 2018, at 13:24, William Dauchy wrote:

Hello Stephane,

On Tue, May 29, 2018 at 12:38 PM, Stéphane Cottin
<[email protected]> wrote:
This simple test config file :

resolvers mydns
  nameserver ns1 10.0.0.1:53
listen mysql
  bind unix@/tmp/mysql.sock user www-data mode 600
  option mysql-check user haproxy post-41
  server MYSQL mysql.my.domain:3306 maxconn 100 check resolvers mydns

makes haproxy 1.8.9 eat a full cpu core, unless you remove the server
resolvers option.

The same config with haproxy 1.8.8 only consume a few cpu cycles.

This patch not yet backported in 1.8 should help
http://git.haproxy.org/?p=haproxy.git;a=commit;h=f3d9e608d73fae1a7f00341cb52371e4b2181c66

Best,

--
William

Reply via email to