This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: Services stopping - CLARIFICATION - overflowed cygwin thread pool


This article
(http://archives.postgresql.org/pgsql-cygwin/2003-08/msg00047.php) talks
about a hard limit of 63 processes due to the fork implementation.  Is this
still the case?  Will changing the MAXIMUM_WAIT_OBJECTS in winbase.h break
everything?

Thanks... 

-----Original Message-----
From: Rob Bosch [mailto:robbosch@msn.com] 
Sent: Tuesday, September 12, 2006 11:25 PM
To: 'cygwin@cygwin.com'
Subject: FW: Services stopping/dying under load - CLARIFICATION - overflowed
cygwin thread pool

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@msn.com] 
Sent: Tuesday, September 12, 2006 7:53 AM
To: 'cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]