delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/02/11:23:37

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" <walkerle AT lsbu DOT ac DOT uk>
To: "'cygwin AT cygwin DOT com'" <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>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
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


- Raw text -


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