www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/30/12:45:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 30 Jul 2009 18:45:20 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Emacs can't start-process more than 30~40 processes
Message-ID: <20090730164520.GA17582@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <83iqhlbgoc DOT fsf AT gmail DOT com> <4A6727A8 DOT 2090905 AT cornell DOT edu> <83iqhkur2h DOT fsf AT gmail DOT com> <834osy98jo DOT fsf_-_ AT gmail DOT com> <83tz0xtt6c DOT fsf AT gmail DOT com> <20090729023256 DOT GC11458 AT ednor DOT casa DOT cgf DOT cx> <838wi8vt9v DOT fsf AT gmail DOT com> <20090729232522 DOT GC13645 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20090729232522.GC13645@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jul 29 19:25, Christopher Faylor wrote:
> On Wed, Jul 29, 2009 at 03:32:28PM +0800, Haojun Bao wrote:
> >Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> writes:
> >
> >> On Tue, Jul 28, 2009 at 10:52:44AM +0800, Haojun Bao wrote:
> >>>I have debugged it again, and I think I have more clue. I have read the
> >>>how-cygheap-works.txt, and this might be a known problem.
> >>>[...]
> >> it is a "small" number then something is wrong and we're allocating too
> >> much of the cygheap.  The cygheap was always supposed to be relatively
> >> small.  Maybe we're abusing it too much in 1.7.
> >
> >There are quite some fds. In start-process, emacs will allocate 1 PTY
> >and 1 pipe for each process it starts.
> 
> Yes, I assumed that there were a bunch of fds but I was looking for an
> exact number rather than "quite some".  I can't give exact details about
> how to find the number now but I thought that since you were looking at
> the code it wouldn't be too hard to figure this value out.
> 
> Anyway, Corinna has a stopgap fix for this which will probably show up
> in a 1.7.0-* release sometime soon.

The stopgap fix is in 1.7.0-53.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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