Le 21/04/2021 à 08:48, Maciej Zdeb a écrit :
I'm very happy you managed to reproduce a similar issue! :)
Does it affect 2.3.9? I've experienced 100% cpu on it also. But on 2.3 ALL
threads loops on _do_poll/epoll_wait and threads did not hang on a particular h2
session. :( I'll check twice and return in the new thread for 2.3.9, because as
for now it looks like a different bug.
The bug affects all HAProxy versions supporting CONTINUATION frames. When it
happens, the buggy H2 sessions are waiting for more data with a full buffer,
resulting to wakeups in loop. But the threads don't hang. Incoming connections
are still accepted and processed. But all the CPU is consumed.
However, if you observe loops on _do_poll/epoll_wait, it is probably another
bug. Because here with a "perf top" on haproxy, you should have H2 functions in
the top 10.
I'll push my fix this morning. So you may just wait a bit to confirm it is the
same bug or not.
--
Christopher Faulet