From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 5BD613858C2C for ; Mon, 17 Apr 2023 12:18:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5BD613858C2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 4AC17302BB02 for ; Mon, 17 Apr 2023 14:18:28 +0200 (CEST) Received: by r6.localdomain (Postfix, from userid 1000) id 0E1EA340083; Mon, 17 Apr 2023 14:18:28 +0200 (CEST) Message-ID: <1e5cc949a6500878f5b82b7f14ca220041954820.camel@klomp.org> Subject: Re: [PATCH] tests: Limit the number of concurrent requests in debuginfod-federation From: Mark Wielaard To: elfutils-devel@sourceware.org Date: Mon, 17 Apr 2023 14:18:27 +0200 In-Reply-To: <20230414164610.1092833-1-mark@klomp.org> References: <20230414164610.1092833-1-mark@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-3028.9 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 2023-04-14 at 18:46 +0200, Mark Wielaard wrote: > It seems doing 100 parallel requests can crash some versions of > libmicrohttpd so limit the number a little to the number of processors > times 4, with a max of 64. >=20 > * tests/run-debuginfod-federation-metrics.sh: Use nproc * 4, or 64 > for seq curl requests. > * tests/run-debuginfod-federation-sqlite.sh: Likewise. On irc Frank said it is fine (harmless) but also probably ineffective. I hope it does at least reduce the false positives/crashes in libmicrohttpd. So I have pushed it. Cheers, Mark