haproxy/doc
Willy Tarreau d2d3348acb MINOR: activity: enable automatic profiling turn on/off
Instead of having to manually turn task profiling on/off in the
configuration, by default it will work in "auto" mode, which
automatically turns on on any thread experiencing sustained loop
latencies over one millisecond averaged over the last 1024 samples.

This may happen with configs using lots of regex (thing map_reg for
example, which is the lazy way to convert Apache's rewrite rules but
must not be abused), and such high latencies affect all the process
and the problem is most often intermittent (e.g. hitting a map which
is only used for certain host names).

Thus now by default, with profiling set to "auto", it remains off all
the time until something bad happens. This also helps better focus on
the issues when looking at the logs as well as in "show sess" output.
It automatically turns off when the average loop latency over the last
1024 calls goes below 990 microseconds (which typically takes a while
when in idle).

This patch could be backported to stable versions after a bit more
exposure, as it definitely improves observability and the ability to
quickly spot the culprit. In this case, previous patch ("MINOR:
activity: make the profiling status per thread and not global") must
also be taken.
2019-04-25 17:26:46 +02:00
..
design-thoughts DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
internals MINOR: buffers: add a new b_move() function 2018-12-24 11:45:00 +01:00
lua-api DOC: Fix typos in different subsections of the documentation 2018-11-18 22:23:15 +01:00
51Degrees-device-detection.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
DeviceAtlas-device-detection.txt
SPOE.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
WURFL-device-detection.txt MINOR: contrib: dummy wurfl library 2019-04-23 11:00:23 +02:00
acl.fig
architecture.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
close-options.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
coding-style.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
configuration.txt MINOR: activity: enable automatic profiling turn on/off 2019-04-25 17:26:46 +02:00
cookie-options.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
gpl.txt
haproxy.1
intro.txt [RELEASE] Released version 2.0-dev0 2018-12-22 11:20:35 +01:00
lgpl.txt
linux-syn-cookies.txt
lua.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
management.txt MINOR: activity: enable automatic profiling turn on/off 2019-04-25 17:26:46 +02:00
netscaler-client-ip-insertion-protocol.txt MEDIUM: netscaler: add support for standard NetScaler CIP protocol 2017-12-20 07:04:07 +01:00
network-namespaces.txt
peers-v2.0.txt DOC: fix a few typos in the documentation 2018-11-18 22:23:15 +01:00
peers.txt DOC: peers: Peers protocol documentation update. 2019-03-26 16:47:28 +01:00
proxy-protocol.txt
queuing.fig
regression-testing.txt REGTEST: Adapt reg test doc files to vtest. 2019-01-14 14:24:29 +01:00