From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 35CC91F44D for ; Sat, 27 Apr 2024 16:55:05 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; secure) header.d=cs.wisc.edu header.i=@cs.wisc.edu header.a=rsa-sha256 header.s=csl-2018021300 header.b=UTyaPubW; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 831513858D1E for ; Sat, 27 Apr 2024 16:55:04 +0000 (GMT) Received: from smtpout2.cs.wisc.edu (smtpout2.cs.wisc.edu [128.105.6.54]) by sourceware.org (Postfix) with ESMTPS id 2F9683858D1E for ; Sat, 27 Apr 2024 16:54:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2F9683858D1E Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=cs.wisc.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.wisc.edu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2F9683858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=128.105.6.54 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714236887; cv=none; b=r2jQzm0msaq3toRwgNlTHstjSrU8JH1bb2t4gKvJCtyHyO9SQA8JNARtSy8FS2qt2XkF4MHF70oRVGXbhu4nGAotj0Ct1fdThC9LUnb0vetxhxJActkuP3wmqhdJ133Q+byQnmQ5cfEflCzNUHgaDIzDcbYK8uZrGSRODQgBEPM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714236887; c=relaxed/simple; bh=2LyGEkIIGJESRj6xq0fRc15sXzxpRoHp1tX0M66O39Y=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=o80jjPmYxyzXEye/rFrEyvQG3CsP6rHZi0gXe7FZw3wOpS/1UfVUUNjWlFuu+hZMy9hcr+Q8BgedYG0+fGXxUY2uSfRcIJjIXt4BuCORDrAIQ2wcDIlSJ/J8xvaWYxLXtdJtJqTjiZeo5FbMylguiP6x/npNs4UsXwov9icjUJs= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from alumni.cs.wisc.edu (alumni.cs.wisc.edu [128.105.2.11]) by flint.cs.wisc.edu (8.14.7/8.14.4) with ESMTP id 43RGsYQo029650; Sat, 27 Apr 2024 11:54:35 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 flint.cs.wisc.edu 43RGsYQo029650 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.wisc.edu; s=csl-2018021300; t=1714236875; bh=68R5j0Yj1oy/DCcAhsUb6iAw1rzsGouDPCubksuD+5w=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=UTyaPubWWhicTsvyJiYTIj5rSdFmCoi1HaA6LjHT/W93agY4gPClpOiAMBa6cZPBM CQiUomJKJg/Nj6AcvxwPP/maqrwqszZ52sNLeMeR3pN1VS86RpHE9EMifYyVPCk1d6 VDLpPLzM8zaCEXIdlec/LsSzVaI/Aq25IJbr5SV+FtayaJ8TqdCWDDa9byZVWXnbbm flTAJfAAl0IG3M5W7IoNuMfI++PdqFQefmPrEWQrnWr6jF8V0/RsBDvRa0rVJ9u/yM puI7yO5MuGHt1/cem6fz8OaTqca/7+3ZiLECDFuDm0Yd2Aa7BAJ7rYLGB/eXAJKUYq MOv5pY07SCVDQ== Received: from localhost (localhost.localdomain [127.0.0.1]) by alumni.cs.wisc.edu (Postfix) with ESMTP id A7FE01E083B; Sat, 27 Apr 2024 11:54:33 -0500 (CDT) Date: Sat, 27 Apr 2024 11:56:20 -0500 (CDT) From: Carl Edquist To: Chet Ramey cc: Zachary Santer , bug-bash , libc-alpha@sourceware.org Subject: Re: Examples of concurrent coproc usage? In-Reply-To: <4e5a5e96-274b-49d5-bd9b-5a0ceaaa888d@case.edu> Message-ID: <2c96a315-b675-a116-c75e-998c338ecb51@cs.wisc.edu> References: <317fe0e2-8cf9-d4ac-ed56-e6ebcc2baa55@cs.wisc.edu> <8c490a55-598a-adf6-67c2-eb2a6099620a@cs.wisc.edu> <88a67f36-2a56-a838-f763-f55b3073bb50@lando.namek.net> <2791ad90-a871-474d-89dd-bc6b20cdd1f2@case.edu> <32bd9e76-24bc-4206-aa8a-8bcc817228b1@case.edu> <2febc4ce-a9a8-d1a9-51c3-0ed5d1b20716@cs.wisc.edu> <4e5a5e96-274b-49d5-bd9b-5a0ceaaa888d@case.edu> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org On Mon, 22 Apr 2024, Chet Ramey wrote: > You might be surprised. The OP was sending thousands of calculations to > (I think) GNU bc, which had some resource consumption issue that > resulted in it eventually hanging, unresponsive. The kill was the > solution there. I imagine there are similar scenarios with other tools. Ok, you got me! I take it back. I hadn't considered bc operations being cpu/memory intensive. But that possibility makes sense - given that it's arbitrary precision I guess you can ask for a number to the billionth power and never see the end of it :) Carl