X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E85183858426 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1633291181; bh=cm6F0I/VHZYGiGS/bGGD/8U17YDUyuf7ugs1L6cX/VA=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ODwem4Dlh+HfmBYDMuiPGHDbAto4eQNa/ot92PKWQWn0vsO6BPNaKbZcKy5f4wGDl XFkRLoOW17bI1ebdoUr2nWQLsVEcZOsc7VOGiNopvKd7CZAPoZZ+kJCA7LtxfRQ2Yo 9FmFSVK+DeD0EGwEROTPR8ACl/4OGmhDKfmrpbCc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 12E8D3858D39 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 193JwBNg000683 X-Nifty-SrcIP: [110.4.221.123] Date: Mon, 4 Oct 2021 04:58:17 +0900 To: cygwin AT cygwin DOT com Subject: Re: is there a limit on how many mintty terminals can be open at once? Message-Id: <20211004045817.a9973070199874e420909fcd@nifty.ne.jp> In-Reply-To: <0f3a01d7b873$3fa7f280$bef7d780$@pdinc.us> References: <0f3a01d7b873$3fa7f280$bef7d780$@pdinc.us> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Sun, 3 Oct 2021 12:25:15 -0400 "Jason Pyeron" wrote: > I got the "Error: Could not fork child process: There are no available terminals (-1)" error. > > Closing N minty terminals allowed me to open exactly N more. > > My google fu is poor, since I cannot seem to find relevant pages. > > What is the limit? In current cygwin, maximum number of pty is 128. It is hard coded and not configurable by user. https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/tty.h#l15 -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple