X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org From: "Walker, Leon E" To: "'cygwin AT cygwin DOT com'" Subject: Forks paralysing the CYGWIN system... Date: Sun, 2 Sep 2012 15:23:02 +0000 Message-ID: <501B5C75C69C9B4EA832DDD95302EFFA81BA97FE@ICT-EXMBX-2.lsbu.ac.uk> References: <501B5C75C69C9B4EA832DDD95302EFFA81BA97AE AT ICT-EXMBX-2 DOT lsbu DOT ac DOT uk> In-Reply-To: <501B5C75C69C9B4EA832DDD95302EFFA81BA97AE@ICT-EXMBX-2.lsbu.ac.uk> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q82FNWQx006542 Hi CYGWIN, I may be able to shed further light on the fork problems I have been experiencing. I think it has to do with the number of CYGWIN processes on the system as I was monitoring during one of the fork storms as it were. I think the system is running out of a resource such as Process Control Blocks or File Control Blocks or file handles or something like that. This comes as a bit of surprise because I'm running on 64-bit Windows Server 2008 with 8Gb and seemingly has ample resources but then again perhaps there is parameter In windows or in CYGWIN to increase the limits... if we can identify which resource is running low? It also occurred to me whether it was possible to change the CYGWIN code so that if the forks fails say for the condition identified earlier, would it be possible to instead of issuing a messages and possibly disrupting the running script, the code could be modified to silently wait internally until the fork succeeds? Leon. . -- 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