On Mon, Apr 23, 2018 at 06:36:29PM +0300, Slawa Olhovchenkov wrote: > On Sat, Apr 21, 2018 at 04:38:48PM +0300, Slawa Olhovchenkov wrote: > > > On Fri, Apr 20, 2018 at 03:55:25PM +0200, Willy Tarreau wrote: > > > > > Thus for you it's better to stick to a single listener, and if you want to > > > increase the fairness between the sockets, you can reduce tune.maxaccept > > > in > > > the global section like below : > > > > > > global > > > tune.maxaccept 8 > > > > > > The kqueue issue you report is still unclear to me however, I'm not much > > > used to kqueue and always having a hard time decoding it. > > > > I am try to decode first event on looped thread. > > > > ev0 id 21 filt -2 flag 0 fflag 0 data 2400 udata 0 > > > > This is EVFILT_WRITE (available 2400 bytes) on socket 21. > > > > This is DNS socket: > > > > 12651 haproxy 21 s - rw---n-- 9 0 UDP > > 185.38.13.221:28298 8.8.8.8:53 > > > > Actualy I am have only one dns requests per 2 seconds. > > Can this (DNS use) cause 100% CPU use?
It should not but there could be a bug. Olivier tried to reproduce here but failed to get any such problem. We'll definitely need your configuration, we've been guessing too much now and we're not making any progress on this issue. Willy

