delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/03/12:25:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E3A233858D3C
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=pdinc.us
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=pdinc.us
DKIM-Filter: OpenDKIM Filter v2.11.0 mail2.pdinc.us 193GPIIV004824
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdinc.us; s=default;
t=1633278319; bh=B/i4xE0/unxzWp/IJ2Hb16R6HdJfVa5njR2cx92QyCo=;
h=From:To:Subject:Date:From;
b=lwOKVMk26or+BX2f4A1TRMs7wNnimKjaIy5M6sG2/0cUOsgZwlykZjZb8Oe89cT2i
/abzTXrQFHLYZrOJKS45I97nXDCGJ93z6Eqyl04D6Z+pJhS/KNUW0yjGPZehRfE33x
/G0aHgCxFv98THX5alLBIWjKcEkjvky+ZEZO018QkxOl8FcQ8H88R2r6nWW1vlPuc7
W10Oml58Hpcvj1ao8pQcUCDH1fAe2TnTEVgGHBIJI+uM1YSu3zPxPRILw+UF5zUNrO
Q81VxE2yrPYHse8M8V/IV8ZzBmLI3459bxFDsht3P8F4VU6jVs9UodJuI6FWizKAwl
xBEHgYMvNulLg==
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
Subject: is there a limit on how many mintty terminals can be open at once?
Date: Sun, 3 Oct 2021 12:25:15 -0400
Organization: PD Inc
Message-ID: <0f3a01d7b873$3fa7f280$bef7d780$@pdinc.us>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: Ade4cy0Y756GF4ATSdaZLjdBGIWSoQ==
X-Spam-Status: No, score=1.0 required=5.0 tests=BAYES_50, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, SPF_HELO_PASS,
SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Level: *
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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?

Can the limit be configured?

$ ps -f | grep mintty | wc -l
42

$ dir /dev/ | grep pty | wc -l
46


CYGWIN_NT-10.0 hostname 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin

v/r,

Jason Pyeron

--
Jason Pyeron  | Architect
PD Inc        | Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason DOT j DOT pyeron DOT ctr AT mail DOT mil
.com: jpyeron AT pdinc DOT us
tel : 202-741-9397




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

- Raw text -


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