delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/13/01:25:38

X-Spam-Check-By: sourceware.org
Message-ID: <BAY109-DAV14717FD32BA577E346B971CF280@phx.gbl>
X-Sender: robbosch AT msn DOT com
From: "Rob Bosch" <robbosch AT msn DOT com>
To: <cygwin AT cygwin DOT com>
Subject: FW: Services stopping/dying under load - CLARIFICATION - overflowed cygwin thread pool
Date: Tue, 12 Sep 2006 23:25:18 -0600
Message-ID: <000301c6d6f5$00225760$0300a8c0@iPremise.local>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

I have done some additional debugging and found that SSH is throwing the
following exception:

887734468 [main] sshd 3316 PATH\sshd.exe: *** fatal error - PATH\sshd.exe:
*** overflowed cygwin thread pool

The error says I'm running out of threads and this makes sense since sshd is
generating a lot of threads when the processes fail.  There is plenty of
memory and resources on the machine however.  How can I increase the number
of threads available?  Does this have to be done at compile time or is it
something I can "configure" in the package?

-----Original Message-----
From: Rob Bosch [mailto:robbosch AT msn DOT com] 
Sent: Tuesday, September 12, 2006 7:53 AM
To: 'cygwin AT cygwin DOT com'
Subject: Services stopping/dying under load

Using cygwin1.dll from cvs checked out on 9/8.  I built rsync using the
cygwin development package from cvs and also have openssh (not recompiled)
from cygwin package 1.5.21-1.  Both these are running as services on Windows
2003 SP1 x64 using cygrunsrv.  Under load, both the processes die.  An
example would be when 10-15 simultaneous ssh and/or rsync sessions are
attempted.  All rsync sessions are running over ssh tunnels.

Any suggestions on why this would be occurring?  Anything in the latest cvs
version that may address the problem?  The logs for rsync and ssh don't show
any errors, they just stop.  Each of the daemon processes is spawning forks
for each connection.

At first I thought maybe it was the package but I'm seeing both processes
die so I thought I'd check here as well.


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

- Raw text -


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