summaryrefslogtreecommitdiff
path: root/doc/debuginfod.8
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2021-12-08 22:41:47 -0500
committerFrank Ch. Eigler <fche@redhat.com>2021-12-10 14:00:29 -0500
commit80ea3cf328eb94fd78e494d0128561f53e20114d (patch)
tree942346048fbe1ebfe3055286e98e964b45cf3dfc /doc/debuginfod.8
parent78ecba0926216e0ad90b71f789636d1e0a9777ca (diff)
downloadelfutils-80ea3cf328eb94fd78e494d0128561f53e20114d.tar.gz
PR28661: debuginfo connection thread pool support
Add an option -C, which activates libmicrohttpd's thread-pool mode for handling incoming http connections. Add libmicrohttpd error-logging callback function so as to receive indication of its internal errors, and relay counts to our metrics. Some of these internal errors tipped us off to a microhttpd bug that thread pooling works around. Document in debuginfod.8 page. Hand-tested against "ulimit -u NNN" shells, and with a less strenuous new test case. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'doc/debuginfod.8')
-rw-r--r--doc/debuginfod.817
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/debuginfod.8 b/doc/debuginfod.8
index 1e56f656..ee8e4078 100644
--- a/doc/debuginfod.8
+++ b/doc/debuginfod.8
@@ -206,6 +206,23 @@ an ELF file and especially decompressing archives. The default is the
number of processors on the system; the minimum is 1.
.TP
+.B "\-C" "\-C=NUM" "\-\-connection\-pool" "\-\-connection\-pool=NUM"
+Set the size of the pool of threads serving webapi queries. The
+following table summarizes the interpretaton of this option and its
+optional NUM parameter.
+.TS
+l l.
+no option clone new thread for every request, no fixed pool
+\-C use a fixed thread pool sized automatically
+\-C=NUM use a fixed thread pool sized NUM, minimum 2
+.TE
+
+The first mode is useful for friendly bursty traffic. The second mode
+is a simple and safe configuration based on the number of processors.
+The third mode is suitable for tuned load-limiting configurations
+facing unruly traffic.
+
+.TP
.B "\-L"
Traverse symbolic links encountered during traversal of the PATHs,
including across devices - as in \fIfind\ -L\fP. The default is to