From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: 56606-done@debbugs.gnu.org
Subject: bug#56606: Acknowledgement (29.0.50; recent master fails with "creating pipe: too many open files")
Date: Tue, 19 Jul 2022 05:38:40 +0300 [thread overview]
Message-ID: <83k089omhb.fsf@gnu.org> (raw)
In-Reply-To: <86h73ex91m.fsf@stephe-leake.org> (message from Stephen Leake on Mon, 18 Jul 2022 17:04:05 -0700)
> From: Stephen Leake <stephen_leake@stephe-leake.org>
> Cc: 56606@debbugs.gnu.org
> Date: Mon, 18 Jul 2022 17:04:05 -0700
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Cc: 56606@debbugs.gnu.org
> >> Date: Sun, 17 Jul 2022 13:20:12 +0300
> >> From: Eli Zaretskii <eliz@gnu.org>
> >>
> >> > From: Stephen Leake <stephen_leake@stephe-leake.org>
> >> > Date: Sun, 17 Jul 2022 02:42:04 -0700
> >> >
> >> > On emacs-devel, Eli said:
> >> >
> >> > AFAICT, this loop in deactivate_process:
> >> >
> >> > /* Beware SIGCHLD hereabouts. */
> >> >
> >> > for (i = 0; i < PROCESS_OPEN_FDS; i++)
> >> > close_process_fd (&p->open_fd[i]);
> >> >
> >> > doesn't close the last of the 4 descriptors opened by the 2 emacs_pipe
> >> > calls in make-pipe-process. It calls 'close' with the right value,
> >> > and close returns zero, but the pipe stays open. In Emacs 28, this
> >> > same loop successfully closes the descriptor. I don't know why.
> >> >
> >> > Perhaps bisecting could help.
> >>
> >> I think commit a81669c could be the culprit.
> >
> > I hope I fixed this now on master.
> >
>
> Yes, it is fixed, by 637436970f34f860d50f73a514b3bafd0c5cace7.
Thanks, I'm therefore closing this bug.
next prev parent reply other threads:[~2022-07-19 2:38 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-16 21:49 bug#56606: 29.0.50; recent master fails with "creating pipe: too many open files" Stephen Leake
[not found] ` <handler.56606.B.165800822832001.ack@debbugs.gnu.org>
2022-07-17 9:42 ` bug#56606: Acknowledgement (29.0.50; recent master fails with "creating pipe: too many open files") Stephen Leake
2022-07-17 10:20 ` Eli Zaretskii
2022-07-17 12:46 ` Eli Zaretskii
2022-07-19 0:04 ` Stephen Leake
2022-07-19 2:38 ` Eli Zaretskii [this message]
2023-03-20 13:31 ` tramp "too many open files" [Re: bug#56606 Madhu
2023-03-20 14:58 ` Thierry Volpiatto
2023-03-20 15:20 ` Michael Albinus
2023-03-20 16:57 ` Thierry Volpiatto
2023-03-20 17:56 ` Michael Albinus
2023-03-21 5:55 ` Thierry Volpiatto
2023-03-21 9:22 ` Michael Albinus
2023-03-21 13:43 ` Thierry Volpiatto
2023-03-21 15:17 ` Michael Albinus
2023-03-21 17:19 ` Thierry Volpiatto
2023-03-20 15:04 ` Michael Albinus
2023-03-20 18:47 ` Madhu
2023-03-21 9:30 ` Michael Albinus
2023-03-25 23:23 ` {Spam?} " Madhu
2023-03-26 18:56 ` tramp "too many open files" Michael Albinus
2023-05-14 5:44 ` Build failure: " Madhu
2023-05-14 7:10 ` Michael Albinus
2023-05-14 10:00 ` {Spam?} " Madhu
2023-05-14 11:24 ` Michael Albinus
2022-07-18 23:54 ` bug#56606: Acknowledgement (29.0.50; recent master fails with "creating pipe: too many open files") Stephen Leake
2022-07-19 0:05 ` bug#56606: 29.0.50; recent master fails with "creating pipe: too many open files" Stephen Leake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83k089omhb.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=56606-done@debbugs.gnu.org \
--cc=stephen_leake@stephe-leake.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.