* [Bug debuginfod/28661] New: support thread-pool model
@ 2021-12-06 14:03 fche at redhat dot com
2021-12-10 19:10 ` [Bug debuginfod/28661] " fche at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2021-12-06 14:03 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28661
Bug ID: 28661
Summary: support thread-pool model
Product: elfutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: debuginfod
Assignee: unassigned at sourceware dot org
Reporter: fche at redhat dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Switch to libmicrohttpd thread-pooling for the webapi service threads, from the
general unrestricted THREAD_PER_CONNECTION model, at least as a default. A
libmicrohttpd bug can create a persistent DoS condition from a transient one,
but the thread-pool method should avoid that particular trigger.
https://lists.gnu.org/archive/html/libmicrohttpd/2021-12/msg00011.html
https://git.gnunet.org/libmicrohttpd.git/commit/?id=8cdc89b9c3652d5ed899305bc93b10ddf04dbebc
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug debuginfod/28661] support thread-pool model
2021-12-06 14:03 [Bug debuginfod/28661] New: support thread-pool model fche at redhat dot com
@ 2021-12-10 19:10 ` fche at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2021-12-10 19:10 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28661
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
commit 80ea3cf32
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-10 19:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 14:03 [Bug debuginfod/28661] New: support thread-pool model fche at redhat dot com
2021-12-10 19:10 ` [Bug debuginfod/28661] " fche at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).