Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 11 Jul 2001 10:27:53 -0700 (PDT) Message-Id: <20010711.102753.133290207.Takaaki.Ota@am.sony.com> To: cygwin AT cygwin DOT com Subject: Re: 1.3.2 : Fork + Sleep = problem From: Tak Ota In-Reply-To: <20010711185151.D29127@cygbert.vinschen.de> References: <20010711131906 DOT K8578 AT cygbert DOT vinschen DOT de> <20010711 DOT 080113 DOT 96771529 DOT Takaaki DOT Ota AT am DOT sony DOT com> <20010711185151 DOT D29127 AT cygbert DOT vinschen DOT de> X-Mailer: Mew version 2.0 pre1 on Emacs 21.0.103.1 / Mule 5.0 (SAKAKI) X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 Organization: Sony Electronics Inc. Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit I see. Thanks for the additional explanation. -Tak On Wed, 11 Jul 2001 18:51:51 +0200, Corinna Vinschen wrote: > On Wed, Jul 11, 2001 at 08:01:13AM -0700, Tak Ota wrote: > > On Wed, 11 Jul 2001 13:19:06 +0200, Corinna Vinschen wrote: > > > > > Since you only fork() but never wait(), your children processes > > > become zombies. The zombie list per process is fixed to ... 64 entries. > > > > Then why doesn't fork() start returning -1 when the number of zombie > > reaches maximum count? And why does sleep get affected by this? > > Since that's the flaw in Cygwin I mentioned. The effect to sleep() was > basically due to writing over an array boundary which has reproducably > hit another signal related variable. > > Unfortunately you'll have to wait for 1.3.3 or take a developers > snapshot to get the fixed behaviour. > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Developer mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/