delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/24/05:49:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 24 Feb 2010 11:48:51 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Max no of parallel SSH sessions with Cygwin SSHD
Message-ID: <20100224104851.GB29779@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6d19fbfd1002232032q38cbbd95h2d85cac48badacad AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <6d19fbfd1002232032q38cbbd95h2d85cac48badacad@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Feb 24 10:02, Girish Sadhani wrote:
> Hello All,
> 
> I am trying to use Cygwin SSHD in my project. I have defined a
> subsystem under SSHD which gets accessed by the client.
> 
> Each subsystem invocation spawns 3 processes (1 sshd + 1sh + 1 tclsh).
> 
> I have observed that on WinXP only 22 parallel sessions are possible
> whereas on a Win2k3 server 48 parallel sessions are possible. Both are
> of a similar hardware configuration (3Ghz CPU, 2GB RAM). After which
> it seems like some resource allocation limit is reached, though there
> is a lot more Memory and CPU available. I have tried increasing the
> heap allocation but it does not help the situation.
> 
> 1. My question is that why is there a difference between the 2 OSs ?
> 2. Does XP have resource allocation lower limits than win2k3 server ?
> 3. How can this be overcome ? (some OS settings ..)

I have no idea if that helps, but it could be related to the Windows
subsystem settings in the registry There are three values in an argument
called SharedSection which define default heap sizes.  The third one is
the value which would influence a sshd started as service.  See
http://support.microsoft.com/kb/184802


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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