We see the following warning messages within the haproxy log and and maybe there’s a relation to a problem with faulty WebSocket connections.
WARNING! thread 9 has stopped processing traffic for 123 milliseconds
with 0 streams currently blocked, prevented from making any progress.
While this may occasionally happen with inefficient configurations
involving excess of regular expressions, map_reg, or heavy Lua processing,
this must remain exceptional because the system's stability is now at risk.
Timers in logs may be reported incorrectly, spurious timeouts may happen,
some incoming connections may silently be dropped, health checks may
randomly fail, and accesses to the CLI may block the whole process. The
blocking delay before emitting this warning may be adjusted via the global
'warn-blocked-traffic-after' directive. Please check the trace below for
any clues about configuration elements that need to be corrected:
* Thread 9 : id=0x7d41394ffb30 act=1 glob=0 wq=1 rq=0 tl=0 tlsz=0 rqsz=0
1/9 loops=5728 ctxsw=7564 stuck=0 prof=0 harmless=0 isolated=0
cpu_ns: poll=178166898 now=302094658 diff=123927760
curr_task=0x7d4136ea50c0 (task) calls=113 last=0
fct=0x5b6b17959de0(process_chk) ctx=0x7d4139127498
lock_hist: S:SERVER U:SERVER R:TASK_WQ U:TASK_WQ S:SERVER U:SERVER R:TASK_WQ U:TASK_WQ
call trace(7):
| 0x5b6b17953979 <48 89 df e8 c7 f4 ff ff]: ha_dump_backtrace+0x3449 > ha_dump_backtrace+0x2910
| 0x5b6b17a466a3 <00 00 00 e8 fd d1 f0 ff]: main+0x311863 > ha_dump_backtrace+0x3370
| 0x7d413bb41ec2 <31 d2 e9 8c ff ff ff 90]: main+0x21d62440d082
| 0x5b6b179f504c <4e 30 01 e8 34 f3 ff ff]: process_runnable_tasks+0x3fc > run_tasks_from_lists
| 0x5b6b1796559a <02 00 00 e8 b6 f6 08 00]: run_poll_loop+0x8a > process_runnable_tasks
| 0x5b6b17965d91 <00 00 00 e8 7f f7 ff ff]: run_poll_loop+0x881 > run_poll_loop
| 0x7d413bb5029a <0f 05 48 8b 7b 08 ff 13]: main+0x21d62441b45a
=> Trying to gracefully recover now (pid 89083).
WARNING! thread 24 has stopped processing traffic for 110 milliseconds
with 0 streams currently blocked, prevented from making any progress.
While this may occasionally happen with inefficient configurations
involving excess of regular expressions, map_reg, or heavy Lua processing,
this must remain exceptional because the system's stability is now at risk.
Timers in logs may be reported incorrectly, spurious timeouts may happen,
some incoming connections may silently be dropped, health checks may
randomly fail, and accesses to the CLI may block the whole process. The
blocking delay before emitting this warning may be adjusted via the global
'warn-blocked-traffic-after' directive. Please check the trace below for
any clues about configuration elements that need to be corrected:
* Thread 24: id=0x7d41378d2b30 act=1 glob=0 wq=1 rq=0 tl=0 tlsz=0 rqsz=0
1/24 loops=6179 ctxsw=7565 stuck=0 prof=0 harmless=0 isolated=0
cpu_ns: poll=191400471 now=302138495 diff=110738024
curr_task=0x7d4136e9b2a0 (task) calls=225 last=0
fct=0x5b6b17959de0(process_chk) ctx=0x7d4139012498
lock_hist: U:SERVER R:TASK_WQ U:TASK_WQ S:SERVER U:SERVER R:TASK_WQ U:TASK_WQ S:SERVER locked: SERVER(S)
call trace(12):
| 0x5b6b17953979 <48 89 df e8 c7 f4 ff ff]: ha_stuck_warning+0xd9 > ha_dump_backtrace+0x2910
| 0x5b6b17a466a3 <00 00 00 e8 fd d1 f0 ff]: main+0x311863 > ha_dump_backtrace+0x3370
| 0x7d413bb41ec2 <31 d2 e9 8c ff ff ff 90]: main+0x21d62440d082
| 0x5b6b17940cc2 <48 89 e5 e8 0e 16 08 00]: cli_io_handler+0x2e362 > main+0x28d490
| 0x5b6b17940d87 <00 31 c0 e8 29 ff ff ff]: cli_io_handler+0x2e427 > cli_io_handler+0x2e350
| 0x5b6b179426d3 <83 ec 08 e8 3d e6 ff ff]: cli_io_handler+0x2fd73 > cli_io_handler+0x2e3b0
| 0x5b6b179599af <4c 89 f7 e8 11 8d fe ff]: ha_dump_backtrace+0x947f > cli_io_handler+0x2fd60
| 0x5b6b179f472c <84 ff 01 00 00 41 ff d1]: run_tasks_from_lists+0x3ac
| 0x5b6b179f504c <4e 30 01 e8 34 f3 ff ff]: process_runnable_tasks+0x3fc > run_tasks_from_lists
| 0x5b6b1796559a <02 00 00 e8 b6 f6 08 00]: run_poll_loop+0x8a > process_runnable_tasks
| 0x5b6b17965d91 <00 00 00 e8 7f f7 ff ff]: run_poll_loop+0x881 > run_poll_loop
| 0x7d413bb5029a <0f 05 48 8b 7b 08 ff 13]: main+0x21d62441b45a
=> Trying to gracefully recover now (pid 89083).
WARNING! thread 32 has stopped processing traffic for 122 milliseconds
with 0 streams currently blocked, prevented from making any progress.
While this may occasionally happen with inefficient configurations
involving excess of regular expressions, map_reg, or heavy Lua processing,
this must remain exceptional because the system's stability is now at risk.
Timers in logs may be reported incorrectly, spurious timeouts may happen,
some incoming connections may silently be dropped, health checks may
randomly fail, and accesses to the CLI may block the whole process. The
blocking delay before emitting this warning may be adjusted via the global
'warn-blocked-traffic-after' directive. Please check the trace below for
any clues about configuration elements that need to be corrected:
* Thread 32: id=0x7d413318db30 act=1 glob=0 wq=1 rq=0 tl=0 tlsz=0 rqsz=0
1/32 loops=7540 ctxsw=10663 stuck=0 prof=0 harmless=0 isolated=0
cpu_ns: poll=179103693 now=301663166 diff=122559473
curr_task=0x7d4136e99860 (task) calls=225 last=0
fct=0x5b6b17959de0(process_chk) ctx=0x7d4138fe8498
lock_hist: U:SERVER R:TASK_WQ U:TASK_WQ S:SERVER U:SERVER R:TASK_WQ U:TASK_WQ S:SERVER locked: SERVER(S)
call trace(12):
| 0x5b6b17953979 <48 89 df e8 c7 f4 ff ff]: ha_stuck_warning+0xd9 > ha_thread_dump_one
| 0x5b6b17a466a3 <00 00 00 e8 fd d1 f0 ff]: wdt_handler+0x1e3 > ha_stuck_warning
| 0x7d413bb41ec2 <31 d2 e9 8c ff ff ff 90]: ld-musl-x86_64:+0x4dec2
| 0x5b6b17940cc2 <48 89 e5 e8 0e 16 08 00]: sedesc_new+0x12 > __pool_alloc
| 0x5b6b17940d87 <00 31 c0 e8 29 ff ff ff]: cli_io_handler+0x2e427 > sedesc_new
| 0x5b6b179426d3 <83 ec 08 e8 3d e6 ff ff]: sc_new_from_check+0x13 > cli_io_handler+0x2e3b0
| 0x5b6b179599af <4c 89 f7 e8 11 8d fe ff]: process_chk_conn+0x104f > sc_new_from_check
=> Trying to gracefully recover now (pid 89083).
Deployment: helm
Chartversion: 1.52.0
We see the following warning messages within the haproxy log and and maybe there’s a relation to a problem with faulty WebSocket connections.
Maybe someone can help or had an advise howto mitigate or fix this?
Thanks in advance