mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-15 16:04:37 +00:00
c6e7a1b8e9
"show sess" and particularly "show sess all" can be very slow when dumping lots of information, and while dumping, new sessions might appear, making the output really endless. When threads are used, this causes a double problem: - all threads are paused during the dump, so an overly long dump degrades the quality of service ; - since all threads are paused, more events get postponed, possibly resulting in more streams to be dumped on next invocation of the dump function. This patch addresses this long-lasting issue by doing something simple: the CLI's stream is moved at the end of the steams list, serving as an identifiable marker to end the dump, because all entries past it were added after the command was entered. As a result, the CLI's stream always appears as the last one. It may make sense to backport this to stable branches where dumping live streams is difficult as well. |
||
---|---|---|
.. | ||
design-thoughts | ||
internals | ||
lua-api | ||
51Degrees-device-detection.txt | ||
acl.fig | ||
architecture.txt | ||
close-options.txt | ||
coding-style.txt | ||
configuration.txt | ||
cookie-options.txt | ||
DeviceAtlas-device-detection.txt | ||
gpl.txt | ||
haproxy.1 | ||
intro.txt | ||
lgpl.txt | ||
linux-syn-cookies.txt | ||
lua.txt | ||
management.txt | ||
netscaler-client-ip-insertion-protocol.txt | ||
network-namespaces.txt | ||
peers-v2.0.txt | ||
peers.txt | ||
proxy-protocol.txt | ||
queuing.fig | ||
regression-testing.txt | ||
seamless_reload.txt | ||
SOCKS4.protocol.txt | ||
SPOE.txt | ||
WURFL-device-detection.txt |