delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/27/10:28:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
q=dns; s=default; b=UFNZIrJ7lS0Ba5HKcwTPq4K8KTU1zApjm2vVEHa6HXQ
ca00sOIx7QKBvxvzFtuEBPd1gj5VRIOwIjOa4T0SVouruBEHz0jjCeaqT3KhxUZO
F9jAFZavPtQ/vxqecnZiBh/gkno95wLhee6JPvTX2mQQAENPAU3yfNzX9+4fmXJg
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
s=default; bh=hZ6XJFckRnVG7vsYLupj+IqhoDI=; b=HsI4k9oc9/9n0FNis
YM3QIyhe/WV7TBTY+oD/dPeF9DtHoXjugkWMlAI+x1G7T7YCKDomcUtzi53Pd7dY
0Za6yYEZiNSwkb9AofRLTXl+rivoqqZKFaEFQdPsx/znm0G1bpq0Hcl9VK6hbwZf
EyMBUd7X5UOKNUqZOQLwam16Og=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=laptop, disconnected, ven, H*c:alternative
X-HELO: mail-qk1-f181.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=g/vtSGjMXKLO+qCcFNcpVAot6q6DPowal/5SOJdhyIc=; b=q/o2TTgE/37VWTnz5cdXC4Yir2V4qLR2ANxxGh0DT1mjphMwGdQSRd3NzfOculTBW7 Pyjqq5H2AgGziWFOjtLAZjSNhQs1TvC0WaBJQ28Gr9hjTjbgTWTPzkG05ejONp3yTt+a RTZtUtKD4vzt02fyNmm1PAwcn5gSNTtLg7BttaolKt81jd9qXyzdAjjTpbYNQEtVj+Rl A9sBW2xwe27WUfO0hU+Gw0ByKiaGwk0PfeJgzkkjcaIQJPi16tabZ4Y2EK+1AQ1gpdDO Op4cQWmdEdAbzuFsb7F71r9ujVWFa2r/OD4uPdd3SHuQAe1q1xZcES5n20gxnPngMrVw QWww==
MIME-Version: 1.0
References: <319e26c0-32f0-40b7-2137-c7de170a3486 AT rl DOT ac DOT uk> <5b225738-c2d7-fbfe-48a7-8c2a38c3398c AT cornell DOT edu> <0ccd17b6-c22a-1a18-9409-1ebcfae60868 AT huarp DOT harvard DOT edu> <9f7a14bb-f81b-c566-bb84-8da7fc6d0fad AT cornell DOT edu>
In-Reply-To: <9f7a14bb-f81b-c566-bb84-8da7fc6d0fad@cornell.edu>
From: Vanda Vodkamilkevich <vanda DOT vodkamilkevich AT gmail DOT com>
Date: Fri, 27 Sep 2019 16:27:42 +0200
Message-ID: <CA+GYywAhzwBD3V555Hsqy2p+ZLv9031Ksc91tKZ_4RPLwvMatg@mail.gmail.com>
Subject: Re: ssh-agent doesn't die
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x8RESTe9019122

Le ven. 27 sept. 2019 à 16:13, Ken Brown <kbrown AT cornell DOT edu> a écrit :

> On 9/27/2019 9:37 AM, Norton Allen wrote:
> > On 9/26/2019 10:50 PM, Ken Brown wrote:
> >>
> >>> As a simple test example, consider:
> >>>
> >>> /bin/ssh-agent /bin/sleep 10
> >>>
> >>> While the sleep is still running, ps shows:
> >>>
> >>>         PID    PPID    PGID     WINPID   TTY         UID    STIME
> COMMAND
> >>>        1694    1693    1694       1576  ?          22534 00:01:10
> >>> /usr/bin/ssh-agent
> >>>        1653       1    1653      11740  cons1      22534 00:00:37
> /usr/bin/bash
> >>>        1693    1653    1693       1552  cons1      22534 00:01:10
> /usr/bin/sleep
> >>>
> >>> One oddity is that ssh-agent is listed as a subprocess of sleep
> >> ...but this isn't a bug.  ssh-agent forks, and then the parent execs
> the command.
> >
> > With the salient difference presumably being that the exec is done in
> the parent
> > instead of the child as usual?
>
> Yes.  The idea is that 'ssh-agent command' should be more-or-less
> equivalent to
> running 'command', with ssh-agent running as a subprocess.
>
> The ssh-agent subprocess periodically checks to see if its parent is still
> alive, and it exits when the parent has died.  Someone should figure out
> why
> this is not working on Cygwin.
>
> Ken
>
> Ken
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Hi,
this may probably be not fully related but I see from time to time a
strange behavior of ssh-agent (running in the background and initially
started by keychain launched in .bashrc) : the agent is running wild (25%
of cpu and never responding). It seems to occur (not systematically) when
network is disconnected and reconnected (this is on a laptop often removed
from the docking system). Do you have any idea how to diagnose the issue
more precisely?

Regards

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019