X-Recipient: archive-cygwin@delorie.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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=wyXEdwP4oDYVPsze
	LysCux/HQCIEKbcSWAhGvmfvQQ3wWrCLbxk8pqfz/3tOXR+Ohe3Dzl//5gG4HwdO
	uuIH31myPM+UI6pYSVTD+0G9igBAuANTgEULhDELBjlIy5PdHw3pjJPGTo1vTFC8
	hVYbUOYZysF71IpxLmogBpnF0gE=
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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=pGK70CtJNNaUggSqoaJVFj
	8BCVg=; b=KGEZlXZ+eZGjGLMFILP5MKuONQ7FwIeIq4GbwBmKAo6eyRLF2vTmHM
	fHCigHKZrw8iXub9q2arktTxYcdOudXLC6NSUgkHQIE+So0DyZt6zU/RmSOVKoYS
	g+u3oHqOQoKQKhmX8Ovred2ZJ8U9ZQ1oP+KYDj98q8/Vv/oIdxb/w=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <52D5D049.6040006@cygwin.com>
Date: Tue, 14 Jan 2014 19:03:21 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygrunsrv starts sshd twice after disconnect (1.7.25 i686 WinXP)
References: <20131218103601.B2E3511C13AE@dd12814.kasserver.com> <090813BB-0377-47BF-BA79-5989F27B5E76@Kriegisch.name>
In-reply-to: <090813BB-0377-47BF-BA79-5989F27B5E76@Kriegisch.name>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 1/14/2014 4:55 PM, Alexander Kriegisch wrote:
> Ping. I have not received any answers in four weeks. If I can provide
> more  info please tell me what, how, ..

I see a second 'sshd' process created when I login to the server.  The
second has the first as its parent PID.  From that, I'll gather that
the service forked a child process to handle the client (I did not
consult the OpenSSH source to verify this is what actually happens
though).  The forked process ends when the client session ends.  This
pattern repeats for any and all ssh sessions I start, sequentially or in
parallel.  I'm not able to immediately reproduce the behavior you describe,
even if I stop and restart sshd.  If you're still experiencing it, I'd
recommend trying to restart your service and/or looking for BLODA.

If you need to follow-up with the list, check out the problem reporting
guidelines found at this link: <http://cygwin.com/problems.html>.  We
need to see your cygcheck output (*attached*) and to know more about
what you're doing, seeing, and when this happens.  For instance, is
the rogue process actually marked as a zombie?  Is it tied to your
DSL line drop or something else?  Do all clients experience this or
just one/some?  What does it look like on the client side?  Have you
run the server (as a service!) with debug flags on to see what the
debug output says?  How about the clients?  I'll stop the questioning
here. ;-)

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

