Le 29/05/2018 à 14:50, Olivier Houchard a écrit :
Hi Stéphane,

On Tue, May 29, 2018 at 12:38:40PM +0200, Stéphane Cottin wrote:
Hi,

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.


Oops you're right indeed. There's a bug in the pollers revamp that has been
done recently.
The attached patch should fix it.

Thanks for reporting !

Olivier


Now merged, thank you!

--
Christopher Faulet

Reply via email to