a44922fb10
In order to help users detect when threads are behaving abnormally, let's try to emit a warning when one is no longer making any progress. This will allow to catch faulty situations more accurately, instead of occasionally triggering just after the long task. It will also let users know that there is something wrong with their configuration, and inspect the call trace to figure whether they're using excessively long rules or Lua for example (the usual warnings about lua-load vs lua-load-per-thread are still reported). The warning will only be emitted for threads not yet marked as stuck so as not to interfere with panic dumps and avoid sending a warning just before a panic. A tainted flag is set when this happens however (0x2000). (cherry picked from commit 148eb5875fb7e6c46c0a9eac486dcb7b3bca931d) Signed-off-by: Willy Tarreau <w@1wt.eu> |
||
---|---|---|
.. | ||
haproxy | ||
import | ||
make |