X-Spam-Check-By: sourceware.org Message-ID: X-Sender: robbosch AT msn DOT com From: "Rob Bosch" To: Subject: FW: Services stopping - CLARIFICATION - overflowed cygwin thread pool Date: Tue, 12 Sep 2006 23:42:43 -0600 Message-ID: <000401c6d6f7$6f21f380$0300a8c0@iPremise.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT msn DOT com] Sent: Tuesday, September 12, 2006 11:25 PM To: 'cygwin AT cygwin DOT 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 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/