X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100224122149.GC5683@calimero.vinschen.de>
References: <6d19fbfd1002232032q38cbbd95h2d85cac48badacad@mail.gmail.com> 	 <20100224104851.GB29779@calimero.vinschen.de> 	 <6d19fbfd1002240317u7774ac4fxc8598cd20a1cc47f@mail.gmail.com> 	 <20100224122149.GC5683@calimero.vinschen.de>
Date: Thu, 25 Feb 2010 17:07:52 +0530
Message-ID: <6d19fbfd1002250337y178375f0r9004366a7b2b4a32@mail.gmail.com>
Subject: Re: Max no of parallel SSH sessions with Cygwin SSHD
From: Girish Sadhani <girishss86@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Hi Corrina,

After the change in the registry keys i was able to create 78 parallel
sessions, approximately double of the earlier 38. I have the value set
to 1024 to the earlier 512.

Thanks a lot !

On Wed, Feb 24, 2010 at 5:51 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> On Feb 24 16:47, Girish Sadhani wrote:
>> Hi Corinna,
>>
>> the following error was logged in the sshd.log :
>>
>> 2 [main] sshd 7140 d:\Sygwin\usr\sbin\sshd.exe: *** fatal error -
>> could not load user32, Win32 error 1114
>>
>> I tried to google this but could not make too much sense of the error.
>> Its supposed to be a failure of a dll initialization.
>>
>> And this occurs only after the sessions limit mentioned earlier are reac=
hed.
>
> Yes. =A0See the URL I sent in my first reply.
>
>>
>> On Wed, Feb 24, 2010 at 4:18 PM, Corinna Vinschen
>> <corinna-cygwin@cygwin.com> wrote:
>> > 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 argume=
nt
>> > called SharedSection which define default heap sizes. =A0The third one=
 is
>> > the value which would influence a sshd started as service. =A0See
>> > http://support.microsoft.com/kb/184802
>
>
> Corinna
>
> --
> Corinna Vinschen =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Please, send mails re=
garding Cygwin to
> Cygwin Project Co-Leader =A0 =A0 =A0 =A0 =A0cygwin AT cygwin DOT com
> Red Hat
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>



--=20
Regards,
Girish. S. Sadhani

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

