From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 43226@debbugs.gnu.org
Subject: bug#43226: 28.0.50; Running Tramp tests on MS-Windows leaves zombie processes on the remote
Date: Sun, 06 Sep 2020 19:07:50 +0300 [thread overview]
Message-ID: <83d02yopm1.fsf@gnu.org> (raw)
In-Reply-To: <87lfhmzyr8.fsf@gmx.de> (message from Michael Albinus on Sun, 06 Sep 2020 17:54:51 +0200)
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: 43226@debbugs.gnu.org
> Date: Sun, 06 Sep 2020 17:54:51 +0200
>
> > Just to be sure I test this correctly: after installing the change and
> > compiling tramp-cmds.el, I run the test tramp-test30-make-process
> > twice. What I see after the first run is that 2 'cat' processes (each
> > one with 2 sshd) and one /bin/sh process (with 2 sshd processes of its
> > own) are left behind. After the second run, I see 4 'cat' processes
> > (each one with 2 sshd) and the same single /bin/sh process with its 2
> > sshd processes. Thus my conclusion is that sending EOF to the
> > processes doesn't help.
>
> Yes, this is right. I have no idea how else we could kill the remote
> processes, prior killing the local plink.
I think at this point we need some expert on TCP connections to chime
in. AFAIU, your hypothesis is that the way we kill network processes
on MS-Windows somehow fails to send SIGHUP to the other end of the
connection? I'm not sure how this could happen, since I think Windows
sockets are a more-or-less faithful emulation of sockets.
Or maybe you (or someone else) could describe in detail how the
deletion of the network-connection process is supposed to shut down
the processes on the other end of the connection?
next prev parent reply other threads:[~2020-09-06 16:07 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-05 16:38 bug#43226: 28.0.50; Running Tramp tests on MS-Windows leaves zombie processes on the remote Eli Zaretskii
2020-09-05 19:04 ` bug#43226: Fwd: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Michael Albinus
2020-09-05 19:04 ` Michael Albinus
2020-09-05 19:16 ` bug#43226: 28.0.50; Running Tramp tests on MS-Windows leaves zombie processes on the remote Michael Albinus
2020-09-05 19:25 ` Eli Zaretskii
2020-09-06 8:49 ` Michael Albinus
2020-09-06 15:14 ` Eli Zaretskii
2020-09-06 15:54 ` Michael Albinus
2020-09-06 16:07 ` Eli Zaretskii [this message]
2022-10-25 9:39 ` Henrik Ahlgren
2022-10-25 11:26 ` Eli Zaretskii
2022-10-25 13:56 ` Henrik Ahlgren
2022-10-25 16:49 ` Michael Albinus
2022-10-25 19:17 ` Eli Zaretskii
2022-10-26 11:34 ` Henrik Ahlgren
2022-10-26 12:01 ` Eli Zaretskii
2022-10-26 14:15 ` HA
2022-10-29 14:48 ` Michael Albinus
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=83d02yopm1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43226@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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.