From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33018: 26.1.50; thread starvation with async processes and accept-process-output Date: Wed, 17 Oct 2018 21:20:22 +0300 Message-ID: <83y3awqvtl.fsf@gnu.org> References: <87r2gwbmma.fsf@tcd.ie> <875zy7cqzd.fsf@gmx.de> <878t30h823.fsf@tcd.ie> <87sh177i36.fsf@gmx.de> <877eiipu8g.fsf@tcd.ie> <83k1mirl9n.fsf@gnu.org> <874ldkjwzn.fsf@tcd.ie> <83zhvcqwxc.fsf@gnu.org> <87o9bswirc.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1539800351 23822 195.159.176.226 (17 Oct 2018 18:19:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2018 18:19:11 +0000 (UTC) Cc: michael.albinus@gmx.de, 33018@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 17 20:19:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCqPS-00065H-Q8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Oct 2018 20:19:06 +0200 Original-Received: from localhost ([::1]:38506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCqRZ-0001uJ-2v for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Oct 2018 14:21:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCqRP-0001uA-W0 for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 14:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCqRL-0004Cl-8Z for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 14:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCqRK-00048t-1N for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 14:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gCqRJ-00015I-SV for bug-gnu-emacs@gnu.org; Wed, 17 Oct 2018 14:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Oct 2018 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33018 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33018-submit@debbugs.gnu.org id=B33018.15398004434119 (code B ref 33018); Wed, 17 Oct 2018 18:21:01 +0000 Original-Received: (at 33018) by debbugs.gnu.org; 17 Oct 2018 18:20:43 +0000 Original-Received: from localhost ([127.0.0.1]:55606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCqR0-00014M-MT for submit@debbugs.gnu.org; Wed, 17 Oct 2018 14:20:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gCqQz-00014A-IP for 33018@debbugs.gnu.org; Wed, 17 Oct 2018 14:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCqQr-00039H-C4 for 33018@debbugs.gnu.org; Wed, 17 Oct 2018 14:20:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCqQq-00037n-NI; Wed, 17 Oct 2018 14:20:33 -0400 Original-Received: from [176.228.60.248] (port=1403 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gCqQq-0003TQ-5I; Wed, 17 Oct 2018 14:20:32 -0400 In-reply-to: <87o9bswirc.fsf@tcd.ie> (contovob@tcd.ie) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151353 Archived-At: > From: "Basil L. Contovounesios" > Cc: , <33018@debbugs.gnu.org> > Date: Wed, 17 Oct 2018 19:05:59 +0100 > > > Looks like the buffer of the pipe through which Emacs reads the stuff > > is full, and wget waits for some space there? > > Would that imply that different threads/processes are (re)using the same > buffer/pipe? Could be, but it's more likely that Emacs simply doesn't read the output from wget. > pselect6(14, [6 7], [], NULL, {tv_sec=99975, tv_nsec=320947003}, {NULL, 8} > > and strace -p gives: > > write(1, ">]\n

Emacs i"..., 4096 > > The former reminded me of bug#24201: https://debbugs.gnu.org/24201 I could be wrong, but it doesn't look similar to me. In that bug, the CPU was pegged, whereas you said that CPU is idle.